MCPcopy
hub / github.com/CadQuery/cadquery / toNURBS

Method toNURBS

cadquery/occ_impl/shapes.py:1666–1673  ·  view source on GitHub ↗

Return a NURBS representation of a given shape.

(self: T,)

Source from the content-addressed store, hash-verified

1664 return self.__class__(result)
1665
1666 def toNURBS(self: T,) -> T:
1667 """
1668 Return a NURBS representation of a given shape.
1669 """
1670
1671 bldr = BRepBuilderAPI_NurbsConvert(self.wrapped, Copy=True)
1672
1673 return self.__class__(bldr.Shape())
1674
1675 def toVtkPolyData(
1676 self,

Callers 6

extendMethod · 0.80
showablesFunction · 0.80
plane_faceFunction · 0.80
test_show_nurbsFunction · 0.80
test_ctrlPtsFunction · 0.80
test_styleFunction · 0.80

Calls

no outgoing calls

Tested by 5

showablesFunction · 0.64
plane_faceFunction · 0.64
test_show_nurbsFunction · 0.64
test_ctrlPtsFunction · 0.64
test_styleFunction · 0.64