1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00

scale x, y

This commit is contained in:
Justin Lin
2019-10-31 21:44:49 +08:00
parent 4e463a51f3
commit 16f6fcfbb6

View File

@@ -1,17 +1,3 @@
include <polysections.scad>;
include <util/reverse.scad>;
thickness = 0.05;
theta_from = PI * 1.75;
theta_to = PI * 15;
theta_step = 0.05;
rf_to = 1;
rf_step = 0.025;
color("red") rose();
module rose() {
function phi(theta) =
(PI / 2) * exp(-theta / (8 * PI));
@@ -46,7 +32,7 @@ module rose() {
concat(
[
for(p = path)
p - [0, 0, thickness]
[p[0] * 1.05, p[1] * 1.05, p[2]] - [0, 0, thickness]
],
reverse(path)
)