if length of an edge is less than the tolerace

while using ConnectEdgesToWires, what if the tolerance value is greater than the length of edge itself.in such cases those edges are put into a different wire,whereas it belongs to the same wire!
how to solve this??

please help!

Divya's picture

Hi all!
if someone has an idea about this please reply.
The set of edges has a few very small edges,which when grouped into wires is put into a new wire whereas they belong to the same wire(previous wire)!
can anybody tell me whats wrong here!!

Marco Matt's picture

Try to change the tolerance of the vertex of your small edges before building the wire.

Marco Matt's picture

The tolerance of the vertex should be less than the length of the small edges.
To change tolerance use BRep_Builder.UpdateVertex()