mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-10 00:36:40 +02:00
add shape
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user