MCPcopy Create free account
hub / github.com/CADacombs/rhinopython / tryGetPrimitiveShape

Method tryGetPrimitiveShape

xPrimitiveShape.py:764–805  ·  view source on GitHub ↗

Updated in May of 2019. Based on hasPrimitiveShape. Returns: On Success (regardless if primitive is found): tuple: ( tuple: (rg.Plane or rg.Cylinder or rg.Cone or rg.Sphere or rg.Torus,

(rgFace0, bMatchToShrunkFace=True, bPlane=True, bCylinder=True, bCone=True, bSphere=True, bTorus=True, fTolerance=1e-9, bDebug=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

tryGetPlaneMethod · 0.45
tryGetRoundPrimitiveMethod · 0.45

Tested by

no test coverage detected