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

Method exportSvg

cadquery/cq.py:1043–1051  ·  view source on GitHub ↗

Exports the first item on the stack as an SVG file For testing purposes mainly. :param fileName: the filename to export, absolute path to the file

(self, fileName: str)

Source from the content-addressed store, hash-verified

1041 return getSVG(self.val(), opts)
1042
1043 def exportSvg(self, fileName: str) -> None:
1044 """
1045 Exports the first item on the stack as an SVG file
1046
1047 For testing purposes mainly.
1048
1049 :param fileName: the filename to export, absolute path to the file
1050 """
1051 exportSVG(self, fileName)
1052
1053 def rotateAboutCenter(self: T, axisEndPoint: VectorLike, angleDegrees: float) -> T:
1054 """

Callers 1

saveModelMethod · 0.80

Calls 1

exportSVGFunction · 0.85

Tested by 1

saveModelMethod · 0.64