Thingiverse
parameterized hexagonal mesh
0
Download
2
Likes
0
Makes
This model is a parameterized hexagonal mesh. I offer it primarily for training purposes with OpenSCAD.
This code was written intended as a negative in another object
skills demonstrated in this code:
- looping with `for`
- if
- rotate
- translate
- using cylinders with $fn=n$ as regular n-gons
- modules calling modules
- default argument values
amazingly, this code doesn't use any globals!
---
suggested exercises:
- modify the code so that it lets you specify any number of columns, not just pairs of them
- modify the code so that the thickness of the hexes is a function of their position in the grid
This code was written intended as a negative in another object
skills demonstrated in this code:
- looping with `for`
- if
- rotate
- translate
- using cylinders with $fn=n$ as regular n-gons
- modules calling modules
- default argument values
amazingly, this code doesn't use any globals!
---
suggested exercises:
- modify the code so that it lets you specify any number of columns, not just pairs of them
- modify the code so that the thickness of the hexes is a function of their position in the grid
Hai stampato questo modello? Accedi e condividi il tuo make!
Accedi per lasciare un commento
AccediAncora nessun commento – sii il primo!