mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 14:27:45 +02:00
change scale
This commit is contained in:
@@ -27,6 +27,7 @@ module rose() {
|
|||||||
let(angle = phi(theta) * 180 / PI)
|
let(angle = phi(theta) * 180 / PI)
|
||||||
wave(theta) * (rf * sin(angle) + g(rf, theta) * cos(angle));
|
wave(theta) * (rf * sin(angle) + g(rf, theta) * cos(angle));
|
||||||
|
|
||||||
|
sf = 1 + thickness;
|
||||||
sections = [
|
sections = [
|
||||||
for(theta = [theta_from:theta_step:theta_to])
|
for(theta = [theta_from:theta_step:theta_to])
|
||||||
let(
|
let(
|
||||||
@@ -46,7 +47,7 @@ module rose() {
|
|||||||
concat(
|
concat(
|
||||||
[
|
[
|
||||||
for(p = path)
|
for(p = path)
|
||||||
[p[0] * 1.05, p[1] * 1.05, p[2]] - [0, 0, thickness]
|
[p[0] * sf, p[1] * sf, p[2]] - [0, 0, thickness]
|
||||||
],
|
],
|
||||||
reverse(path)
|
reverse(path)
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user