minor cleanup

master
Marius Kintel 2015-02-04 13:31:12 -05:00
parent fd9553b510
commit d244807be8
4 changed files with 4 additions and 33 deletions

View File

@ -1,7 +1,5 @@
// CSG-modules.scad - Basic usage of modules, if, color, $fs/$fa
echo(version=version());
// Change this to false to remove the helper geometry
debug = true;
@ -83,6 +81,7 @@ module helpers() {
}
}
echo(version=version());
// Written by Marius Kintel <marius@kintel.net>
//
// To the extent possible under law, the author(s) have dedicated all

View File

@ -1,7 +1,5 @@
// CSG.scad - Basic example of CSG usage
echo(version=version());
translate([-24,0,0]) {
union() {
cube(15, center=true);
@ -21,6 +19,7 @@ translate([24,0,0]) {
}
}
echo(version=version());
// Written by Marius Kintel <marius@kintel.net>
//
// To the extent possible under law, the author(s) have dedicated all

View File

@ -1,27 +0,0 @@
// difference_cube.scad - Example for difference() usage in OpenSCAD
echo(version=version());
module difference_cube()
{
difference() {
cube(30, center = true);
sphere(20);
}
}
difference_cube();
// Written by Clifford Wolf <clifford@clifford.at> and Marius
// Kintel <marius@kintel.net>
//
// 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 <http://creativecommons.org/publicdomain/zero/1.0/>.

View File

@ -1,7 +1,5 @@
// logo.scad - Basic example of difference() usage in OpenSCAD
echo(version=version());
size = 50;
hole = 25;
cylinderHeight = size * 1.25;
@ -17,6 +15,7 @@ difference() {
rotate([0, 90, 0]) cylinder(d=hole, h=cylinderHeight, center=true);
}
echo(version=version());
// Written by Clifford Wolf <clifford@clifford.at> and Marius
// Kintel <marius@kintel.net>
//
@ -28,3 +27,4 @@ difference() {
// You should have received a copy of the CC0 Public Domain
// Dedication along with this software.
// If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.