Import OpenSCAD code: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 17: Line 17:


== Installing OpenSCAD == <!--T:3-->
== Installing OpenSCAD == <!--T:3-->
Mac Users could download the binaries from the homepage.<br />
Mac Users could download the binaries from the [http://www.openscad.org/ OpenSCAD homepage].<br />
Linux Ubuntu/Mint users can install from the system repositories or from the homepage<br />
Linux Ubuntu/Mint users can install from the system repositories or from the [http://www.openscad.org/ OpenSCAD homepage].<br />
Windows users can download the program from the [http://www.openscad.org/ OpenSCAD homepage].<br />
Linux (Debian) users<br />
Since only the OpenSCAD executable is needed by FreeCAD windows users can install the portable version if they like.<br />
Linux (Open SUSE) users<br />
Windows users can download the program from the OpenSCAD homepage.<br />
Since only the OpenSCAD executable is needed by FreeCAD windows users can install the portable version.<br />


== Configuring OpenSCAD workbench in FreeCAD == <!--T:4-->
== Configuring OpenSCAD workbench in FreeCAD == <!--T:4-->

Revision as of 15:51, 17 July 2016

Tutorial
Topic
Import OpenSCAD code
Level
Beginner
Time to complete
30 minutes
Authors
r-frank
FreeCAD version
0.16.6703
Example files
See also
None

Introduction

OpenSCAD is a 3D CAD programm using the same geometric core as FreeCAD (OCCT).
But while FreeCAD uses a visual approach OpenSCAD uses a programming interface to perform 3D operations.
The OpenSCAD workbench can be used to import OpenSCAD object code and to have access to some of the
mesh operations possible with OpenSCAD.

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
    • bla
    • bla

The sample model

Importing the model in FreeCAD