Edit:21 févr. 2020, Cre:18 oct. 2019
Install and use OpenSCAD Applications
A parametric modeler
How to install and use OpenSCAD applications and simulations that I published on GitHub?
Some OpenSCAD functions allow creation of dynamic simulations. Since the 'Customizer' panel addition, an end-user can modify a model parameters without program editing.
It shall be understood that in applications/simulations that I published, OpenSCAD is only the 'engine' and those applications are totally separated from this engine. To write and read a text, you need a text processor. To create and visualize a 3D model, you need a CAD software. The difference between an OpenSCAD application and usual software you are accustomed to is that the OpenSCAD application/model is not compacted in a single file but is practically a full directory. You shall then download an OpenSCAD application as a zip file to be expanded in your chosen directory path.
The GitHub website is originally devised to archive software and ease update and collective work. This is a rtemarkable tool but its ergonomy is not well adapted for end-users. Using this website for CAD model storage is a bit of a misuse that explains the complexity.
The first thing to do is to install OpenSCAD first, following a classic software installation process. There are 'official' versions, but development snapshots have always proved reliable and it is preferable to use them because they are constantly evolving.
To download an application, you have to go to my GitHub list of applications here:
In the list of models and applications, you make your choice
Going to take a look at the file 'readme_first.txt' can bring you some information, and to download you click on the button on the far right [Clone or Download]
This opens a small window where you have a link [Download ZIP] to click
The click starts the download and you must save the 'zip' file according to the procedure set on your browser. Github offers you to register or log in, it is of no interest to you.
Once the zip file has been downloaded, you must install its contents in a directory located anywhere on your computer, with the name of your choice. Be careful, OpenSCAD has problems with blanks and special characters, so the full path should not contain any of these characters. Opening the 'zip' file is not sufficient, you shall copy its content in a directory.
You do not need the program editor and you need the customization panel, options that you select by opening the [View] menu
To have the interface of the personalization panel clean, you must set the display of variable names with [Show details] by selecting the option [Description only]. As a Bonus, this action will launch the compilation with the default settings.
Otherwise, the traditional way to launch a compilation is to click on the appropriate button or the [F5] key
Here it is, the default template is displayed, the display time varies a lot according to the templates, but the chosen example is displayed in less than a second (for some templates, it is much longer)
You can then start setting up the model. To look nice, we will display the cyclist and the transmission here by selecting the [Display] tab and checking the appropriate options.
The[Dimensions] tab gives you access to some parameters and here we modify the diameter of the front wheels (559, it is the official ETRTO value of the 26" wheels)
In general, you will find additional information about the file "Readme_first.txt" (it is the same one you consulted at the beginning, but you now have a copy on your computer).
You will also often have a folder[Images] with screenshots to show you what can be done with the application.
There is always a default set of parameters but some applications have different sets of parameters that you can select, new preview is automatic after selection. The compilation here takes 4 seconds on my old desktop computer (i5-680).
After making changes, you can create your own parameter sets. A new set is created by clicking on the [+] button and giving it a name. You can create as many sets as you want.
After changing the settings, you must click on the[save preset] button, as nothing is saved by default.
Once you are happy with your design, on some applications, you shall have a look on the final plans (the blueprint), so you select the appropriate view in the [Display] tab. Here we will have a look to the geometry blueprint. This is a projection which needs some calculation and you have to wait a few seconds to get it (here the view required 32 seconds). This view is on a plane, so you shall select the [View from top] button and zoom in/out, you may be helped by the button [View all]. The screenshot is what you have after all these operations