3d_print/Sasza/bron/cz457/klamra_na_pasek_5cm.scad

26 lines
409 B
OpenSCAD

include <BOSL2/std.scad>
pas_w = 50;
pas_l = 5;
dlugosc = 25;
t = 5;
r = 1.5;
$slop = 1;
$fa = 6;
$fs = 0.2;
path = [
[ pas_w/2 + $slop, 0],
[ pas_w/2 + $slop, -pas_l],
[ 0, -dlugosc],
[-pas_w/2 - $slop, -pas_l],
[-pas_w/2 - $slop, 0],
];
path_sweep2d(
rect(t, rounding=r), // Cross-section profile
path, // Rounded path trajectory
style="alt",
closed = true
);