You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
487 B
21 lines
487 B
3 years ago
|
# Helix with radius s, inner radius 2s
|
||
|
|
||
|
define @b (3 * s) / 2
|
||
|
define @a @b / π
|
||
|
|
||
|
-4*s <= x <= 4*s
|
||
|
-4*s <= y <= 4*s
|
||
|
-s <= z <= 2*s
|
||
|
|
||
|
{(ρ - 3*s)^2 + (z - @b - (@a * φ))^2 <= s^2 \
|
||
|
∨ \
|
||
|
(ρ - 3*s)^2 + (z - 3*s - @b - (@a * φ))^2 <= s^2 \
|
||
|
∨ \
|
||
|
(ρ - 3*s)^2 + (z + 3*s - @b - (@a * φ))^2 <= s^2} \
|
||
|
⊻ \
|
||
|
{(ρ - 3*s)^2 + (z - @b - (@a * φ))^2 <= (s-1)^2 \
|
||
|
∨ \
|
||
|
(ρ - 3*s)^2 + (z - 3*s - @b - (@a * φ))^2 <= (s-1)^2 \
|
||
|
∨ \
|
||
|
(ρ - 3*s)^2 + (z + 3*s - @b - (@a * φ))^2 <= (s-1)^2}
|