From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Asymptote and the translation is 8% complete.
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎polski


Asymptote is a vector language for 2D and 3D computer graphics. Asymptote code can be included in LaTeX documents or used to generate PostScript, PDF, SVG, WebGL, and PRC files. Interactive 3D PDF files created from Asymptote code require Acrobat Reader version 9 or higher.

Asymptote support was added in FreeCAD version 0.19.


  1. Optionally assign colors to the faces of the object you want to export with the Part FaceColors.svg Part FaceColors command.
  2. Change to the Workbench Mesh.svg Mesh Workbench.
  3. Create a mesh from the object with the Mesh FromPartShape.svg Mesh FromPartShape command.
  4. Select the new mesh object.
  5. Invoke the Mesh Export.svg Mesh Export command.
  6. Select the *.asy file format in the dialog box.
  7. Enter a filename.
  8. Press the Save button.


You need the Asymptote compiler to convert *.asy files. To convert to PDF a LaTeX system is also required.

The compiler is a command line tool. To covert to PDF you can use this syntax:

PathToAsyExecutable/asy -f pdf AsymptoteFileName.asy


Video tutorials

The following videos are in Spanish: