SCAD Crash Course 101
Get started with SCAD, a programming language to generate 3D STL models from code
You can do it!Programming can seem very complicated at first glance. But it is not! Take your time and don't worry if you don't understand everything straight away. Rome wasn't built in a day either! By the way: We recommend to install OpenSCAD on your computer if you want to create your own SCAD scripts.
Basic Shapes
Click through the examples. Read the code carefully and try to understand what is happening.
Variables
The same examples with variables. Variables are simply words to which a value is assigned. Click on Customize to change the values.
Operations
You can use operations to create new shapes from various other shapes.
Translations
Translations are used to move shapes.
Rotations
Rotations are used to rotate shapes.
Custom Bricks
With the above knowledge you can create custom LEGO® compatible bricks like these.
Congratulations!If you have understood the examples above, you already have a good understanding of how SCAD works. You probably also have an idea of how we created the MachineBlocks LEGO® compatible STL generator.