kennetek / gridfinity-rebuilt-openscad

A ground-up rebuild of the stock gridfinity bins in OpenSCAD
Other
1.13k stars 164 forks source link

Use Affine Transformation Matrices For sweep_rounded #175

Closed EmperorArthur closed 2 months ago

EmperorArthur commented 3 months ago

Uses affine transformations / multimatrix to sweep the wall profile along a path.

This is more math, but results in a flatter AST. Additional comments increase readability.

Also moved these generic helper functions to a separate file.

https://en.wikipedia.org/wiki/Affine_transformation

EmperorArthur commented 3 months ago

Forgot this was based on the Stacking lip branch. I can break it apart if anyone wants me to.