repo cleanup + MCU lectures 13-02-2025

This commit is contained in:
2025-02-14 10:49:55 +01:00
parent dc0cf71a5a
commit 947cd9d7ba
59 changed files with 463 additions and 181 deletions

View File

@@ -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
![alt text](image.jpg)
![alt text](../../assets/assets_week_3/image.jpg)
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
![alt text](image-1.jpg)
![alt text](../../assets/assets_week_3/image-1.jpg)
You can declare variables by name=value;
Example:
![alt text](image-2.jpg)
![alt text](../../assets/assets_week_3/image-2.jpg)
You can also do equations in openScad
![alt text](image-3.jpg)
![alt text](../../assets/assets_week_3/image-3.jpg)
The order of declaring variables matters. I found that out the hard way. because some variable wasn't working until I switched order.