I finally know how to efficiently create decorations that are bent along a rounded rectangular path. #openscad #creativecoding #3d #3dprinting
I obviously can combine those effects and apply both. ;)
@matths Are you seriously generating all the triangles with OpenSCAD to polyhedron() it? 🤨 That sounds terribly complicated.
@nobodyinperson turns out it's not that complicated. I'm not the first person to do this either. Sometimes it's called sweep function. It calculates the triangles between each layer from a stack of polygons.

@matths I implemented something similar but with signed distance functions with sdfCAD:

https://gitlab.com/nobodyinperson/sdfcad#rotate_stretch

No idea how I would do it with polygons but okay.

Yann Büchau / sdfCAD · GitLab

Simple 3D mesh generation with Python based on SDFs

GitLab
@nobodyinperson I'm thinking about offering a course, would that be something?
@matths Sounds fun! Like a video tutorial?
@nobodyinperson not sure yet. Open for suggestions.
@matths Video with slow, explained OpenSCAD examples would be rad.
skin.scad

The Belfry OpenScad Library, v2.0. An OpenSCAD library of shapes, masks, and manipulators to make working with OpenSCAD easier. BETA - BelfrySCAD/BOSL2

GitHub
@matths Nice! How?
@hughrawlinson what part of it or everything? I'm thinking about offering a course, would that be something?
@matths yeah I would be interested in a course!
@matths I would be interested in seeing the code for this!
@harris serious question: what would you do with the code when you've seen it?
@matths I don’t have a specific use case for this code, but I always find it interesting seeing other people’s clever OpenSCAD code. It often reveals techniques that come in handy for me at a later time when I encounter a relevant puzzle!
@matths #BOSL2 is a hell of a drug :D
@kauzerei no BOSL2 involved, wrote my own 'sweep' function. But it also gets me hooked.