mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 00:06:42 +02:00
intersection_for if not supported in 2020.12
This commit is contained in:
@@ -25,8 +25,7 @@ module vrn3_from(points, spacing = 1) {
|
||||
function normalize(v) = v / norm(v);
|
||||
|
||||
module space(pt) {
|
||||
intersection_for(p = points) {
|
||||
if(pt != p) {
|
||||
intersection_for(p = [for(p = points) if(pt != p) p]) {
|
||||
v = p - pt;
|
||||
ryz = __angy_angz(p, pt);
|
||||
|
||||
@@ -35,7 +34,6 @@ module vrn3_from(points, spacing = 1) {
|
||||
cube([space_size, double_space_size, double_space_size], center = true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for(p = points) {
|
||||
space(p);
|
||||
|
Reference in New Issue
Block a user