1
0
mirror of https://github.com/Irev-Dev/Round-Anything.git synced 2025-01-16 18:48:14 +01:00
round-anything/examples/mirrorPoints.scad
Kurt Hutten 28814a34a0 Add individual examples
Having one example per file will make for a integration and there
live demo links with CadHub.
Resolves #29.
2021-06-07 07:15:06 +10:00

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));