1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-09 16:26:47 +02:00

add shape

This commit is contained in:
Justin Lin
2021-07-15 11:31:53 +08:00
parent d3a51b280a
commit e855403d7a

View File

@@ -1,13 +1,21 @@
use <ring_extrude.scad>;
use <arc_path.scad>;
use <shape_liquid_splitting.scad>;
$fn = 96;
r = 20;
shape_turns = 3;
shape = arc_path(radius = 15, angle = [0, 120]);
twice_ring_extrude(
arc_path(radius = 15, angle = [0, 120]),
r = 20,
shape_turns = 3
);
twice_ring_extrude(shape, r, shape_turns) ;
translate([100, 0])
twice_ring_extrude(
shape_liquid_splitting(radius = 10, centre_dist = 30),
r = 30,
shape_turns = 4
);
module twice_ring_extrude(shape, r, shape_turns) {
t = 360 * shape_turns;