An interface to find imperfections in the shape. More...
Public Member Functions | |
| def | __init__ (self, shape, geompyD) |
| def | isValid (self) |
| Check whether the shape is applicable for Boolean Operations. More... | |
| def | selfIntersected2D (self) |
| Find all self-intersected 2D curves. More... | |
| def | interferingSubshapes (self, shapeType1=AUTO, shapeType2=AUTO) |
| Find pairs of interfering sub-shapes: More... | |
| def | smallEdges (self) |
| Find edges, which are fully covered by tolerances of vertices. More... | |
| def | distantShapes (self, shapeType=AUTO, subShapeType=AUTO, tolerance=-1.0) |
| Find remote objects (sub-shape on a shape): More... | |
| def | updateTolerance (self) |
| Compute possible tolerance for the shape, minimize tolerance of shape as well as tolerance of sub-shapes as much as possible . More... | |
Data Fields | |
| geompyD | |
| myShape | |
| myIsChecked | |
| myResults | |
Static Public Attributes | |
| int | AUTO = -1 |
Private Member Functions | |
| def | __checkShape (self) |
| Perform analyse of shape. More... | |
An interface to find imperfections in the shape.
Use geompy.CheckConformity(shape) method to obtain an instance of this class
| def __init__ | ( | self, | |
| shape, | |||
| geompyD | |||
| ) |
|
private |
Perform analyse of shape.
References CheckConformity.geompyD, Sketcher3D.geompyD, Sketcher2D.geompyD, Polyline2D.geompyD, CheckConformity.myIsChecked, CheckConformity.myResults, and CheckConformity.myShape.
| def isValid | ( | self | ) |
Check whether the shape is applicable for Boolean Operations.
References CheckConformity.__checkShape(), CheckConformity.myIsChecked, and CheckConformity.myResults.
| def selfIntersected2D | ( | self | ) |
Find all self-intersected 2D curves.
References CheckConformity.__checkShape(), CheckConformity.geompyD, Sketcher3D.geompyD, Sketcher2D.geompyD, Polyline2D.geompyD, CheckConformity.myIsChecked, and CheckConformity.myResults.
Find pairs of interfering sub-shapes:
Types of interfering shapes could be specified, by default all pairs of interfering shapes are returned.
| shapeType1 | first type of shape |
| shapeType2 | second type of shape |
References CheckConformity.__checkShape(), CheckConformity.geompyD, Sketcher3D.geompyD, Sketcher2D.geompyD, Polyline2D.geompyD, CheckConformity.myIsChecked, and CheckConformity.myResults.
| def smallEdges | ( | self | ) |
Find edges, which are fully covered by tolerances of vertices.
References CheckConformity.__checkShape(), CheckConformity.geompyD, Sketcher3D.geompyD, Sketcher2D.geompyD, Polyline2D.geompyD, CheckConformity.myIsChecked, and CheckConformity.myResults.
Find remote objects (sub-shape on a shape):
Sub-shape which are lying far from its parent shape more than the given tolerance.
| shapeType | type of shape |
| subShapeType | type of sub-shape |
| tolerance | available tolerance, by default used tolerance of sub-shape. |
References CheckConformity.__checkShape(), CheckConformity.geompyD, Sketcher3D.geompyD, Sketcher2D.geompyD, Polyline2D.geompyD, CheckConformity.myIsChecked, and CheckConformity.myResults.
| def updateTolerance | ( | self | ) |
Compute possible tolerance for the shape, minimize tolerance of shape as well as tolerance of sub-shapes as much as possible .
References CheckConformity.geompyD, Sketcher3D.geompyD, Sketcher2D.geompyD, Polyline2D.geompyD, and CheckConformity.myShape.
|
static |
| geompyD |
| myShape |
| myIsChecked |
| myResults |