mirror of
https://gitlab.waag.org/make/fablab/interns/2025/sam.git
synced 2025-08-04 04:14:56 +00:00
repo cleanup + MCU lectures 13-02-2025
This commit is contained in:
@@ -19,21 +19,21 @@ everything is a circle or square or triangle. You can make anything with any pri
|
||||
### OpenScad
|
||||
Bas is teaching us how to use OpenScad
|
||||
|
||||

|
||||

|
||||
Everything needs to be within a function because otherwise it won't interact with eachother
|
||||
|
||||
If you place a # you can sort of debug and see where the shape is. Instead of blindly placing things
|
||||
|
||||

|
||||

|
||||
|
||||
You can declare variables by name=value;
|
||||
|
||||
Example:
|
||||

|
||||

|
||||
|
||||
|
||||
You can also do equations in openScad
|
||||

|
||||

|
||||
|
||||
The order of declaring variables matters. I found that out the hard way. because some variable wasn't working until I switched order.
|
||||
|
||||
|
Reference in New Issue
Block a user