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

Method tryGetRoundPrimitive

xPrimitiveShape.py:482–632  ·  view source on GitHub ↗

Updated in May of 2019. Returns a tuple: On success: (rg.Cone, Cylinder, Sphere, or Torus instance), (float: tolerance actually used to obtain shape) On fail: None, None Tolerance up to fTolerance parameter is first tested for a Cylin

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

tryGetRoundPrimitiveFunction · 0.45
tryGetPrimitiveShapeMethod · 0.45
tryGetRoundPrimitiveMethod · 0.45
tryGetPrimitiveShapeMethod · 0.45

Calls 2

isSizeAcceptableMethod · 0.45

Tested by

no test coverage detected