diff --git a/examples/Basics/children.scad b/examples/Advanced/children.scad similarity index 100% rename from examples/Basics/children.scad rename to examples/Advanced/children.scad diff --git a/examples/Basics/children_indexed.scad b/examples/Advanced/children_indexed.scad similarity index 100% rename from examples/Basics/children_indexed.scad rename to examples/Advanced/children_indexed.scad diff --git a/examples/Basics/surface_image.png b/examples/Advanced/surface_image.png similarity index 100% rename from examples/Basics/surface_image.png rename to examples/Advanced/surface_image.png diff --git a/examples/Basics/surface_image.scad b/examples/Advanced/surface_image.scad similarity index 100% rename from examples/Basics/surface_image.scad rename to examples/Advanced/surface_image.scad diff --git a/examples/Basics/translate.scad b/examples/Basics/translate.scad deleted file mode 100644 index a7c8fe9e..00000000 --- a/examples/Basics/translate.scad +++ /dev/null @@ -1,37 +0,0 @@ -// translate.scad - Example for translate() usage in OpenSCAD - -echo(version=version()); - -module example_translate() -{ - translate([0, 0, -120]) { - difference() { - cylinder(h = 50, r = 100); - translate([0, 0, 10]) cylinder(h = 50, r = 80); - translate([100, 0, 35]) cube(50, center = true); - } - for (i = [0:5]) { - echo(360*i/6, sin(360*i/6)*80, cos(360*i/6)*80); - translate([sin(360*i/6)*80, cos(360*i/6)*80, 0 ]) - cylinder(h = 200, r=10); - } - translate([0, 0, 200]) - cylinder(h = 80, r1 = 120, r2 = 0); - } -} - -example_translate(); - - - -// Written by Clifford Wolf and Marius -// Kintel -// -// To the extent possible under law, the author(s) have dedicated all -// copyright and related and neighboring rights to this software to the -// public domain worldwide. This software is distributed without any -// warranty. -// -// You should have received a copy of the CC0 Public Domain -// Dedication along with this software. -// If not, see . diff --git a/examples/Basics/union.scad b/examples/Basics/union.scad deleted file mode 100644 index 681c5823..00000000 --- a/examples/Basics/union.scad +++ /dev/null @@ -1,36 +0,0 @@ -// union.scad - Example for union() usage in OpenSCAD - -echo(version=version()); - -module example_union() -{ - difference() { - union() { - cube([30, 30, 30], center = true); - cube([40, 15, 15], center = true); - cube([15, 40, 15], center = true); - cube([15, 15, 40], center = true); - } - union() { - cube([50, 10, 10], center = true); - cube([10, 50, 10], center = true); - cube([10, 10, 50], center = true); - } - } -} - -example_union(); - - - -// Written by Clifford Wolf and Marius -// Kintel -// -// To the extent possible under law, the author(s) have dedicated all -// copyright and related and neighboring rights to this software to the -// public domain worldwide. This software is distributed without any -// warranty. -// -// You should have received a copy of the CC0 Public Domain -// Dedication along with this software. -// If not, see . diff --git a/examples/examples.json b/examples/examples.json index 3a144837..ad83f805 100644 --- a/examples/examples.json +++ b/examples/examples.json @@ -5,19 +5,15 @@ "CSG.scad", "CSG-modules.scad", "logo_and_text.scad", - "children.scad", - "children_indexed.scad", "linear_extrude.scad", "rotate_extrude.scad", - "surface_image.scad", "text_on_cube.scad", "projection.scad", - "surface.scad", - "translate.scad", - "union.scad" + "surface.scad" ], "Functions": [ "functions.scad", + "list_comprehensions.scad", "recursion.scad" ], "Shapes": [ @@ -35,6 +31,9 @@ "text.scad" ], "Advanced": [ + "surface_image.scad", + "children.scad", + "children_indexed.scad", "advance_intersection.scad", "animation.scad", "demo_cut.scad",