Results 1 to 6 of 6
Thread: OpenSCAD: Sneaky handy tricks.
Threaded View
-
05-13-2021, 07:27 AM #1
- Join Date
- May 2021
- Location
- Pacific NorthWet
- Posts
- 14
OpenSCAD: Sneaky handy tricks.
Offering one - Asking for 2 more LOL
Partial one as a bonus - I use function i2mm(I) = I * 25.4; in must of my scripts, handles inches to mm conversions for me.
For hexagons like a hexagonal button, use cylinder() with $fn set to 6, you could use $fn set to 8 for octagons etc., devious but works
The two I need help on, are,
a) How would I place hexagonal buttons in regular, offset rows/columns efficiently?
b) For making a floor have alternating color tiles (or the like) I know I could add x and y together, mod 2 if needed, then if even (or 0) pick one tile color, otherwise the other; is there a better way?
Thanks, allLast edited by Mr_Sheesh; 05-13-2021 at 07:30 AM. Reason: Fixing it back into separate sentences, was all concatenated
Ender 3v2 poor printing quality
10-28-2024, 09:08 AM in Tips, Tricks and Tech Help