1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-10-03 17:51:53 +02:00
Files
dotSCAD/undocumented_features/trim_shape_demo.scad
2019-05-30 08:11:34 +08:00

15 lines
428 B
OpenSCAD

include <hull_polyline2d.scad>;
include <trim_shape.scad>;
include <shape_taiwan.scad>;
include <bijection_offset.scad>;
include <midpt_smooth.scad>;
taiwan = shape_taiwan(50);
offseted = bijection_offset(taiwan, -2);
trimmed = trim_shape(offseted, 3, len(offseted) - 6);
smoothed = midpt_smooth(trimmed, 3);
#hull_polyline2d(taiwan, .1);
%translate([25, 0, 0]) hull_polyline2d(offseted, .2);
hull_polyline2d(smoothed, .1);