|
SHAPER
9.15.0
|
Public Member Functions | |
| def | isPlane (self, shape, tolerance, normal=[], origin=[]) |
| def | isSphere (self, shape, tolerance, origin=[], radius=0.0) |
| def | isCone (self, shape, tolerance, axis=[], apex=[], halfAngle=0.0) |
| def | isCylinder (self, shape, tolerance, axis=[], origin=[], radius=0.0) |
| def | isLine (self, edge, tolerance, direction=[], origin=[]) |
| def | isCircle (self, edge, tolerance, normal=[], origin=[], radius=0.0) |
| def | isEllipse (self, edge, tolerance, normal=[], dirX=[], origin=[], majorRadius=0.0, minorRadius=0.0) |
| def | isImplemented (self) |
| def PythonAPI.geom.CanonicalRecognition.CanonicalRecognition.isPlane | ( | self, | |
| shape, | |||
| tolerance, | |||
normal = [], |
|||
origin = [] |
|||
| ) |
Check if shape is planar Usage: > CR.isPlane(shape, tolerance, normal, origin)
| def PythonAPI.geom.CanonicalRecognition.CanonicalRecognition.isSphere | ( | self, | |
| shape, | |||
| tolerance, | |||
origin = [], |
|||
radius = 0.0 |
|||
| ) |
Check if shape is spherical Usage: > CR.isSphere(shape, tolerance, origin, radius)
| def PythonAPI.geom.CanonicalRecognition.CanonicalRecognition.isCone | ( | self, | |
| shape, | |||
| tolerance, | |||
axis = [], |
|||
apex = [], |
|||
halfAngle = 0.0 |
|||
| ) |
Check if shape is conical Usage: > CR.isCone(shape, tolerance, axis, apex, halfAngle)
| def PythonAPI.geom.CanonicalRecognition.CanonicalRecognition.isCylinder | ( | self, | |
| shape, | |||
| tolerance, | |||
axis = [], |
|||
origin = [], |
|||
radius = 0.0 |
|||
| ) |
Check if shape is cylinder Usage: > CR.isCylinder(shape, tolerance, axis, origin, radius)
| def PythonAPI.geom.CanonicalRecognition.CanonicalRecognition.isLine | ( | self, | |
| edge, | |||
| tolerance, | |||
direction = [], |
|||
origin = [] |
|||
| ) |
Check if edge/wire is line Usage: > CR.isLine(edge, tolerance, direction, origin)
| def PythonAPI.geom.CanonicalRecognition.CanonicalRecognition.isCircle | ( | self, | |
| edge, | |||
| tolerance, | |||
normal = [], |
|||
origin = [], |
|||
radius = 0.0 |
|||
| ) |
Check if edge/wire is circle Usage: > CR.isCircle(edge, tolerance, normal, origin, radius)
| def PythonAPI.geom.CanonicalRecognition.CanonicalRecognition.isEllipse | ( | self, | |
| edge, | |||
| tolerance, | |||
normal = [], |
|||
dirX = [], |
|||
origin = [], |
|||
majorRadius = 0.0, |
|||
minorRadius = 0.0 |
|||
| ) |
Check if edge/wire is ellipse Usage: > CR.isEllipse(edge, tolerance, normal, dirX, origin, majorRadius, minorRadius)
| def PythonAPI.geom.CanonicalRecognition.CanonicalRecognition.isImplemented | ( | self | ) |
Check if the CanonicalRecognition is implemented (built with appropriate OCCT version) Usage: > CR.isImplemented()