[Tex/LaTex] Pgf/Tikz: Create figure using CAD-Software

3dtikz-pgf

I have created a 3D model using open source CAD-Software called FreeCad (computer-aided design). I can export step files from it. I would like to include the CAD-Drawing into a LaTeX file, but the standard output is not consistent with the rest of my document. Is there a way to create tikz figures from CAD software files? I would be glad if someone could provide some resources or references for tasks like this.

Here is a link to the FreeCAD Library if someone needs a step file to see if it works.

Best Answer

FreeCAD has the option to export to SVG.

Once you have an SVG version of your drawing, you can proceed by either:

  1. producing a PDF of it and use \includegraphics to import it in your LaTeX document, optionally using TikZ to annotate it or further enrich the contents.
  2. Using svg2tikz to convert the SVG to TikZ code

For manipulation of the SVG itself, I recommend the free Inkscape program.

Related Question