OpenSCAD Code importieren
Tutorium |
Thema |
---|
Import OpenSCAD code |
Niveau |
Beginner |
Zeit zum Abschluss |
30 minutes |
Autoren |
r-frank |
FreeCAD-Version |
0.16.6704 |
Beispieldateien |
Siehe auch |
None |
Einleitung
OpenSCAD ist, wie FreeCAD, ein Open-Source-3D-CAD-Programm. Während FreeCAD einen visuellen Zugang benutzt, verwendet OpenSCAD eine Programmierschnittstelle, um die 3D-Operationen auszuführen. Der OpenSCAD-Arbeitsbereich kann benutzt werden, um OpenSCAD-Objektcode zu importieren und um Zugang zu einigen der mit OpenSCAD möglichen Netzoperationen zu haben.
Installing OpenSCAD
Mac Users could download the binaries from the OpenSCAD homepage.
Linux Ubuntu/Mint users can install from the system repositories or from the OpenSCAD homepage.
Windows users can download the program from the OpenSCAD homepage.
Since only the OpenSCAD executable is needed by FreeCAD, Windows users can install the portable version if they like.
Configuring OpenSCAD workbench in FreeCAD
- Open FreeCAD
- Switch to OpenSCAD workbench
- Choose Edit > Preferences > OpenSCAD from the Top menu
- Point FreeCAD to the OpenSCAD executable (section: General OpenSCAD settings)
- all the other values on the settings-page could be left at default
The sample model
Here we will use the example005.scad-file from the (old) OpenSCAD-examples, but feel free to use any scad-file of your liking.
Importing the model in FreeCAD
- In FreeCAD just choose File → Open and choose the .scad-File you want to import.
- It is not important which workbench is activated, the OpenSCAD workbench itself is only needed when applying special features to your model
- FreeCAD will import the OpenSCAD-File and build up a tree with primitives and boolean operations
- Tutorial finished