Thingiverse
OpenSCAD Wedge Module/Library
by WilliamsOb
32
Downloads
17
Likes
0
Makes
This is a simple and performant library for drawing wedges with no artifacts (e.g. no clipping/mask rectangles or similar) as well as wedges greater than 180 degrees. It does this using polygon() and some hacky-but-elegant flattening and re-creating of the points array.
The module accepts 4 arguments: The radius of which to draw the wedge, the starting and ending angles in degrees, and an optional parameter indicating how many fragments the wedge should have. The final parameter defaults to
The module accepts 4 arguments: The radius of which to draw the wedge, the starting and ending angles in degrees, and an optional parameter indicating how many fragments the wedge should have. The final parameter defaults to
Sign in to leave a comment
Sign in