Class for fixing operations on wires Initializes by wire, face, precision Returns tool for fixing wires Sets all modes to default Clears all statuses Load data for the wire, and drops all fixing statuses Set working face for the wire setSurface(surface, [Placement]) Set surface for the wire Sets the maximal allowed angle of the tails in radians Sets the maximal allowed width of the tails Tells if the wire is loaded Tells if the wire and face are loaded Returns number of edges in the working wire Makes the resulting Wire (by basic Brep_Builder) Makes the resulting Wire (by BRepAPI_MakeWire) Returns working face Iterates on subshapes and performs fixes Performs an analysis and reorders edges in the wire Applies fixSmall(...) to all edges in the wire Applies fixConnected(num) to all edges in the wire Connection between first and last edges is treated only if flag ClosedMode is True If prec is -1 then maxTolerance() is taken. Groups the fixes dealing with 3d and pcurves of the edges Applies fixDegenerated(...) to all edges in the wire Applies FixSelfIntersectingEdge(num) and FixIntersectingEdges(num) to all edges in the wire and FixIntersectingEdges(num1, num2) for all pairs num1 and num2 and removes wrong edges if any Applies FixLacking(num) to all edges in the wire Connection between first and last edges is treated only if flag ClosedMode is True If 'force' is False (default), test for connectness is done with precision of vertex between edges, else it is done with minimal value of vertex tolerance and Analyzer.Precision(). Hence, 'force' will lead to inserting lacking edges in replacement of vertices which have big tolerances. Fixes a wire to be well closed Fixes gaps between ends of 3d curves on adjacent edges Fixes gaps between ends of pcurves on adjacent edges Fixes seam edges Fixes edges which have pcurves shifted by whole parameter range on the closed surface Fixes Notch edges.Check if there are notch edges in 2d and fix it Fixes gap between ends of 3d curves on num-1 and num-th edges Fixes gap between ends of pcurves on num-1 and num-th edges Fixes issues related to 'tails' in the geometry. Tails are typically small, undesired protrusions or deviations in the curves or edges that need correction. This method examines the geometry and applies corrective actions to eliminate or reduce the presence of tails. Mode for modifying topology of the wire Mode for modifying geometry of vertexes and edges Mode for modifying edges Mode which defines whether the wire is to be closed (by calling methods like fixDegenerated() and fixConnected() for last and first edges) Mode which defines whether the 2d 'True' representation of the wire is preferable over 3d one in the case of ambiguity in FixEdgeCurves Mode which defines whether tool tries to fix gaps first by changing curves ranges (i.e. using intersection, extrema, projections) or not Mode which performs an analysis and reorders edges in the wire using class WireOrder. Flag 'theModeBoth' determines the use of miscible mode if necessary. Mode which applies FixSmall(num) to all edges in the wire Mode which applies FixConnected(num) to all edges in the wire Connection between first and last edges is treated only if flag ClosedMode is True If 'prec' is -1 then MaxTolerance() is taken. Mode which groups the fixes dealing with 3d and pcurves of the edges. The order of the fixes and the default behaviour are: ShapeFix_Edge::FixReversed2d ShapeFix_Edge::FixRemovePCurve (only if forced) ShapeFix_Edge::FixAddPCurve ShapeFix_Edge::FixRemoveCurve3d (only if forced) ShapeFix_Edge::FixAddCurve3d FixSeam, FixShifted, ShapeFix_Edge::FixSameParameter Mode which applies FixDegenerated(num) to all edges in the wire Connection between first and last edges is treated only if flag ClosedMode is True Mode which applies FixSelfIntersectingEdge(num) and FixIntersectingEdges(num) to all edges in the wire and FixIntersectingEdges(num1, num2) for all pairs num1 and num2 and removes wrong edges if any Mode which applies FixLacking(num) to all edges in the wire Connection between first and last edges is treated only if flag ClosedMode is True If 'force' is False (default), test for connectness is done with precision of vertex between edges, else it is done with minimal value of vertex tolerance and Analyzer.Precision(). Hence, 'force' will lead to inserting lacking edges in replacement of vertices which have big tolerances. Mode which fixes gaps between ends of 3d curves on adjacent edges myPrecision is used to detect the gaps. Mode whixh fixes gaps between ends of pcurves on adjacent edges myPrecision is used to detect the gaps. Mode which fixes the reversed in 2d Mode which removePCurve in 2d Mode which fixes addCurve in 2d Mode which fixes removeCurve in 3d Mode which fixes addCurve in 3d Mode which fixes Seam Mode which fixes Shifted Mode which fixes sameParameter in 2d Mode which fixes VertexTolerence in 2d Mode which fixes NotchedEdges in 2d Mode which fixes SelfIntersectionEdge in 2d Mode which fixes IntersectingEdges in 2d Mode which fixes NonAdjacentIntersectingEdges in 2d Mode which fixes Tails in 2d