From d4ebb740f69ca9f26c5bbb298bbb8671a5a07520 Mon Sep 17 00:00:00 2001 From: RonaldoCMP Date: Wed, 30 Jun 2021 11:22:48 +0100 Subject: [PATCH] Update vnf_merge --- vnf.scad | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/vnf.scad b/vnf.scad index aed25a5..85cd4d4 100644 --- a/vnf.scad +++ b/vnf.scad @@ -166,16 +166,19 @@ function vnf_merge(vnfs, cleanup=false, eps=EPSILON) = let( faces = vnfs[i][1] ) for (face = faces) if ( len(face) >= 3 ) - [ for (j = face) offs[i] + j ] + [ for (j = face) + assert( j>=0 && j