mirror of
https://github.com/Irev-Dev/Round-Anything.git
synced 2025-01-16 18:48:14 +01:00
28814a34a0
Having one example per file will make for a integration and there live demo links with CadHub. Resolves #29.
11 lines
285 B
OpenSCAD
11 lines
285 B
OpenSCAD
// mirrorPoints example
|
|
|
|
include <Round-Anything-1.0.4/polyround.scad>
|
|
|
|
centerRadius=7;
|
|
points=[[0,0,0],[2,8,0],[5,4,3],[15,10,0.5],[10,2,centerRadius]];
|
|
mirroredPoints=mirrorPoints(points,0,[0,0]);
|
|
linear_extrude(1)
|
|
translate([0,-20,0])
|
|
polygon(polyRound(mirroredPoints,20));
|