diff --git a/assets/js/LICENSE.d3 b/assets/js/d3/LICENSE.d3 similarity index 100% rename from assets/js/LICENSE.d3 rename to assets/js/d3/LICENSE.d3 diff --git a/assets/js/LICENSE.d3-cloud b/assets/js/d3/LICENSE.d3-cloud similarity index 100% rename from assets/js/LICENSE.d3-cloud rename to assets/js/d3/LICENSE.d3-cloud diff --git a/assets/js/d3.js b/assets/js/d3/d3.js similarity index 100% rename from assets/js/d3.js rename to assets/js/d3/d3.js diff --git a/assets/js/d3.layout.cloud.js b/assets/js/d3/d3.layout.cloud.js similarity index 100% rename from assets/js/d3.layout.cloud.js rename to assets/js/d3/d3.layout.cloud.js diff --git a/howto/MakeCodeParametric.html b/howto/MakeCodeParametric.html index e0f0bab8..32e86b3a 100644 --- a/howto/MakeCodeParametric.html +++ b/howto/MakeCodeParametric.html @@ -9,8 +9,8 @@ - - + + @@ -76,10 +76,10 @@

OpenSCAD - HowTo

Let's setup some reusable functions. First, sum a vector (or a subset of a vector).

-function vecsum(v,until= -1) = [ 
+function vecsum(v,until= -1) = [
     for (
-        a=0, b= v[0]; 
-        a < (until > 0 ? until : len(v)); 
+        a=0, b= v[0];
+        a < (until > 0 ? until : len(v));
         a= a+1, b= b + (v[a] == undef ? 0 : v[a])
     ) b
 ];
@@ -142,8 +142,8 @@ 

OpenSCAD - HowTo

 heights = [ thin_h, wide_h, thin_h ];
 
-module translate_z(v, i) 
-    translate([0, 0, z_offset_from_vec(v, i)]) 
+module translate_z(v, i)
+    translate([0, 0, z_offset_from_vec(v, i)])
         children();
 
 translate_z(heights, 0) thin_cube();
@@ -270,4 +270,4 @@ 

OpenSCAD - HowTo

- \ No newline at end of file +