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

Method tryGetPrimitiveShape

xPrimitiveShape.py:636–673  ·  view source on GitHub ↗

190722: Routines were split into 2 other functions. Returns a tuple: On success: (rg.Cone, Cylinder, Plane, Sphere, or Torus instance), (float: tolerance actually used to obtain shape) On fail: None, None

(rgSrf0, 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 6

getFacesFunction · 0.45
getFaceShapeFunction · 0.45
getPrimitiveShapedFacesFunction · 0.45
getFacesFunction · 0.45
processBrepFunction · 0.45
constantRadiusOfSurfaceFunction · 0.45

Calls 2

tryGetPlaneMethod · 0.45
tryGetRoundPrimitiveMethod · 0.45

Tested by

no test coverage detected