search results: search.php?keywords=svg+|+pdf+|+drawing ... mit=Search
I couldn't find exactly what I was looking for. The first result seemed promising, providing a simple 3 line macro to export an SVG of a drawing, but when I run it I get an error:
Code: Select all
>>> __objs__=[]
>>> __objs__.append(FreeCAD.getDocument("cargo_bike").getObject("Page001"))
>>> import DrawingGui
>>> DrawingGui.export(__objs__,"/home/user/workspace/cad/output/test.svg")
Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: Export of this object type is not supported by Drawing module
OS: Ubuntu 16.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.10476 (Git)
Build type: None
Branch: master
Hash: b6150097e9cf4d7b0f5ad71f2f8750f2e7aac0d9
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0