openscad-2013.01+dfsg.orig/ 0000755 0001750 0001750 00000000000 12110740367 014731 5 ustar chrysn chrysn openscad-2013.01+dfsg.orig/openscad.qrc 0000644 0001750 0001750 00000000432 12040570421 017225 0 ustar chrysn chrysn
icons/stopbutton.png
icons/prefsAdvanced.png
icons/prefs3DView.png
icons/prefsEditor.png
icons/flattr.png
src/AboutDialog.html
openscad-2013.01+dfsg.orig/opencsg.pri 0000644 0001750 0001750 00000000536 11673145117 017114 0 ustar chrysn chrysn opencsg {
DEFINES += ENABLE_OPENCSG
CONFIG += glew
# Optionally specify location of OpenCSG using the
# OPENCSGDIR env. variable
OPENCSG_DIR = $$(OPENCSGDIR)
!isEmpty(OPENCSG_DIR) {
QMAKE_INCDIR += $$OPENCSG_DIR/include
QMAKE_LIBDIR += $$OPENCSG_DIR/lib
message("OpenCSG location: $$OPENCSG_DIR")
}
LIBS += -lopencsg
}
openscad-2013.01+dfsg.orig/mjau.gdb 0000644 0001750 0001750 00000000124 11640436732 016345 0 ustar chrysn chrysn set environment DYLD_LIBRARY_PATH=/Users/kintel/code/OpenSCAD/libraries/install/lib
openscad-2013.01+dfsg.orig/testdata/ 0000755 0001750 0001750 00000000000 12110740367 016542 5 ustar chrysn chrysn openscad-2013.01+dfsg.orig/testdata/scad/ 0000755 0001750 0001750 00000000000 12110740367 017454 5 ustar chrysn chrysn openscad-2013.01+dfsg.orig/testdata/scad/features/ 0000755 0001750 0001750 00000000000 12110740367 021272 5 ustar chrysn chrysn openscad-2013.01+dfsg.orig/testdata/scad/features/child-background.scad 0000644 0001750 0001750 00000000170 11640715655 025335 0 ustar chrysn chrysn module transparent() {
%child();
}
difference() {
sphere(r=10);
transparent() cylinder(h=30, r=6, center=true);
}
openscad-2013.01+dfsg.orig/testdata/scad/features/root-modifier.scad 0000644 0001750 0001750 00000000106 11640436733 024710 0 ustar chrysn chrysn difference() {
sphere(r=10);
!cylinder(h=30, r=6, center=true);
}
openscad-2013.01+dfsg.orig/testdata/scad/features/circle-tests.scad 0000644 0001750 0001750 00000000554 11640436732 024540 0 ustar chrysn chrysn circle();
translate([0,3,0]) circle(1);
translate([5,1,0]) circle(r=3);
translate([0,-1,0]) circle(r=0);
translate([0,-3,0]) circle(1, $fn=4);
translate([3,-3,0]) circle(1, $fn=8);
translate([6,-3,0]) circle(1, $fn=12);
translate([0,-6,0]) circle(1, $fa=20, $fs=0.3);
translate([3,-6,0]) circle(1, $fa=30, $fs=0.3);
translate([6,-6,0]) circle(1, $fa=40, $fs=0.3);
openscad-2013.01+dfsg.orig/testdata/scad/features/control-hull-dimension.scad 0000644 0001750 0001750 00000000043 12076022156 026530 0 ustar chrysn chrysn hull() {
circle(1);
echo(1);
}
openscad-2013.01+dfsg.orig/testdata/scad/features/hull2-tests.scad 0000644 0001750 0001750 00000001235 11667564056 024334 0 ustar chrysn chrysn module convex2dSimple() {
hull() {
translate([15,10]) circle(10);
circle(10);
}
}
module concave2dSimple() {
hull() {
translate([15,10]) square(2);
translate([15,0]) square(2);
square(2);
}
}
module convex2dHole() {
hull() {
translate([15,10,0]) circle(10);
difference() {
circle(10);
circle(5);
}
}
}
module hull2dForLoop() {
hull() {
for(x = [0,10])
for(y=[0,10])
translate([x,y]) circle(3);
}
}
convex2dHole();
translate([40,0,0]) convex2dSimple();
translate([0,-20,0]) concave2dSimple();
translate([30,-25,0]) hull2dForLoop();
openscad-2013.01+dfsg.orig/testdata/scad/features/for-tests.scad 0000644 0001750 0001750 00000001726 11640436733 024070 0 ustar chrysn chrysn // Empty
for();
// No children
for(i=2) { }
// Null
translate([-10,0,0]) for() cylinder(r=4);
// Scalar
translate([10,0,0]) for(i=3) cylinder(r=i);
// Range
for(r=[1:5]) translate([r*10-30,10,0]) cylinder(r=r);
// Reverse
for(r=[5:1]) translate([r*10-30,20,0]) cylinder(r=r);
// Step
for(r=[1:2:6]) translate([r*10-30,30,0]) difference() {cylinder(r=r, center=true); cylinder(r=r/2, h=2, center=true);}
// Fractional step
for(r=[1.5:0.2:2.5]) translate([r*10-30,30,0]) cube([1, 4*r, 2], center=true);
// Negative range, negative step
for(r=[5:-1:1]) translate([r*10-60,40,0]) cylinder(r=r);
// Negative range, positive step
for(r=[5:1:1]) translate([r*10-30,40,0]) cylinder(r=r);
// Zero step
for(r=[1:0:5]) translate([r*10+60,40,0]) cylinder(r=r);
// Negative step
for(r=[1:-1:5]) translate([r*10-30,50,0]) cylinder(r=r);
// Illegal step value
for(r=[1:true:5]) translate([r*10-60,50,0]) cylinder(r=r);
// Vector
for(r=[1,2,5]) translate([r*10-30,0,0]) cylinder(r=r);
openscad-2013.01+dfsg.orig/testdata/scad/features/surface-tests.scad 0000644 0001750 0001750 00000000060 11640436733 024720 0 ustar chrysn chrysn surface();
surface("surface.dat", center=true);
openscad-2013.01+dfsg.orig/testdata/scad/features/hull3-tests.scad 0000644 0001750 0001750 00000000706 12076022156 024320 0 ustar chrysn chrysn // Empty
hull();
// No children
hull() { }
hull() {
cylinder(r=10, h=1);
translate([0,0,10]) cube([5,5,5], center=true);
}
translate([25,0,0]) hull() {
translate([0,0,10]) cylinder(r=3);
difference() {
cylinder(r=10, h=4, center=true);
cylinder(r=5, h=5, center=true);
}
}
// Don't Crash (issue 188)
translate([-5,-5,-5]) {
hull() {
intersection() {
cube([1,1,1]);
translate([-1,-1,-1]) cube([1,1,1]);
}
}
}
openscad-2013.01+dfsg.orig/testdata/scad/features/color-tests.scad 0000644 0001750 0001750 00000000751 11676112354 024414 0 ustar chrysn chrysn // Empty
color();
// No children
color() { }
module object() cube([10,10,10]);
translate([12,12,0]) object();
color([1,0,0]) translate([24,12,0]) object();
translate([0,12,0]) color("Purple") object();
color([0,0,1,0.5]) object();
translate([12,0,0]) color([0,0,1],0.5) object();
translate([24,0,0]) color(c="Green",alpha=0.2) object();
translate([-12,12,0]) color() object();
translate([-12,0,0]) color(alpha=0.5) object();
translate([24,-12,0]) color([1,0,0]) color([0,0,1]) object();
openscad-2013.01+dfsg.orig/testdata/scad/features/import.stl 0000644 0001750 0001750 00000022406 11640436735 023344 0 ustar chrysn chrysn solid OpenSCAD_Model
facet normal 0.540558 -0.392737 0.744013
outer loop
vertex 0.095492 -0.293893 0.951057
vertex 0.809017 0.000000 0.587785
vertex 0.309017 0.000000 0.951057
endloop
endfacet
facet normal 0.000000 0.000000 1.000000
outer loop
vertex -0.250000 -0.181636 0.951057
vertex 0.095492 -0.293893 0.951057
vertex 0.309017 0.000000 0.951057
endloop
endfacet
facet normal 0.000000 -0.000000 1.000000
outer loop
vertex -0.250000 0.181636 0.951057
vertex -0.250000 -0.181636 0.951057
vertex 0.095492 0.293893 0.951057
endloop
endfacet
facet normal 0.000000 -0.000000 1.000000
outer loop
vertex 0.095492 0.293893 0.951057
vertex -0.250000 -0.181636 0.951057
vertex 0.309017 0.000000 0.951057
endloop
endfacet
facet normal 0.540559 0.392738 0.744011
outer loop
vertex 0.095492 0.293893 0.951057
vertex 0.309017 0.000000 0.951057
vertex 0.250000 0.769421 0.587785
endloop
endfacet
facet normal 0.540558 0.392738 0.744012
outer loop
vertex 0.250000 0.769421 0.587785
vertex 0.309017 0.000000 0.951057
vertex 0.809017 0.000000 0.587785
endloop
endfacet
facet normal 0.540558 -0.392738 0.744012
outer loop
vertex 0.095492 -0.293893 0.951057
vertex 0.250000 -0.769421 0.587785
vertex 0.809017 0.000000 0.587785
endloop
endfacet
facet normal -0.206474 -0.635464 0.744012
outer loop
vertex -0.250000 -0.181636 0.951057
vertex 0.250000 -0.769421 0.587785
vertex 0.095492 -0.293893 0.951057
endloop
endfacet
facet normal 0.782436 -0.568473 0.254229
outer loop
vertex 0.250000 -0.769421 0.587785
vertex 1.000000 0.000000 0.000000
vertex 0.809017 0.000000 0.587785
endloop
endfacet
facet normal 0.782436 0.568473 0.254229
outer loop
vertex 0.250000 0.769421 0.587785
vertex 0.809017 0.000000 0.587785
vertex 0.309017 0.951057 0.000000
endloop
endfacet
facet normal 0.782436 0.568473 0.254229
outer loop
vertex 0.309017 0.951057 0.000000
vertex 0.809017 0.000000 0.587785
vertex 1.000000 0.000000 0.000000
endloop
endfacet
facet normal -0.206475 -0.635464 0.744012
outer loop
vertex -0.654508 -0.475528 0.587785
vertex 0.250000 -0.769421 0.587785
vertex -0.250000 -0.181636 0.951057
endloop
endfacet
facet normal -0.668166 0.000000 0.744012
outer loop
vertex -0.654508 -0.475528 0.587785
vertex -0.250000 -0.181636 0.951057
vertex -0.250000 0.181636 0.951057
endloop
endfacet
facet normal -0.668166 0.000000 0.744012
outer loop
vertex -0.654508 0.475528 0.587785
vertex -0.654508 -0.475528 0.587785
vertex -0.250000 0.181636 0.951057
endloop
endfacet
facet normal -0.206475 0.635464 0.744012
outer loop
vertex -0.654508 0.475528 0.587785
vertex -0.250000 0.181636 0.951057
vertex 0.095492 0.293893 0.951057
endloop
endfacet
facet normal -0.206475 0.635464 0.744012
outer loop
vertex -0.654508 0.475528 0.587785
vertex 0.095492 0.293893 0.951057
vertex 0.250000 0.769421 0.587785
endloop
endfacet
facet normal -0.298864 0.919808 0.254229
outer loop
vertex -0.809017 0.587785 0.000000
vertex -0.654508 0.475528 0.587785
vertex 0.250000 0.769421 0.587785
endloop
endfacet
facet normal -0.298864 0.919808 0.254229
outer loop
vertex -0.809017 0.587785 0.000000
vertex 0.250000 0.769421 0.587785
vertex 0.309017 0.951057 0.000000
endloop
endfacet
facet normal 0.782436 -0.568473 0.254229
outer loop
vertex 0.250000 -0.769421 0.587785
vertex 0.309017 -0.951057 0.000000
vertex 1.000000 0.000000 0.000000
endloop
endfacet
facet normal -0.298864 -0.919808 0.254229
outer loop
vertex -0.654508 -0.475528 0.587785
vertex 0.309017 -0.951057 0.000000
vertex 0.250000 -0.769421 0.587785
endloop
endfacet
facet normal 0.782436 -0.568473 -0.254229
outer loop
vertex 0.309017 -0.951057 0.000000
vertex 0.809017 0.000000 -0.587785
vertex 1.000000 0.000000 0.000000
endloop
endfacet
facet normal 0.782436 0.568473 -0.254229
outer loop
vertex 0.250000 0.769421 -0.587785
vertex 0.309017 0.951057 0.000000
vertex 1.000000 0.000000 0.000000
endloop
endfacet
facet normal 0.782436 0.568473 -0.254229
outer loop
vertex 0.250000 0.769421 -0.587785
vertex 1.000000 0.000000 0.000000
vertex 0.809017 0.000000 -0.587785
endloop
endfacet
facet normal -0.298864 0.919808 -0.254229
outer loop
vertex -0.809017 0.587785 0.000000
vertex 0.309017 0.951057 0.000000
vertex -0.654508 0.475528 -0.587785
endloop
endfacet
facet normal -0.298864 0.919808 -0.254229
outer loop
vertex -0.654508 0.475528 -0.587785
vertex 0.309017 0.951057 0.000000
vertex 0.250000 0.769421 -0.587785
endloop
endfacet
facet normal -0.298864 -0.919808 0.254229
outer loop
vertex -0.809017 -0.587785 0.000000
vertex 0.309017 -0.951057 0.000000
vertex -0.654508 -0.475528 0.587785
endloop
endfacet
facet normal -0.967144 0.000000 0.254230
outer loop
vertex -0.654508 -0.475528 0.587785
vertex -0.654508 0.475528 0.587785
vertex -0.809017 -0.587785 0.000000
endloop
endfacet
facet normal -0.967144 0.000000 0.254230
outer loop
vertex -0.809017 -0.587785 0.000000
vertex -0.654508 0.475528 0.587785
vertex -0.809017 0.587785 0.000000
endloop
endfacet
facet normal -0.967144 0.000000 -0.254230
outer loop
vertex -0.809017 0.587785 0.000000
vertex -0.654508 0.475528 -0.587785
vertex -0.809017 -0.587785 0.000000
endloop
endfacet
facet normal -0.967144 0.000000 -0.254230
outer loop
vertex -0.809017 -0.587785 0.000000
vertex -0.654508 0.475528 -0.587785
vertex -0.654508 -0.475528 -0.587785
endloop
endfacet
facet normal 0.782436 -0.568473 -0.254229
outer loop
vertex 0.250000 -0.769421 -0.587785
vertex 0.809017 0.000000 -0.587785
vertex 0.309017 -0.951057 0.000000
endloop
endfacet
facet normal -0.298864 -0.919808 -0.254229
outer loop
vertex -0.809017 -0.587785 0.000000
vertex 0.250000 -0.769421 -0.587785
vertex 0.309017 -0.951057 0.000000
endloop
endfacet
facet normal 0.540558 -0.392738 -0.744012
outer loop
vertex 0.250000 -0.769421 -0.587785
vertex 0.309017 0.000000 -0.951057
vertex 0.809017 0.000000 -0.587785
endloop
endfacet
facet normal 0.540558 0.392738 -0.744012
outer loop
vertex 0.095492 0.293893 -0.951057
vertex 0.250000 0.769421 -0.587785
vertex 0.809017 0.000000 -0.587785
endloop
endfacet
facet normal 0.540558 0.392737 -0.744013
outer loop
vertex 0.095492 0.293893 -0.951057
vertex 0.809017 0.000000 -0.587785
vertex 0.309017 0.000000 -0.951057
endloop
endfacet
facet normal -0.206475 0.635464 -0.744012
outer loop
vertex -0.654508 0.475528 -0.587785
vertex 0.250000 0.769421 -0.587785
vertex -0.250000 0.181636 -0.951057
endloop
endfacet
facet normal -0.206474 0.635464 -0.744012
outer loop
vertex -0.250000 0.181636 -0.951057
vertex 0.250000 0.769421 -0.587785
vertex 0.095492 0.293893 -0.951057
endloop
endfacet
facet normal -0.668166 0.000000 -0.744012
outer loop
vertex -0.654508 0.475528 -0.587785
vertex -0.250000 0.181636 -0.951057
vertex -0.654508 -0.475528 -0.587785
endloop
endfacet
facet normal -0.668166 0.000000 -0.744012
outer loop
vertex -0.654508 -0.475528 -0.587785
vertex -0.250000 0.181636 -0.951057
vertex -0.250000 -0.181636 -0.951057
endloop
endfacet
facet normal -0.298864 -0.919808 -0.254229
outer loop
vertex -0.809017 -0.587785 0.000000
vertex -0.654508 -0.475528 -0.587785
vertex 0.250000 -0.769421 -0.587785
endloop
endfacet
facet normal -0.206475 -0.635464 -0.744012
outer loop
vertex -0.654508 -0.475528 -0.587785
vertex 0.095492 -0.293893 -0.951057
vertex 0.250000 -0.769421 -0.587785
endloop
endfacet
facet normal -0.206475 -0.635464 -0.744012
outer loop
vertex -0.654508 -0.475528 -0.587785
vertex -0.250000 -0.181636 -0.951057
vertex 0.095492 -0.293893 -0.951057
endloop
endfacet
facet normal 0.540559 -0.392738 -0.744011
outer loop
vertex 0.095492 -0.293893 -0.951057
vertex 0.309017 0.000000 -0.951057
vertex 0.250000 -0.769421 -0.587785
endloop
endfacet
facet normal -0.000000 0.000000 -1.000000
outer loop
vertex -0.250000 0.181636 -0.951057
vertex 0.095492 0.293893 -0.951057
vertex -0.250000 -0.181636 -0.951057
endloop
endfacet
facet normal 0.000000 0.000000 -1.000000
outer loop
vertex -0.250000 -0.181636 -0.951057
vertex 0.095492 0.293893 -0.951057
vertex 0.309017 0.000000 -0.951057
endloop
endfacet
facet normal -0.000000 0.000000 -1.000000
outer loop
vertex -0.250000 -0.181636 -0.951057
vertex 0.309017 0.000000 -0.951057
vertex 0.095492 -0.293893 -0.951057
endloop
endfacet
endsolid OpenSCAD_Model
openscad-2013.01+dfsg.orig/testdata/scad/features/2d-3d.scad 0000644 0001750 0001750 00000000121 11640436732 022736 0 ustar chrysn chrysn // Test a mix of toplevel 2D and 3D objects
cube();
translate([2,0,0]) square();
openscad-2013.01+dfsg.orig/testdata/scad/features/background-modifier.scad 0000644 0001750 0001750 00000000156 12076022156 026043 0 ustar chrysn chrysn difference() {
sphere(r=10);
%cylinder(h=30, r=6, center=true);
}
%if (true) cube([25,6,3], center=true);
openscad-2013.01+dfsg.orig/testdata/scad/features/polygon-tests.scad 0000644 0001750 0001750 00000001331 11716565223 024762 0 ustar chrysn chrysn polygon();
polygon([]);
polygon([[],[]]);
polygon([[[]]]);
translate([2,0,0]) polygon([[0,0], [1,0], [1,1]]);
translate([0,2,0]) polygon([[0,0]]);
translate([2,2,0]) polygon([[0,0],[1,1]]);
translate([2,2,0]) polygon([[0,0],[1,1],[2,2]]);
translate([0,-2,0]) polygon(points=[[0,0], [1,0], [1,1], [0,1]]);
translate([0,-4,0]) polygon(points=[[0,0], [1,0], [1,1], [0,1]], paths=[]);
translate([2,-2,0]) polygon([[0,0], [1,0], [0.8,0.5], [1,1], [0,1]]);
points = [[0,0], [0.5,-0.2], [1,0], [1.2,0.5], [1,1], [0.5,1.2], [0,1], [-0.2,0.5]];
translate([-2,0,0]) polygon(points);
translate([-2,-2,0]) polygon(points=points, paths=[[0,1,2,3], [4,5,6,7]]);
translate([2,-4,0]) polygon([[0,0], [1,0], [1,1], [0,0]]);
// FIXME: convexity
openscad-2013.01+dfsg.orig/testdata/scad/features/polyhedron-tests.scad 0000644 0001750 0001750 00000001336 11671511550 025455 0 ustar chrysn chrysn module polyhedrons() {
polyhedron(points = [[1,0,0],[-1,0,0],[0,1,0],[0,-1,0],[0,0,1],[0,0,-1]],
triangles = [[0,4,2],[0,2,5],[0,3,4],[0,5,3],[1,2,4],[1,5,2],[1,4,3], [1,3,5]]);
// One face flipped
translate([2,0,0])
polyhedron(points = [[1,0,0],[-1,0,0],[0,1,0],[0,-1,0],[0,0,1],[0,0,-1]],
triangles = [[0,4,2],[0,2,5],[0,3,4],[0,5,3],[1,2,4],[1,5,2],[1,3,4], [1,3,5]]);
// All faces flipped
translate([4,0,0])
polyhedron(points = [[1,0,0],[-1,0,0],[0,1,0],[0,-1,0],[0,0,1],[0,0,-1]],
triangles = [[0,2,4],[0,5,2],[0,4,3],[0,3,5],[1,4,2],[1,2,5],[1,3,4], [1,5,3]]);
}
polyhedrons();
translate([0,2,0]) difference() {
polyhedrons();
translate([2,0,2]) cube([8,3,3], center=true);
}
openscad-2013.01+dfsg.orig/testdata/scad/features/child-tests.scad 0000644 0001750 0001750 00000001005 11653626423 024354 0 ustar chrysn chrysn $fn=16;
module parent() {
for (i=[0:2]) {
translate([2.5*i,0,0]) child(i);
}
}
// Normal
parent() {
sphere();
cylinder(h=2, center=true);
cube(2, center=true);
}
// No children
parent();
// Too few children
translate([0,3,0]) parent() { sphere(); }
// No parameter to child
module parent2() {
child();
}
translate([2.5,3,0]) parent2() { cylinder(h=2, center=true); sphere(); }
// Negative parameter to child
module parent3() {
child(-1);
}
translate([5,3,0]) parent3() { cube(); sphere(); }
openscad-2013.01+dfsg.orig/testdata/scad/features/surface-simple.dat 0000644 0001750 0001750 00000000010 11676112354 024677 0 ustar chrysn chrysn 0 1
2 3
openscad-2013.01+dfsg.orig/testdata/scad/features/intersection_for-tests.scad 0000644 0001750 0001750 00000000407 11640436733 026651 0 ustar chrysn chrysn // Empty
intersection_for();
// No children
intersection_for(i=1) { }
intersection_for(i = [[0, 0, 0],
[10, 20, 300],
[200, 40, 57],
[20, 88, 57]])
rotate(i) cube([100, 20, 20], center = true);
openscad-2013.01+dfsg.orig/testdata/scad/features/text-search-test.scad 0000644 0001750 0001750 00000002112 11745120722 025326 0 ustar chrysn chrysn // fonts test
use
thisFont=8bit_polyfont();
thisText="OpenSCAD Rocks!";
// Find one letter matches from 2nd column (index 1)
theseIndicies=search(thisText,thisFont[2],1,1);
// Letter spacing, x direction.
x_shift=thisFont[0][0];
y_shift=thisFont[0][1];
echo(theseIndicies);
// Simple polygon usage.
for(i=[0:len(theseIndicies)-1]) translate([i*x_shift-len(theseIndicies)*x_shift/2,0]) {
polygon(points=thisFont[2][theseIndicies[i]][6][0],paths=thisFont[2][theseIndicies[i]][6][1]);
}
theseIndicies2=search("ABC",thisFont[2],1,1);
// outline_2d() example
for(i=[0:len(theseIndicies2)-1]) translate([i*x_shift-len(theseIndicies2)*x_shift,-y_shift]) {
outline_2d(outline=true,points=thisFont[2][theseIndicies2[i]][6][0],paths=thisFont[2][theseIndicies2[i]][6][1],width=0.25);
}
theseIndicies3=search("123",thisFont[2],1,1);
// bold_2d() outline_2d(false) example
for(i=[0:len(theseIndicies3)-1]) translate([i*x_shift,-2*y_shift]) {
bold_2d(bold=true,width=0.25,resolution=8)
outline_2d(false,thisFont[2][theseIndicies3[i]][6][0],thisFont[2][theseIndicies3[i]][6][1]);
} openscad-2013.01+dfsg.orig/testdata/scad/features/disable-modifier.scad 0000644 0001750 0001750 00000000156 12076022156 025327 0 ustar chrysn chrysn difference() {
*sphere(r=10);
cylinder(h=30, r=6, center=true);
}
*if (true) cube([25,6,3], center=true);
openscad-2013.01+dfsg.orig/testdata/scad/features/minkowski3-tests.scad 0000644 0001750 0001750 00000001215 11640436733 025371 0 ustar chrysn chrysn module roundedBox3dSimple() {
minkowski() {
cube([10,10,5]);
cylinder(r=5, h=5);
}
}
module roundedBox3dCut() {
minkowski() {
difference() {
cube([10,10,5]);
cube([5,5,5]);
}
cylinder(r=5, h=5);
}
}
module roundedBox3dHole() {
minkowski() {
difference() {
cube([10,10,5], center=true);
cube([8,8,10], center=true);
}
cylinder(r=2);
}
}
translate([-20,30,0]) roundedBox3dHole();
translate([0,25,0]) roundedBox3dCut();
translate([25,25,0]) roundedBox3dSimple();
// Empty
minkowski();
// No children
minkowski() { }
openscad-2013.01+dfsg.orig/testdata/scad/features/projection-tests.scad 0000644 0001750 0001750 00000001373 11775004604 025451 0 ustar chrysn chrysn // Empty
projection();
// No children
projection() { }
// 2D child
projection(cut=true) { square(); }
linear_extrude(height=20) projection(cut=false) sphere(r=10);
translate([22,0,0]) linear_extrude(height=20) projection(cut=true) translate([0,0,9]) sphere(r=10);
translate([44,0,0]) linear_extrude(height=20) projection(cut=true) translate([0,0,7]) sphere(r=10);
// Boundary case: clipping the top of a cube
translate([0,-22,0]) linear_extrude(height=5) projection(cut=true) translate([0,0,-4.999999]) cube(10, center=true);
// holes
translate([0,-44,0]) linear_extrude(height=5) projection(cut=true)
union() {
difference() { cube(5,center=true); cube(4,center=true); }
translate([2.1,2.1]) difference() { cube(5,center=true); cube(4,center=true); }
}
openscad-2013.01+dfsg.orig/testdata/scad/features/rotate_extrude_dxf-tests.scad 0000644 0001750 0001750 00000000231 11653243403 027161 0 ustar chrysn chrysn // These are tests which are not yet possible to express with the
// non-deprecated functionality
rotate_extrude(file = "../../dxf/open-polyline.dxf");
openscad-2013.01+dfsg.orig/testdata/scad/features/assign-tests.scad 0000644 0001750 0001750 00000000160 11640436732 024554 0 ustar chrysn chrysn for(i=[0:5]) {
translate([i*i/2,0,0]) {
cube(i);
translate([0,-5,0]) assign(f=1.0*i/2) cube(f);
}
}
openscad-2013.01+dfsg.orig/testdata/scad/features/cylinder-tests.scad 0000644 0001750 0001750 00000001247 11701151225 025075 0 ustar chrysn chrysn cylinder();
translate([1,0,0]) cylinder(r=0);
translate([2,0,0]) cylinder(r1=0, r2=0);
translate([0,-11,0]) cylinder(r=5);
translate([0,11,0]) cylinder(r=5, h=10, center=true);
translate([11,-11,0]) cylinder(h=5, r1=5);
translate([11,0,0]) cylinder(h=5, r1=5, r2=0);
translate([11,11,0]) cylinder(h=8, r1=5, r2=5);
translate([22,-11,0]) cylinder(h=5, r=5, r1=0, center=true);
translate([22,0,0]) cylinder(h=5, r=5, r2=0);
translate([22,11,0]) cylinder(h=15, r=5, r2=5);
// This tests for hexagonal cylinder orientation, since people
// tend to "abuse" this for captured nut slots
translate([-10,0,0]) cylinder(h=2, r=3, $fn=6);
// FIXME: We could test $fs, $fa, $fn as well
openscad-2013.01+dfsg.orig/testdata/scad/features/import_bin.stl 0000644 0001750 0001750 00000004520 11675160666 024176 0 ustar chrysn chrysn VCG . b
?ɾw>?O=%yyxs?O? y?z7> yxs? ? 9yxs?O=%yyxs?z7> yxs? ? 9>yxs? 9yxs?O=%y>yxs? ?O=%y>yxs? 9yxs?z7> yxs? b
?>w>?O=%y>yxs?z7> yxs? >D?y? a
?>w>? >D?y?z7> yxs?O? y? b
?ɾw>?O=%yyxs? >Dy?O? y? nS"w>? 9yxs? >Dy?O=%yyxs? MH?rJ*> >Dy? ? O? y? MH?q?X*> >D?y?O? y?z7>yxs? MH?o?M*>z7>yxs? O? y? ? 8nSŭ"w>?֍'hxy? >Dy? 9yxs? + w>?֍'hxy? 9yxs? 9>yxs? + w>?֍'hx>y?֍'hxy? 9>yxs? nSͭ"?w>?֍'hx>y? 9>yxs?O=%y>yxs? 3nS"?w>?֍'hx>y?O=%y>yxs? >D?y? xk?Y*>Oy? ֍'hx>y? >D?y? xk?[*>Oy? >D?y?z7>yxs? MH?oX*> >Dy?z7>yxs ? xk\*>֍'hxy?z7>yxs >Dy? MH?oM*z7>yxs O? y ? MH?o?X* >D?yz7>yxs? ? MH?r?J* >D?y ? O? y xk?Y*Oy? z7>yxs? ֍'hx>y xk?\*֍'hx>yz7>yxs? >D?y xkY*>Oy z7>yxs ֍'hxy? w f*>֍'hxy?֍'hx>y?Oy w g*>Oy ֍'hx>y?Oy? w g*Oy? ֍'hx>yOy w g*Oy ֍'hx>y֍'hxy MH?qX* >DyO? yz7>yxs xk[*Oy >Dyz7>yxs a
?ɾw> >Dyz7> yxsO? y b
?>w>O=%y>yxs >D?yO? y b
?>w>O=%y>yxsO? yz7> yxs 8nSŭ"?w>֍'hx>y >D?y 9>yxs nS"?w> 9>yxs >D?yO=%y>yxs + w>֍'hx>y 9>yxs֍'hxy + w>֍'hxy 9>yxs 9yxs xkY*Oy ֍'hxy >Dy 3nS"w>֍'hxyO=%yyxs >Dy nSͭ"w>֍'hxy 9yxsO=%yyxs b
?ɾw>O=%yyxsz7> yxs >Dy 9>yxsO=%y>yxs 9yxs 9yxsO=%y>yxsz7> yxs 9yxsz7> yxsO=%yyxs openscad-2013.01+dfsg.orig/testdata/scad/features/render-2d-tests.scad 0000644 0001750 0001750 00000000122 11676112354 025050 0 ustar chrysn chrysn render() {
difference() {
square(100, center=true);
circle(r=30);
}
}
openscad-2013.01+dfsg.orig/testdata/scad/features/difference-tests.scad 0000644 0001750 0001750 00000001457 12076022156 025367 0 ustar chrysn chrysn // Empty
difference();
// No children
difference() { }
difference() {
cube([10,10,10], center=true);
cylinder(r=4, h=20, center=true);
}
translate([12,0,0]) difference() {
cube([10,10,10], center=true);
cylinder(r=4, h=10.5, center=true);
}
translate([0,12,0]) difference() {
cube([10,10,10], center=true);
cylinder(r=4, h=11, center=true);
rotate([0,90,0]) cylinder(r=4, h=11, center=true);
}
translate([12,12,0]) difference() {
cube([10,10,10], center=true);
translate([0,0,7.01]) cylinder(r=4, h=4, center=true);
}
translate([24,0,0]) difference() {
cube([10,10,10], center=true);
translate([0,0,6.99]) cylinder(r=4, h=4, center=true);
}
// Subtracting something from nothing
translate([24,12,0]) difference() {
cube([0,10,10], center=true);
# cylinder(r=4, h=20, center=true);
}
openscad-2013.01+dfsg.orig/testdata/scad/features/highlight-modifier.scad 0000644 0001750 0001750 00000000156 12076022156 025673 0 ustar chrysn chrysn difference() {
sphere(r=10);
#cylinder(h=30, r=6, center=true);
}
#if (true) cube([25,6,3], center=true);
openscad-2013.01+dfsg.orig/testdata/scad/features/transform-tests.scad 0000644 0001750 0001750 00000001012 11642654340 025277 0 ustar chrysn chrysn module mycyl() {
cylinder(r1=10, r2=0, h=20);
}
translate([25,0,0]) scale([1,2,0.5]) mycyl();
translate([20,-30,0]) scale(0.5) mycyl();
translate([0,-20,0]) rotate([90,0,0]) mycyl();
translate([0,-40,0]) rotate([90,0,45]) mycyl();
rotate(v=[-1,0,0], a=45) mycyl();
multmatrix([[1,0,0,-25],
[0,1,0,0],
[0,0,1,0],
[0,0,0,1]]) mycyl();
multmatrix([[1,0.4,0.1,-25],
[0.4,0.8,0,-25],
[0.2,0.2,0.5,0],
[0,0,0,1]]) mycyl();
//FIXME: mirror() and scale() openscad-2013.01+dfsg.orig/testdata/scad/features/square-tests.scad 0000644 0001750 0001750 00000000456 11640436733 024601 0 ustar chrysn chrysn square();
translate([2,0,0]) square([1,1], true);
translate([4,0,0]) square(size=[1,1], center=true);
translate([6,0,0]) square([0,0], true);
translate([0,2,0]) square([1,0], true);
translate([2,2,0]) square([0,1], true);
translate([4,2,0]) square([1,2], true);
translate([6,2,0]) square([2,1], true);
openscad-2013.01+dfsg.orig/testdata/scad/features/cube-tests.scad 0000644 0001750 0001750 00000000225 11640436732 024210 0 ustar chrysn chrysn cube();
cube([1,1,0]); cube([1,0,1]); cube([0,1,1]); cube([0,0,0]);
translate([2,0,0]) cube([2,3,1]);
translate([6,0,0]) cube([2,4,2], center=true);
openscad-2013.01+dfsg.orig/testdata/scad/features/highlight-and-background-modifier.scad 0000644 0001750 0001750 00000000370 12076022156 030546 0 ustar chrysn chrysn difference() {
sphere(r=10);
%#cylinder(h=30, r=6, center=true);
%#if (true) cube([6,25,3], center=true);
}
translate([13,0,0]) difference() {
sphere(r=10);
#%cylinder(h=30, r=6, center=true);
#%if (true) cube([6,25,3], center=true);
}
openscad-2013.01+dfsg.orig/testdata/scad/features/sphere-tests.scad 0000644 0001750 0001750 00000000573 11640436733 024567 0 ustar chrysn chrysn sphere();
translate([2,0,0]) sphere(r=0);
translate([0,11,0]) sphere(5);
translate([0,-11,0]) sphere(r=5);
translate([11,-11,0]) sphere(5, $fn=5);
translate([11,0,0]) sphere(5, $fn=10);
translate([11,11,0]) sphere(5, $fn=15);
translate([22,-11, 0]) sphere(5, $fa=20, $fs=0.3);
translate([22, 0, 0]) sphere(5, $fa=30, $fs=0.3);
translate([22, 11, 0]) sphere(5, $fa=40, $fs=0.3);
openscad-2013.01+dfsg.orig/testdata/scad/features/linear_extrude-tests.scad 0000644 0001750 0001750 00000001014 11640436733 026302 0 ustar chrysn chrysn // Empty
rotate_extrude();
// No children
rotate_extrude() { }
// 3D child
rotate_extrude() { cube(); }
linear_extrude(height=10) square([10,10]);
translate([19,5,0]) linear_extrude(height=10, center=true) difference() {circle(5); circle(3);}
translate([31.5,2.5,0]) linear_extrude(height=10, twist=-45) polygon(points = [[-5,-2.5], [5,-2.5], [0,2.5]]);
translate([0,20,0]) linear_extrude(height=20, twist=45, slices=2) square([10,10]);
translate([19,20,0]) linear_extrude(height=20, twist=45, slices=10) square([10,10]);
openscad-2013.01+dfsg.orig/testdata/scad/features/rotate_extrude-tests.scad 0000644 0001750 0001750 00000001270 11640436733 026332 0 ustar chrysn chrysn // Empty
rotate_extrude();
// No children
rotate_extrude() { }
// 3D child
rotate_extrude() { cube(); }
// Normal
rotate_extrude() translate([20,0,0]) circle(r=10);
// Sweep of polygon with hole
translate([50,-20,0]) {
difference() {
rotate_extrude() translate([20,0,0]) difference() {
circle(r=10); circle(r=8);
}
translate([-50,0,0]) cube([100,100,100], center=true);
}
}
// Alternative, difference between two solid sweeps
translate([50,50,0]) {
difference() {
difference() {
rotate_extrude() translate([20,0,0]) circle(r=10);
rotate_extrude() translate([20,0,0]) circle(r=8);
}
translate([-50,0,0]) cube([100,100,100], center=true);
}
}
openscad-2013.01+dfsg.orig/testdata/scad/features/testcolornames.scad 0000644 0001750 0001750 00000017725 11640436735 025214 0 ustar chrysn chrysn /* color samples for SVG named colors, for OpenSCAD
Please see http://en.wikipedia.org/wiki/Web_colors
and http://www.w3.org/TR/SVG/types.html#ColorKeywords
for more information. */
$fn=5;
radius=0.8;
//translate([0,0]) color("Red colors") sphere(radius);
translate([1,0]) color("IndianRed") sphere(radius);
translate([2,0]) color("LightCoral") sphere(radius);
translate([3,0]) color("Salmon") sphere(radius);
translate([4,0]) color("DarkSalmon") sphere(radius);
translate([5,0]) color("LightSalmon") sphere(radius);
translate([6,0]) color("Red") sphere(radius);
translate([7,0]) color("Crimson") sphere(radius);
translate([8,0]) color("FireBrick") sphere(radius);
translate([9,0]) color("DarkRed") sphere(radius);
//translate([10,0]) color("Pink colors") sphere(radius);
translate([0,1]) color("Pink") sphere(radius);
translate([1,1]) color("LightPink") sphere(radius);
translate([2,1]) color("HotPink") sphere(radius);
translate([3,1]) color("DeepPink") sphere(radius);
translate([4,1]) color("MediumVioletRed") sphere(radius);
translate([5,1]) color("PaleVioletRed") sphere(radius);
//translate([6,1]) color("Orange colors") sphere(radius);
translate([7,1]) color("LightSalmon") sphere(radius);
translate([8,1]) color("Coral") sphere(radius);
translate([9,1]) color("Tomato") sphere(radius);
translate([10,1]) color("OrangeRed") sphere(radius);
translate([0,2]) color("DarkOrange") sphere(radius);
translate([1,2]) color("Orange") sphere(radius);
//translate([2,2]) color("Yellow colors") sphere(radius);
translate([3,2]) color("Gold") sphere(radius);
translate([4,2]) color("Yellow") sphere(radius);
translate([5,2]) color("LightYellow") sphere(radius);
translate([6,2]) color("LemonChiffon") sphere(radius);
translate([7,2]) color("LightGoldenrodYellow") sphere(radius);
translate([8,2]) color("PapayaWhip") sphere(radius);
translate([9,2]) color("Moccasin") sphere(radius);
translate([10,2]) color("PeachPuff") sphere(radius);
translate([0,3]) color("PaleGoldenrod") sphere(radius);
translate([1,3]) color("Khaki") sphere(radius);
translate([2,3]) color("DarkKhaki") sphere(radius);
//translate([3,3]) color("Purple colors") sphere(radius);
translate([4,3]) color("Lavender") sphere(radius);
translate([5,3]) color("Thistle") sphere(radius);
translate([6,3]) color("Plum") sphere(radius);
translate([7,3]) color("Violet") sphere(radius);
translate([8,3]) color("Orchid") sphere(radius);
translate([9,3]) color("Fuchsia") sphere(radius);
translate([10,3]) color("Magenta") sphere(radius);
translate([0,4]) color("MediumOrchid") sphere(radius);
translate([1,4]) color("MediumPurple") sphere(radius);
translate([2,4]) color("BlueViolet") sphere(radius);
translate([3,4]) color("DarkViolet") sphere(radius);
translate([4,4]) color("DarkOrchid") sphere(radius);
translate([5,4]) color("DarkMagenta") sphere(radius);
translate([6,4]) color("Purple") sphere(radius);
translate([7,4]) color("Indigo") sphere(radius);
translate([8,4]) color("DarkSlateBlue") sphere(radius);
translate([9,4]) color("SlateBlue") sphere(radius);
translate([10,4]) color("MediumSlateBlue") sphere(radius);
//translate([0,5]) color("Green colors") sphere(radius);
translate([1,5]) color("GreenYellow") sphere(radius);
translate([2,5]) color("Chartreuse") sphere(radius);
translate([3,5]) color("LawnGreen") sphere(radius);
translate([4,5]) color("Lime") sphere(radius);
translate([5,5]) color("LimeGreen") sphere(radius);
translate([6,5]) color("PaleGreen") sphere(radius);
translate([7,5]) color("LightGreen") sphere(radius);
translate([8,5]) color("MediumSpringGreen") sphere(radius);
translate([9,5]) color("SpringGreen") sphere(radius);
translate([10,5]) color("MediumSeaGreen") sphere(radius);
translate([0,6]) color("SeaGreen") sphere(radius);
translate([1,6]) color("ForestGreen") sphere(radius);
translate([2,6]) color("Green") sphere(radius);
translate([3,6]) color("DarkGreen") sphere(radius);
translate([4,6]) color("YellowGreen") sphere(radius);
translate([5,6]) color("OliveDrab") sphere(radius);
translate([6,6]) color("Olive") sphere(radius);
translate([7,6]) color("DarkOliveGreen") sphere(radius);
translate([8,6]) color("MediumAquamarine") sphere(radius);
translate([9,6]) color("DarkSeaGreen") sphere(radius);
translate([10,6]) color("LightSeaGreen") sphere(radius);
translate([0,7]) color("DarkCyan") sphere(radius);
translate([1,7]) color("Teal") sphere(radius);
//translate([2,7]) color("Blue/Cyan colors") sphere(radius);
translate([3,7]) color("Aqua") sphere(radius);
translate([4,7]) color("Cyan") sphere(radius);
translate([5,7]) color("LightCyan") sphere(radius);
translate([6,7]) color("PaleTurquoise") sphere(radius);
translate([7,7]) color("Aquamarine") sphere(radius);
translate([8,7]) color("Turquoise") sphere(radius);
translate([9,7]) color("MediumTurquoise") sphere(radius);
translate([10,7]) color("DarkTurquoise") sphere(radius);
translate([0,8]) color("CadetBlue") sphere(radius);
translate([1,8]) color("SteelBlue") sphere(radius);
translate([2,8]) color("LightSteelBlue") sphere(radius);
translate([3,8]) color("PowderBlue") sphere(radius);
translate([4,8]) color("LightBlue") sphere(radius);
translate([5,8]) color("SkyBlue") sphere(radius);
translate([6,8]) color("LightSkyBlue") sphere(radius);
translate([7,8]) color("DeepSkyBlue") sphere(radius);
translate([8,8]) color("DodgerBlue") sphere(radius);
translate([9,8]) color("CornflowerBlue") sphere(radius);
translate([10,8]) color("RoyalBlue") sphere(radius);
translate([0,9]) color("Blue") sphere(radius);
translate([1,9]) color("MediumBlue") sphere(radius);
translate([2,9]) color("DarkBlue") sphere(radius);
translate([3,9]) color("Navy") sphere(radius);
translate([4,9]) color("MidnightBlue") sphere(radius);
//translate([5,9]) color("Brown colors") sphere(radius);
translate([6,9]) color("Cornsilk") sphere(radius);
translate([7,9]) color("BlanchedAlmond") sphere(radius);
translate([8,9]) color("Bisque") sphere(radius);
translate([9,9]) color("NavajoWhite") sphere(radius);
translate([10,9]) color("Wheat") sphere(radius);
translate([0,10]) color("BurlyWood") sphere(radius);
translate([1,10]) color("Tan") sphere(radius);
translate([2,10]) color("RosyBrown") sphere(radius);
translate([3,10]) color("SandyBrown") sphere(radius);
translate([4,10]) color("Goldenrod") sphere(radius);
translate([5,10]) color("DarkGoldenrod") sphere(radius);
translate([6,10]) color("Peru") sphere(radius);
translate([7,10]) color("Chocolate") sphere(radius);
translate([8,10]) color("SaddleBrown") sphere(radius);
translate([9,10]) color("Sienna") sphere(radius);
translate([10,10]) color("Brown") sphere(radius);
translate([0,11]) color("Maroon") sphere(radius);
//translate([1,11]) color("White colors") sphere(radius);
translate([2,11]) color("White") sphere(radius);
translate([3,11]) color("Snow") sphere(radius);
translate([4,11]) color("Honeydew") sphere(radius);
translate([5,11]) color("MintCream") sphere(radius);
translate([6,11]) color("Azure") sphere(radius);
translate([7,11]) color("AliceBlue") sphere(radius);
translate([8,11]) color("GhostWhite") sphere(radius);
translate([9,11]) color("WhiteSmoke") sphere(radius);
translate([10,11]) color("Seashell") sphere(radius);
translate([0,12]) color("Beige") sphere(radius);
translate([1,12]) color("OldLace") sphere(radius);
translate([2,12]) color("FloralWhite") sphere(radius);
translate([3,12]) color("Ivory") sphere(radius);
translate([4,12]) color("AntiqueWhite") sphere(radius);
translate([5,12]) color("Linen") sphere(radius);
translate([6,12]) color("LavenderBlush") sphere(radius);
translate([7,12]) color("MistyRose") sphere(radius);
//translate([8,12]) color("Gray colors") sphere(radius);
translate([9,12]) color("Gainsboro") sphere(radius);
translate([10,12]) color("LightGrey") sphere(radius);
translate([0,13]) color("Silver") sphere(radius);
translate([1,13]) color("DarkGray") sphere(radius);
translate([2,13]) color("Gray") sphere(radius);
translate([3,13]) color("DimGray") sphere(radius);
translate([4,13]) color("LightSlateGray") sphere(radius);
translate([5,13]) color("SlateGray") sphere(radius);
translate([6,13]) color("DarkSlateGray") sphere(radius);
translate([7,13]) color("Black") sphere(radius);
openscad-2013.01+dfsg.orig/testdata/scad/features/for-nested-tests.scad 0000644 0001750 0001750 00000000116 11640436733 025340 0 ustar chrysn chrysn for(x=[0:3], y=[0:0.5:1], z=[0,2,3]) {
translate(10*[x,y,z]) sphere(r=3);
}
openscad-2013.01+dfsg.orig/testdata/scad/features/surface-simple.scad 0000644 0001750 0001750 00000000054 11676112354 025051 0 ustar chrysn chrysn surface("surface-simple.dat", center=true);
openscad-2013.01+dfsg.orig/testdata/scad/features/render-tests.scad 0000644 0001750 0001750 00000001772 11674410135 024555 0 ustar chrysn chrysn module edgeprofile()
{
difference() {
cube([20, 20, 150], center = true);
translate([-10, -10, 0]) cylinder(h = 80, r = 10, center = true);
}
}
module rendered_edgeprofile()
{
render(convexity = 2) edgeprofile();
}
module mycube() {
difference() {
cube(100, center = true);
translate([ -50, -50, 0 ]) rotate(180, [0, 0, 1]) edgeprofile();
translate([ 50, -50, 0 ]) rotate(270, [0, 0, 1]) edgeprofile();
}
}
module rendered_mycube() {
difference() {
cube(100, center = true);
translate([ -50, -50, 0 ]) rotate(180, [0, 0, 1]) rendered_edgeprofile();
translate([ 50, -50, 0 ]) rotate(270, [0, 0, 1]) rendered_edgeprofile();
}
}
// Empty
render();
// No children
render() { }
mycube();
translate([110,0,0]) rendered_mycube();
// This may trigger a convexity issue
translate([-110,0,0]) {
difference() {
render(convexity=2) difference() {
cube(100, center = true);
cylinder(r=30,h=110,center=true);
}
translate([-55, -55, 45]) cube(10);
}
}
openscad-2013.01+dfsg.orig/testdata/scad/features/intersection-tests.scad 0000644 0001750 0001750 00000001655 11701151225 025775 0 ustar chrysn chrysn // Empty
intersection();
// No children
intersection() { }
intersection() {
sphere(r=5);
translate([0,0,3]) cube([4,4,6], center=true);
}
translate([0,12,0]) intersection() {
cube([10,10,10], center=true);
cylinder(r=4, h=12, center=true);
}
translate([12,0,0]) intersection() {
cube([10,10,10], center=true);
cylinder(r=4, h=12, center=true);
rotate([0,90,0]) cylinder(r=4, h=12, center=true);
}
translate([12,12,0]) intersection() {
cube([10,10,10], center=true);
translate([0,0,7.01]) cylinder(r=4, h=4, center=true);
}
translate([24,0,0]) intersection() {
cube([10,10,10], center=true);
translate([0,0,6.99]) cylinder(r=4, h=4, center=true);
}
translate([-12,0,0]) intersection() {
cube([10,10,10], center=true);
translate([0,-10,-10]) cube([10,10,10], center=true);
}
translate([-12,12,0]) intersection() {
cube([10,10,10], center=true);
translate([0,-9.99,-9.99]) cube([10,10,10], center=true);
}
openscad-2013.01+dfsg.orig/testdata/scad/features/ifelse-tests.scad 0000644 0001750 0001750 00000001507 11640436733 024546 0 ustar chrysn chrysn if (true) cube(2, true);
else cylinder(r=1,h=2);
translate([3,0,0])
if (false) cylinder(r=1,h=2);
else cube(2, true);
translate([0,3,0])
if (false) cylinder(r=1,h=2);
else if (true) cube(2, true);
else sphere();
translate([3,3,0])
if (false) cylinder(r=1,h=2);
else if (false) sphere();
else cube(2, true);
translate([6,0,0])
if (0) cylinder(r=1,h=2);
else cube(2, true);
translate([6,3,0])
if (1) cube(2, true);
else cylinder(r=1,h=2);
translate([9,0,0])
if ("") cylinder(r=1,h=2);
else cube(2, true);
translate([9,3,0])
if ("hello") cube(2, true);
else cylinder(r=1,h=2);
translate([12,0,0])
if ([]) cylinder(r=1,h=2);
else cube(2, true);
translate([12,3,0])
if ([1,2,3]) cube(2, true);
else cylinder(r=1,h=2);
translate([15,0,0])
if (ILLEGAL) cylinder(r=1,h=2);
else cube(2, true);
openscad-2013.01+dfsg.orig/testdata/scad/features/minkowski2-tests.scad 0000644 0001750 0001750 00000001310 11640436733 025364 0 ustar chrysn chrysn module roundedBox2dSimple() {
minkowski() {
square([10,10]);
circle(r=5);
}
}
module roundedBox2dCut() {
minkowski() {
difference() {
square([10,10]);
square([5,5]);
}
circle(r=5);
}
}
// Not quite correct, result does not contain a hole, since the impl currently returns the outer boundary of the polygon_with_holes.
module roundedBox2dHole() {
minkowski() {
difference() {
square([10,10], center=true);
square([8,8], center=true);
}
circle(r=2);
}
}
translate([-20,5,0]) roundedBox2dHole();
translate([0,0,0]) roundedBox2dCut();
translate([25,0,0]) roundedBox2dSimple();
openscad-2013.01+dfsg.orig/testdata/scad/features/union-tests.scad 0000644 0001750 0001750 00000001022 11640436733 024417 0 ustar chrysn chrysn translate([-12,0,0]) union() {
cube([10,10,10]);
translate([4,4,8]) cube([2,2,10]);
}
union() {
cube([10,10,10]);
translate([0,0,10]) cube([2,2,10]);
}
translate([12,0,0]) union() {
cube([10,10,10]);
translate([0,0,11]) cube([2,2,10]);
}
translate([24,0,0]) union() {
cube([10,10,10]);
translate([4,4,10]) cube([2,2,10]);
}
translate([-12,12,0]) union() {
cube([10,10,10]);
translate([-2,10,10]) cube([2,2,10]);
}
translate([0,12,0]) union() {
cube([10,10,10]);
translate([0,10,10]) cube([2,2,10]);
}
openscad-2013.01+dfsg.orig/testdata/scad/features/surface.dat 0000644 0001750 0001750 00000115230 11640436735 023426 0 ustar chrysn chrysn # Created by Octave 3.1.54, Sat Jul 25 03:55:47 2009 CEST
# name: d
# type: matrix
# rows: 46
# columns: 46
4.546487134128409 3.049135365122645 1.430224191212503 -0.2457055078678564 -1.91183970371809 -3.501754883740146 -4.952066146974032 -6.204954160076457 -7.210470231681788 -7.928527609104572 -8.330499610668049 -8.400360881165891 -8.135326272203333 -7.545961877274642 -6.655763794958727 -5.500221413615028 -4.125402561462865 -2.586116927645778 -0.9437309728873401 0.7362785576448079 2.386934985545012 3.942431847980459 5.340756393700049 6.526161835734216 7.451389799872247 8.079554366909637 8.385612597846531 8.357362916838071 7.995931549519037 7.315727623941807 6.343868724111537 5.119099797486346 3.690248516188934 2.114278671803671 0.4540192087657636 -1.224340567385163 -2.853889748744539 -4.369663351791345 -5.71123226627233 -6.825112373132667 -7.666896787563758 -8.203026221366581 -8.412126885869672 -8.285862597434599 -7.829267114791266 -7.060543458962299
5.035828673073257 3.377315902755755 1.584160205132016 -0.2721509607637287 -2.117612326675841 -3.878651171635513 -5.48506043417364 -6.872797646310392 -7.986538104655897 -8.781880491747168 -9.227117016458916 -9.304497503575988 -9.01093703726527 -8.358138946934957 -7.372128232423011 -6.09221402938029 -4.569422478079272 -2.864462472223704 -1.045305386934624 0.815524725479631 2.643842440626112 4.366758500792109 5.915585679634834 7.228577125140624 8.25338801176127 8.949162363424968 9.288161852373825 9.256871638758197 8.856539164652959 8.103124422478512 7.026663680467649 5.670072031436031 4.087432503458046 2.34183994020634 0.5028856086418853 -1.356117185191807 -3.161055866327164 -4.839973225360668 -6.325936125317769 -7.559703914604285 -8.492090164840738 -9.085923578545179 -9.317529891462899 -9.17767569077386 -8.67193652212408 -7.820474610215396
5.324407614299007 3.570853513082628 1.674940750779526 -0.2877466136759709 -2.238962428681152 -4.100917877109334 -5.799382670971877 -7.266644378753076 -8.444207906375773 -9.285127512010241 -9.755878384655105 -9.837693172558298 -9.52731017830761 -8.837103392413644 -7.794589181356518 -6.441329296887258 -4.831273940141129 -3.028610937368119 -1.105206773856724 0.8622584960466719 2.795348240726728 4.616996272280487 6.254579232232685 7.64281185566189 8.726349688693348 9.461995497225455 9.820421404336635 9.787338100188716 9.364064511717672 8.567475221178798 7.429327729803009 5.99499638643935 4.321663455453438 2.476039440296261 0.5317035462487614 -1.4338296903001 -3.342200661807952 -5.117328639853587 -6.688444873692612 -7.992913917025852 -8.978730705585699 -9.60659383493706 -9.851472383449366 -9.703603816152382 -9.168883186197988 -8.268628117693945
5.400719226082497 3.622032462322777 1.698946694274643 -0.2918707171379004 -2.271052164109463 -4.159693928017514 -5.882501821688773 -7.370792931037254 -8.565233786107424 -9.418205799283712 -9.895703668109622 -9.97869105938673 -9.663859527706666 -8.963760412729174 -7.906304456877885 -6.53364909211736 -4.900517756176106 -3.07201824177415 -1.121047054386814 0.8746167413903643 2.835412327701047 4.683168972167305 6.344222448307544 7.752351795785409 8.851419341126077 9.59760872960501 9.961171745040346 9.927614277296112 9.498274156714555 8.690267819042166 7.535807927150502 6.080919153820417 4.383603323277566 2.511527061495859 0.5393241413542663 -1.454379930367366 -3.39010246382654 -5.190672310139893 -6.784306431561657 -8.107471664674037 -9.107417587122166 -9.744279510489891 -9.992667759626542 -9.842679878873495 -9.300295411722241 -8.387137515284946
5.261721205277139 3.528812407274513 1.655220994405354 -0.2843588561588514 -2.212602216474262 -4.052636108688901 -5.731104188082895 -7.181091229043116 -8.344790823945194 -9.175809942206806 -9.641018474015334 -9.721870023257994 -9.41514129380829 -8.733060592170913 -7.702820323490013 -6.365492916166737 -4.774393393750382 -2.992953873194801 -1.092194726527053 0.852106777267553 2.762437472830941 4.562638503728103 6.180941535720031 7.552829933771732 8.623610836697077 9.350595588940964 9.704801602564489 9.672107801566185 9.253817584620604 8.466606862686255 7.341859243059576 5.924414863988718 4.270782759862838 2.446888024335571 0.5254435848797225 -1.416948632172156 -3.302851578699326 -5.057080255534608 -6.609699101121306 -7.898810101657983 -8.873020469578222 -9.493491511811653 -9.735487005914017 -9.589359355196404 -9.06093420796045 -8.171278207284479
4.91295496433882 3.294909737359715 1.545506856841021 -0.2655105049310103 -2.06594280073829 -3.784012476539642 -5.351225516043248 -6.705102080990831 -7.7916673851425 -8.567603498676819 -9.001976297355174 -9.077468708436898 -8.791071087722237 -8.154201204569132 -7.19224905145976 -5.943564625123038 -4.457929033185433 -2.794569878503285 -1.019800041540425 0.7956260049135155 2.579332953294609 4.260210036383667 5.771245989192293 7.052200576631698 8.052006181586624 8.730803709656549 9.061531645466804 9.031004909888981 8.640440507537887 7.905409008638012 6.855213799524476 5.531722849102 3.987699565046725 2.284699283246702 0.4906152508091408 -1.32302806345222 -3.083926423880241 -4.721878369680736 -6.171583925630922 -7.375247906025503 -8.284884026347463 -8.864227965002353 -9.090183107381513 -8.953741335000977 -8.460342150758638 -7.629655823119084
4.368324712698232 2.929649413905326 1.374178238023352 -0.2360770877384193 -1.836920764996389 -3.364532208092634 -4.75801036944758 -5.961801672142627 -6.927914755722455 -7.61783374029087 -8.004053733098379 -8.071177361819418 -7.816528619197737 -7.250259547011087 -6.394945506202153 -5.284685168478457 -3.96374110987594 -2.484775201531057 -0.9067491470627086 0.7074261344866228 2.29339856846624 3.787940438758798 5.131469077295334 6.270422237007184 7.159393449591173 7.762942238112459 8.057007016981043 8.029864351438505 7.682596333906389 7.029047444376102 6.095272614680437 4.918498500582482 3.545639372485864 2.031426791520294 0.4362276349147517 -1.176362540898928 -2.742054854433646 -4.198430093976552 -5.487427174584921 -6.55765785032041 -7.366455401449627 -7.881575621917326 -8.082482294089306 -7.961165902943748 -7.522462950159604 -6.783863138057164
3.649543139808145 2.44759321336187 1.148065469325888 -0.1972320220420281 -1.534666495092764 -2.810918657904327 -3.975108364192017 -4.980823044179203 -5.787968027290999 -6.36436499014402 -6.687034804755113 -6.743113643859221 -6.530365821108268 -6.05727292083076 -5.342695664029783 -4.415121990955059 -3.311531336824084 -2.075920378435365 -0.7575490255040018 0.5910234164900096 1.916033619950813 3.164657609377909 4.287116686573691 5.238661950254811 5.981358293533024 6.485596756915665 6.731274944084161 6.708598440998452 6.418471288276723 5.872459939948812 5.092332145434113 4.109189138064303 2.962225727056051 1.697167724153914 0.3644489998122177 -0.9827991560666609 -2.290866210995255 -3.50760365933783 -4.584504018666033 -5.478634670009056 -6.15434944589027 -6.584709730536586 -6.752558417479561 -6.651203909247942 -6.284686890242273 -5.667619237398981
2.785265798733263 1.867959195228706 0.8761829532964909 -0.1505239380284582 -1.171229914949966 -2.145242651192145 -3.033731332635951 -3.801274719340386 -4.417273278600766 -4.857169091755243 -5.103424900904859 -5.146223264043962 -4.983857945492241 -4.622801938126964 -4.077449405583663 -3.369541832375409 -2.527301259514483 -1.584305160797028 -0.5781478148826403 0.4510584599601819 1.462282457401677 2.415209867765704 3.271850482337386 3.99805274309953 4.564865257579304 4.949690999504721 5.137188180933072 5.119881880922376 4.898462047040874 4.481755989334729 3.886376463332679 3.136059371907682 2.260717489732352 1.295247935347975 0.2781409331724952 -0.750054670284097 -1.748347960970855 -2.676940135684732 -3.498811154761955 -4.181195614235898 -4.696888999096009 -5.025332241452506 -5.153431345695215 -5.076079404778086 -4.796360196487312 -4.325425242952448
1.809948699677379 1.213855538667884 0.5693697878743604 -0.09781493961144824 -0.7611000941278394 -1.394042589681589 -1.971409006340514 -2.470181567057512 -2.870475783804629 -3.156333189361605 -3.316357551044089 -3.344169202537879 -3.238659381062657 -3.004034430245145 -2.649648106472589 -2.189628674143088 -1.642315656348354 -1.029528695961759 -0.37569767533284 0.2931112260290228 0.950234707775073 1.569475330361154 2.126145924291543 2.598053789661878 2.966385449071229 3.216456681596708 3.338297936342937 3.327051786975494 3.183166581980383 2.912378570424738 2.5254832158083 2.037904815000729 1.469081580199606 0.8416906987509336 0.180744265251656 -0.4874078717316904 -1.136128594973583 -1.739555456394979 -2.273631731254591 -2.717065483848913 -3.052178409798129 -3.26561061425464 -3.348853228751029 -3.298587632934588 -3.116817757488257 -2.810790193738072
0.7624746575887673 0.5113592923230357 0.2398576457599462 -0.0412063682250215 -0.3206276143430717 -0.5872664492762099 -0.8304928241031526 -1.04061007080476 -1.209241477818354 -1.32966424309348 -1.397077490994629 -1.408793668062789 -1.364345687290786 -1.265505549408286 -1.116213698804572 -0.9224219304455371 -0.6918561105903662 -0.4337081708841666 -0.1582696550500929 0.1234785724820486 0.4003040989885004 0.6611707643009137 0.895678637685649 1.094478630263245 1.249645213679287 1.354992385909446 1.406320287639134 1.401582637400947 1.340968310359362 1.226893808453956 1.063906922092792 0.8585054241002257 0.6188780240193119 0.3545779101032878 0.07614189384674533 -0.2053296594378249 -0.4786153671558212 -0.7328201905434427 -0.9578097854819362 -1.144614526816829 -1.285787099007545 -1.375699397096658 -1.410766901494015 -1.389591581461206 -1.31301763018535 -1.184097809460741
-0.3153968429699904 -0.2115232353191719 -0.09921686377634671 0.01704497102832257 0.132627276626609 0.2429221512353662 0.3435324862595468 0.4304472651360086 0.5002014699063924 0.5500142205486248 0.5778996398878249 0.5827460242524682 0.5643601635915864 0.5234750441497907 0.46172062661877 0.3815588647481526 0.286185555018652 0.1794029303213007 0.0654680769307238 -0.05107678209061699 -0.1655853709921119 -0.2734925936870061 -0.3704965297273865 -0.452729938296945 -0.5169144328985401 -0.5604911802782915 -0.5817229130325473 -0.5797631889770021 -0.5546901361254837 -0.5075033379725885 -0.4400839832541203 -0.3551198688886271 -0.2559982459960941 -0.1466707808848774 -0.03149601458619469 0.08493439842261759 0.1979787449923144 0.3031303037572243 0.3961970138943235 0.4734685993594334 0.5318644858846474 0.5690566137530826 0.5835622501931699 0.5748031012552267 0.5431283665663152 0.4898008178430777
-1.380694466691827 -0.9259729990693727 -0.4343359100507957 0.07461678107528391 0.5805947366067604 1.063426212162366 1.503862240474527 1.884344026970699 2.189702963502988 2.407765352887697 2.529837735795723 2.5510534715422 2.470566755693045 2.291586339618643 2.021247607702515 1.670328112082959 1.25281790565982 0.7853618028335425 0.2865958032807762 -0.2235958665434362 -0.7248734747661234 -1.197252665020412 -1.6219011696696 -1.981889592889172 -2.262866332254524 -2.453629731840534 -2.546574656894428 -2.537995686558978 -2.428234837308953 -2.22166792783356 -1.926530128954008 -1.55458765335044 -1.120668673792816 -0.6420721706855765 -0.1378782763090046 0.3718123898439437 0.8666800693356641 1.32699594943008 1.734408688598593 2.072676026595801 2.328312312120061 2.491126133174475 2.554626616502324 2.516282198220691 2.377621549283654 2.144172632195354
-2.390948159060002 -1.603507141423449 -0.7521393542177419 0.1292138555276426 1.00541571661104 1.84153482584592 2.604237752873515 3.263117938841503 3.791907909952001 4.169526478750082 4.380919184542068 4.417658467236295 4.278279647569251 3.968339319245766 3.500193825082827 2.89250664861418 2.169504359897848 1.360010778619294 0.4962978593593797 -0.3872008893947277 -1.255263160571735 -2.073282050748716 -2.808645728182195 -3.432037563627176 -3.918604891831163 -4.248949808870655 -4.409902505366961 -4.395046305226375 -4.20497347826705 -3.847261628290367 -3.336171597929878 -2.692078933858195 -1.940661578039921 -1.111876169216943 -0.2387637662554357 0.6438673946040369 1.500829594281713 2.29795845417703 3.003474962131552 3.58925240135922 4.031937673885623 4.3138823148693 4.423846081201991 4.357445064530748 4.117326463849724 3.713063050030014
-3.30588229339968 -2.217114514208372 -1.039957375845013 0.1786595813180147 1.390153944766803 2.546227257322191 3.600790524212898 4.511801635854819 5.2429414540886 5.765061741606376 6.057347210190657 6.108145360569123 5.915431030789019 5.486887133033441 4.839598360157432 3.99937007289772 2.999699521573657 1.880440416423686 0.6862140859437864 -0.535369434668916 -1.735609465377321 -2.86665622373352 -3.883418444706294 -4.745361027124189 -5.418121040243312 -5.874877665357591 -6.097421457202605 -6.076880297075037 -5.814073096207792 -5.31947714836337 -4.612810433194559 -3.722245522619361 -2.683286429282323 -1.537353173609781 -0.3301304983038976 0.8902534381823263 2.075145779445412 3.177308606983185 4.152802166937654 4.962736609421381 5.57482240410846 5.964657621913146 6.116700762897727 6.02489034683103 5.69288656527711 5.133925361308007
-4.089021333016357 -2.742332527821242 -1.286315578672616 0.2209827133941487 1.719471122029165 3.149409643133779 4.453791140303494 5.580614039459991 6.484955467509192 7.130762185529173 7.492287917633426 7.555119773743378 7.316752846033308 6.786690071700684 5.986063380848329 4.946791233116909 3.710306129423557 2.325902828898148 0.8487731223953848 -0.6621944900388012 -2.146762497830699 -3.545745859334898 -4.803371522675512 -5.869501921322429 -6.701633800650617 -7.266592688575257 -7.541855457065665 -7.516448248184021 -7.191383967171353 -6.579621901111978 -5.705551073052852 -4.604017928618686 -3.31893711818922 -1.901540758369277 -0.4083359691720135 1.101147886537466 2.566732450883808 3.929989492206033 5.136570254273005 6.138372169686898 6.895456557448895 7.377640852136887 7.565701887542177 7.452142263644087 7.041489244289306 6.35011426946898
-4.709143995738668 -3.158222397480602 -1.481392438582083 0.254495962038536 1.980238411761126 3.627035005010469 5.129233158380877 6.426944971957868 7.468434770900569 8.212181643536248 8.628534749081897 8.700895403097618 8.426378814655045 7.815929093848203 6.89388294466016 5.696999437374171 4.272994540441402 2.678638835395257 0.9774942529155544 -0.7626199407663925 -2.472330883996379 -4.083477796772693 -5.531829335951035 -6.759644296201945 -7.717973569654379 -8.368611592358691 -8.685619479556678 -8.656359127161986 -8.281997053088212 -7.577457891860837 -6.57082939653611 -5.302242668622715 -3.822272257705642 -2.189919913751454 -0.4702623735279068 1.268143043529455 2.955991599298102 4.525994098173628 5.915559494955271 7.069290202300532 7.941190617715322 8.496500823077938 8.713082352883248 8.582300785000461 8.109369967835956 7.313144160650595
-5.141527947914094 -3.448203906499507 -1.617410856769451 0.2778632597848961 2.162059845019839 3.960061927008222 5.600188836664843 7.017053889821449 8.154171147984922 8.966207334453294 9.420789129000436 9.499793789993564 9.200071650912507 8.533571687614522 7.52686515037404 6.220086251984656 4.665332143345871 2.924585964458808 1.067245772233472 -0.8326421410420161 -2.699335239708387 -4.458414360612515 -6.039750570299125 -7.380300984282985 -8.426622087910019 -9.137000360635794 -9.48311526245501 -9.451168284460866 -9.042433051851468 -8.273204548512339 -7.1741494874307 -5.789083725623066 -4.173225464184948 -2.390993872864271 -0.513440901049977 1.384581339232713 3.227404690819291 4.941561602047335 6.458714046201143 7.718377942983702 8.670334467929564 9.276632118461686 9.513099720536216 9.37031005707512 8.853955701361743 7.984622072107995
-5.368935405835869 -3.600716407202944 -1.68894820813253 0.2901530262118541 2.257686775031992 4.135213676674213 5.847882658448798 7.327415012691896 8.514826453374175 9.362778633449111 9.837466375364958 9.919965376815327 9.606986662953039 8.911007707438348 7.859774994939016 6.495197856345744 4.871677676002062 3.053939080184086 1.11444957050123 -0.8694695267085139 -2.818725617658153 -4.655608013234817 -6.306886008944467 -7.706728362007201 -8.799327775264402 -9.541125758006334 -9.902549165539984 -9.869189187144494 -9.442375779884992 -8.639124647421326 -7.491458877599298 -6.045132282992935 -4.357805340781697 -2.496746451483471 -0.5361501601036421 1.445820746239842 3.370151341981964 5.160124638846803 6.744380050075756 8.059758311830187 9.05381944373006 9.686933365387848 9.933859822653556 9.784754636897503 9.245562161347152 8.337778298482458
-5.382300351782382 -3.609679707468892 -1.693152524221641 0.2908753071145678 2.263306857866227 4.145507506472566 5.862439852701268 7.345655222001519 8.536022498156086 9.386085494285842 9.861954881263999 9.944659248324436 9.630901433341164 8.933189970277535 7.879340413410047 6.511366418956426 4.883804793183958 3.061541282044484 1.117223781242091 -0.8716339061148982 -2.825742300234944 -4.667197265990103 -6.322585804942894 -7.725912799925885 -8.82123203210352 -9.564876580168589 -9.927199682695818 -9.893756660964112 -9.465880782714354 -8.660630108971949 -7.510107442983564 -6.060180492757929 -4.368653270291459 -2.502961628021068 -0.5374848041936438 1.449419842645591 3.378540694267371 5.172969790010383 6.761168904475835 8.079821550822126 9.076357209288462 9.711047147921935 9.958588281749131 9.809111926925592 9.26857723401821 8.358533615477349
-5.181089967534271 -3.474736468801078 -1.629856192221796 0.2800013074327352 2.178696038555143 3.990533033893282 5.64328007002529 7.071047338165455 8.216914262913187 9.035198745970977 9.493278367245317 9.572890937789841 9.270862555648927 8.599234139312866 7.58478139429494 6.267947350248265 4.701230024998847 2.947089494241964 1.075457805428347 -0.8390489922843309 -2.720105554446849 -4.492720091943021 -6.086224056971523 -7.437089475039214 -8.491461604830073 -9.207305956793 -9.556084075592718 -9.52389127826568 -9.112010990051067 -8.336863578276587 -7.229351724130582 -5.83362843028209 -4.2053367799973 -2.409391623001631 -0.5173916252718265 1.395235143833869 3.252238290674027 4.979584959896401 6.508411290756739 7.777767801934123 8.737049255013993 9.348012125649753 9.586299252193967 9.442410878869843 8.922083381055785 8.046060574101277
-4.773325876155424 -3.201266452287175 -1.501582637146705 0.2579645392187804 2.007227483459789 3.676468602107865 5.199140519357471 6.514539110936956 7.570223585980346 8.324107135872664 8.746134802496814 8.819481674569811 8.541223643761541 7.922453979666336 6.987841076151081 5.774645000337366 4.331232051306271 2.715146548382711 0.9908167207155332 -0.773013842903595 -2.506026783992408 -4.139132345428268 -5.607223762039341 -6.851772861875711 -7.823163399728696 -8.482669100254197 -8.803997552362862 -8.774338404679673 -8.394874073827912 -7.680732605209696 -6.660384565575114 -5.374508011369955 -3.874366782992262 -2.219766777248058 -0.4766716749741102 1.285426822756593 2.996279409462914 4.587679791420381 5.996183857354676 7.165638994948616 8.049422718295403 8.612301359286031 8.831834722770459 8.699270706324162 8.219894218952904 7.412816488448197
-4.175264345195113 -2.800172044501049 -1.3134457208466 0.2256435388803507 1.755737102771503 3.215834968923976 4.547727643019533 5.698316767172359 6.621731983896433 7.281159642506184 7.650310443197156 7.714467508468514 7.471073098587216 6.929830580599756 6.112317585708757 5.05112577720909 3.78856152372123 2.374959277779841 0.8666749000507603 -0.676161070992536 -2.192040633885014 -3.620530454088728 -4.904681150332459 -5.993297686728825 -6.842980357299839 -7.419854995298554 -7.700923429341156 -7.674980347925095 -7.343060019838303 -6.718395061126436 -5.825888892449073 -4.701122918285288 -3.388938008620714 -1.941646834964742 -0.4169483292196312 1.12437259065492 2.620868323502963 4.012878306921188 5.244907495612248 6.267838773715967 7.040891099220648 7.533245315416116 7.725272813416223 7.609318062853523 7.190003813716571 6.484046801895833
-3.410748200600429 -2.287443613754537 -1.072945868473995 0.1843268427061244 1.434251024344538 2.626996143683169 3.715011216738866 4.654920515979006 5.409252823698197 5.947935291220925 6.249492348477882 6.301901867214561 6.103074445306729 5.660936704629639 4.993115281657762 4.126234109092623 3.094853003682659 1.940089875389279 0.7079814860717643 -0.5523518909306521 -1.790664741088856 -2.957589438789203 -4.00660437877821 -4.895888645756584 -5.589989282298683 -6.061234686386791 -6.290837790860787 -6.269645044499783 -5.998501335223617 -5.488216307077675 -4.759133413836612 -3.840318889699831 -2.768402970257767 -1.586119560592286 -0.3406025693357043 0.9184931715267248 2.140971488113207 3.278096027694826 4.284533223282468 5.120159599884286 5.751661370836673 6.153862553350843 6.310728655499175 6.216005920808633 5.873470645796447 5.296778630944794
-2.510256288486159 -1.683522024573375 -0.7896710502018139 0.1356616169901937 1.05558588361779 1.933427272159427 2.734189016642643 3.425947273264703 3.981123823303499 4.377585529669897 4.59952671523833 4.638099285316098 4.491765473256983 4.166359146364736 3.674853228013503 3.036842508131333 2.277762460760673 1.427875211974583 0.5210630844078612 -0.4065221840245499 -1.317900695834841 -2.176738665778339 -2.948796934213331 -3.60329597434807 -4.114142974843539 -4.460972077860914 -4.629956301545421 -4.614358778159311 -4.414801331739156 -4.03923968793379 -3.502646304328436 -2.826413465809092 -2.037500441671404 -1.16735870462873 -0.2506780598459248 0.6759963281225712 1.575720875718599 2.412626404474485 3.153348131966858 3.768355820403181 4.233131054014477 4.529144710919736 4.644595660743251 4.574881238442103 4.322780738036853 3.898344610929531
-1.509688379721747 -1.012483724933438 -0.4749145391091887 0.08158799070985261 0.6348378648050846 1.162778756577268 1.644363328685269 2.060392323967141 2.394279979236409 2.632715247320912 2.766192466508119 2.789390321280759 2.701383986374111 2.505681996640854 2.210086372838312 1.826381579681559 1.369864716423261 0.8587356697792575 0.3133715418782656 -0.2444857204963248 -0.7925961087140347 -1.309108191258972 -1.773430261348203 -2.167051263300292 -2.474278769910309 -2.682864590002175 -2.784493065159446 -2.775112588784801 -2.655097130869491 -2.429231328989921 -2.106519739906278 -1.699827856300014 -1.225369200180058 -0.7020589409250443 -0.150759807170451 0.4065496443459431 0.9476512444838604 1.450972979990634 1.896449001595198 2.26631958609706 2.545839160486248 2.723864161406895 2.793297293862669 2.75137047797148 2.59975520357519 2.344495893214314
-0.4489339593550001 -0.3010808942575579 -0.141224684021771 0.02426170870570256 0.1887808636693288 0.3457739213309235 0.4889820639017611 0.612696034656969 0.7119837479845479 0.7828869160746246 0.8225788533633334 0.829477167566125 0.8033068446646229 0.7451112128476809 0.657210348308904 0.5431085811302354 0.4073547887001401 0.2553610463269413 0.09318686487506814 -0.07270238281121608 -0.2356932159204538 -0.3892877042838959 -0.5273625203459285 -0.6444130569104365 -0.7357728784589211 -0.7977997572088324 -0.8280208772415469 -0.825231417869619 -0.7895425860355593 -0.7223771828419703 -0.6264128809614945 -0.5054754742772395 -0.3643863555536506 -0.2087703027217771 -0.04483123673317359 0.1208951091908324 0.2818017486179796 0.4314738416045685 0.5639444341208273 0.6739323416782621 0.757052693489469 0.8099917434291753 0.8306389786351164 0.8181712589957502 0.7730856331489335 0.69717952272126
0.6297180412781989 0.4223250815566671 0.1980953535573332 -0.03403181106229467 -0.2648022347684586 -0.4850158290061779 -0.6858933726973768 -0.8594265120808325 -0.9986970285048157 -1.09815264597303 -1.153828382867369 -1.163504623252803 -1.126795605960306 -1.045164803667328 -0.9218665788603957 -0.761816442672515 -0.5713950889660844 -0.3581940162040492 -0.1307128783625411 0.1019793694509399 0.3306060216189227 0.5460524549925905 0.7397295001538707 0.903915864495442 1.03206595579104 1.119070834301707 1.161461890080995 1.157549125507695 1.107488530157902 1.013275861992868 0.8786670827870677 0.7090286197848682 0.5111234231810415 0.2928413486382201 0.06288461363950699 -0.1695791324611385 -0.3952822936884582 -0.6052267972518273 -0.7910428183123687 -0.9453224584867627 -1.061915075378811 -1.13617248928231 -1.165134291437744 -1.14764586618743 -1.08440442185818 -0.9779311952654839
1.683265170795829 1.12889428909309 0.5295179545161437 -0.09096858991682827 -0.7078285037378014 -1.296469528796759 -1.833424404988772 -2.297286435859161 -2.669562906038411 -2.93541232744681 -3.084236122589167 -3.110101156393801 -3.011976271584753 -2.793773397668383 -2.464191594648746 -2.036370248956716 -1.527365247576704 -0.9574690136555669 -0.3494015116281765 0.2725955260675967 0.8837250403639841 1.459623226056689 1.977330839833961 2.416208512855347 2.758759577256071 2.991327603080867 3.104640837050949 3.094181838108516 2.960367573536122 2.708532795786939 2.348717362739231 1.895265980245349 1.366256323976739 0.7827783395423258 0.1680934529102542 -0.4532927892397816 -1.056607678330947 -1.617798953605395 -2.114493689859416 -2.526890235369443 -2.838547641258541 -3.037041110245732 -3.114457334104856 -3.067709972291675 -2.898662694601847 -2.614054882537336
2.669705829804243 1.790458043755305 0.8398303456189292 -0.1442787381593636 -1.122635883945128 -2.056237079720395 -2.907862591958544 -3.643560798946349 -4.234001734801155 -4.655646382654547 -4.891685100973239 -4.932707770921118 -4.777078948101876 -4.431003062566172 -3.908277067764701 -3.229740399552937 -2.422444173646198 -1.518572743000832 -0.5541606092254262 0.4323441592848651 1.401612730505363 2.315003425205354 3.136102238758166 3.832174552594589 4.375470160145175 4.744329580005311 4.924047551108387 4.907459285079375 4.695226103737553 4.295809074282484 3.725131693245221 3.005945066931102 2.166920896606633 1.241508428248773 0.2666009366630344 -0.7189350929595494 -1.675809449156724 -2.565874570938535 -3.353646370662466 -4.007718872631197 -4.502016270236361 -4.816832486081088 -4.939616791099661 -4.865474162519273 -4.597360432970828 -4.145964450769626
3.54971374212228 2.380641886330078 1.116661351079797 -0.1918369484093717 -1.492687314141955 -2.73402894710691 -3.866373473677969 -4.844577890900531 -5.62964427556248 -6.19027450832758 -6.50411803098649 -6.558662892681309 -6.351734561902528 -5.89158261819819 -5.196551867470355 -4.294350992454181 -3.22094789497706 -2.019135769216056 -0.736827072087785 0.5748565952123353 1.863622544126233 3.078091743206837 4.169847137965979 5.095363886047989 5.817744555343825 6.308190108172687 6.547148028033732 6.525091816737419 6.242900785825731 5.711825001195826 4.953036778474351 3.996786609606501 2.881197171203133 1.65074349372734 0.3544798823789649 -0.9559157232538983 -2.228201985567143 -3.41165686621379 -4.459099753710306 -5.328772405529383 -5.986003717453734 -6.404591951090286 -6.567849314495497 -6.46926725177881 -6.112775918687044 -5.51258749969712
4.288205769311382 2.875917049446775 1.34897459230178 -0.231747224902796 -1.803230011571154 -3.302823708099532 -4.670744246048903 -5.852456950294104 -6.800850664426962 -7.47811592389443 -7.857252300035656 -7.923144821967909 -7.673166562777629 -7.117283366806719 -6.277656542887673 -5.187759362894486 -3.891042588024042 -2.439202224064016 -0.890118564778289 0.6944513127535784 2.25133560791381 3.718466256886861 5.037353390496664 6.155417140715221 7.02808383407551 7.620563003372249 7.909234373801725 7.882589528780094 7.541690714195699 6.900128490017602 5.983479917557116 4.828288882746387 3.480609206727212 1.994168625333327 0.4282268338104019 -1.154787010228619 -2.691763140310978 -4.121427168338916 -5.386782901080704 -6.437384598532856 -7.23134808638331 -7.737020545868154 -7.93424241176944 -7.815151070663276 -7.384494318505103 -6.659441080987506
4.855740564693871 3.256538475283084 1.527508473464183 -0.2624184708600041 -2.041883618860373 -3.739945310513147 -5.288907184715668 -6.627017019575332 -7.700928598626055 -8.46782845613504 -8.897142714875848 -8.971755970131976 -8.688693626872098 -8.059240487467115 -7.108490862230847 -5.874348138457536 -4.406013691981442 -2.762025383586276 -1.007923839222646 0.7863604479231795 2.549295025514206 4.210597255203638 5.704036259636104 6.970073338524186 7.958235588743649 8.629128099704545 8.956004504118614 8.925833271260007 8.539817232971965 7.813345630556984 6.775380594289642 5.467302514677827 3.941260336876582 2.258092546810274 0.4849017327257366 -1.307620583246664 -3.048012193000405 -4.66688917517789 -6.099712013161457 -7.289358581934639 -8.188401426947269 -8.760998547062469 -8.984322302035931 -8.849469478495738 -8.361816232963735 -7.540803761460487
5.229692306937458 3.507331988711279 1.645145412121301 -0.2826279204933955 -2.199133769801996 -4.027967095476507 -5.696218084039577 -7.137378833047617 -8.293994811283408 -9.119955389607474 -9.582332126231357 -9.662691519780038 -9.357829894821458 -8.679901122296229 -7.655932083036974 -6.326745191317807 -4.74533093401977 -2.974735307140072 -1.085546370884799 0.8469198735379744 2.745622095213007 4.534865028263448 6.143317203231159 7.506854707664531 8.571117604153223 9.293677089490007 9.645726997162825 9.613232208310484 9.197488187621289 8.415069337243999 7.297168227677697 5.888352048419835 4.244785854760888 2.431993444268991 0.5222451297532001 -1.408323450046034 -3.282746618113592 -5.026297037822943 -6.569464856031814 -7.85072884157588 -8.819009042613789 -9.43570318311505 -9.676225613788761 -9.530987464336391 -9.005778921451114 -8.121538392346379
5.395152720151853 3.618299243775675 1.697195594753702 -0.2915698868206932 -2.26871139710953 -4.155406543328425 -5.876438743808457 -7.363195875747651 -8.556405624029034 -9.408498481379727 -9.885504194511661 -9.968406050920841 -9.653899015204164 -8.95452149039132 -7.898155451383183 -6.526914878599211 -4.895466806476436 -3.068851921318294 -1.119891594379443 0.8737152764050196 2.832489876287216 4.678342043240527 6.337683476291875 7.744361468860196 8.842296208410893 9.587716501611499 9.950904793681877 9.917381913524109 9.488484312582518 8.681310784741999 7.528040791374196 6.07465156776076 4.379085155812245 2.508938437703814 0.5387682614972115 -1.452880905113711 -3.386608294868589 -5.185322298967513 -6.777313866237354 -8.099115316710975 -9.098030597743653 -9.734236109340088 -9.982368345415507 -9.832535056744142 -9.290709623719028 -8.378492916525859
5.345525419802729 3.585016326194277 1.681583944833682 -0.2888878818624344 -2.247842660347122 -4.117183045441479 -5.822384335036501 -7.295465534789873 -8.477699545843972 -9.321954428933225 -9.794572406069209 -9.876711689935791 -9.565097646490701 -8.872153344291123 -7.825504285953553 -6.466877066541816 -4.850435865897734 -3.040623093715808 -1.109590274028466 0.86567840836979 2.806435224432541 4.635308324315644 6.279386308869567 7.673124977038238 8.760960366318479 9.49952391260276 9.859371417972785 9.826156897953913 9.401204510644819 8.601455766712713 7.458794124825067 6.018773898766608 4.338804150703687 2.485859973040466 0.5338124028368944 -1.439516583325327 -3.35545658596765 -5.137625123282998 -6.714972759646662 -8.02461562240514 -9.014342383437267 -9.644695760044115 -9.890545552295466 -9.742090504798149 -9.205249051818882 -8.301423367986789
5.082788889746999 3.408810120860735 1.598932849578142 -0.2746888286927486 -2.137359530194382 -3.914820452055196 -5.536209836422897 -6.936888005132817 -8.061014339694061 -8.863773470533452 -9.313161924357349 -9.391264001639069 -9.094966019022742 -8.436080442052933 -7.440874959449751 -6.149025273252079 -4.612033353781187 -2.891174218607906 -1.055053090966565 0.8231296739990461 2.668496856398217 4.407479490061577 5.970749825062005 7.295985206327845 8.330352681230107 9.032615282679755 9.374776016874794 9.343194015093491 8.939128352084104 8.178687850727879 7.092188874105124 5.722946707767992 4.125548715994828 2.363678115836767 0.5075751282179191 -1.368763278017028 -3.190533411739751 -4.885107046646795 -6.384926879450768 -7.630199826372963 -8.571280784705591 -9.170651826392648 -9.40441791942675 -9.263259547370208 -8.752804249065901 -7.893402266422392
4.617417606324923 3.096705413130865 1.452537347334307 -0.2495387987538081 -1.941666620400823 -3.5563863211758 -5.029324122151516 -6.301758641327084 -7.322961929822302 -8.052221835118193 -8.460465066103314 -8.531416253444307 -8.262246797201303 -7.663687634181376 -6.759601429351459 -5.586031246689127 -4.189763625962253 -2.626463351031946 -0.958454270580386 0.7477653570618542 2.424173939628084 4.00393835714458 5.42407838751986 6.627977529253878 7.567640122689131 8.205604785502139 8.516437879800469 8.48774747100499 8.120677355176557 7.429861459476516 6.442840433670812 5.198963691333348 3.747820672901074 2.147263871172282 0.4611024349828368 -1.24344170019649 -2.89841373869619 -4.437835167907522 -5.800334113373086 -6.931592041751236 -7.786509269328339 -8.331002944088237 -8.54336582146739 -8.41513166369451 -7.951412761973714 -7.170696125567001
3.967964454042534 2.661144832798496 1.248233764798917 -0.2144404443737696 -1.668565589735227 -3.056170290497144 -4.321935126079993 -5.415398046841001 -6.292966136751218 -6.919653525392167 -7.270476164205151 -7.331447861665553 -7.100137868602942 -6.585767784499835 -5.808843921420753 -4.800339782061639 -3.600461243939888 -2.257043677934734 -0.8236449030035197 0.6425899950486453 2.083206857808219 3.440772837086368 4.661166061336456 5.695733303881148 6.503229633525916 7.051462719809843 7.318576239632341 7.293921219883536 6.978480578397405 6.384829938119489 5.536636276704745 4.467714398803897 3.220678846510804 1.845244992047145 0.3962470427578658 -1.068548025696312 -2.490743456364277 -3.813640805422481 -4.984500330207981 -5.956643556328476 -6.691314201133876 -7.15922326440309 -7.341716688355996 -7.231519036070902 -6.833023540195608 -6.162116958625413
3.160321080613384 2.119492805710582 0.9941670410904191 -0.1707930261825025 -1.328944114470087 -2.434114394639413 -3.442244215186624 -4.313142621504115 -5.012089642410857 -5.511220465838168 -5.790636320954395 -5.839197779363776 -5.654968848964071 -5.245294155842311 -4.626506137210002 -3.823273918671509 -2.867619834034114 -1.797642795911458 -0.6559994123056947 0.5117965977428373 1.659188892506926 2.740434562000088 3.71242775344765 4.536418165608486 5.179555901001853 5.616201087656102 5.8289460598929 5.809309347024744 5.558073802826458 5.085255395625619 4.409703903252567 3.558351431882195 2.565138717949963 1.469662018096385 0.3155945313679901 -0.8510547134099066 -1.983775092422612 -3.037408618664727 -3.969950248377854 -4.74422248959062 -5.329357551403209 -5.702027945401628 -5.847376479006589 -5.759608564857086 -5.442223232722587 -4.907873634227967
2.22668567867006 1.493343288905311 0.7004660147291653 -0.1203366290059004 -0.9363418310866921 -1.715018039159572 -2.425321890063545 -3.038935810756489 -3.531396950591077 -3.883072437973098 -4.079942080996805 -4.114157308252927 -3.984354066603155 -3.695707201674252 -3.259724153093075 -2.693786189182488 -2.020455470643085 -1.266575568405079 -0.4622012951650975 0.3605994851525819 1.16902430193471 1.930843808868214 2.615686666272127 3.196250350568365 3.649389619738685 3.95703924108492 4.10693419504852 4.093098642835834 3.916084164252973 3.582947767959545 3.106970550803082 2.507128222398642 1.807334603467782 1.035488257270811 0.2223602619286077 -0.5996325353583019 -1.397719875710371 -2.140084535377989 -2.797130778047369 -3.342664243452604 -3.75493623385838 -4.017510766006725 -4.11991982190273 -4.058080675658289 -3.834458658889454 -3.457968875724721
1.204279345431145 0.8076588876886379 0.3788396188089894 -0.06508279017502479 -0.5064105536953812 -0.9275493265108165 -1.311709634729428 -1.643576219150494 -1.909918606318715 -2.100118565749699 -2.206593425271613 -2.225098368236168 -2.15489566096309 -1.998784063853906 -1.762987253646724 -1.456905705064642 -1.092741923553445 -0.6850139698967194 -0.249976670946797 0.1950264090267705 0.6322544015138652 1.044276406206742 1.414666405988919 1.728658120402314 1.973733690651419 2.140122727131086 2.221191824027839 2.213709012276733 2.117972607968906 1.937799319430418 1.680372087105609 1.355953722388659 0.9774777617194828 0.5600328473000009 0.1202611905445145 -0.3243049003718474 -0.755941978313681 -1.157442035093003 -1.512798530452724 -1.807844522315121 -2.030817458056102 -2.172828110359468 -2.228214962658407 -2.194769915935083 -2.073826318660405 -1.870205810398125
0.133862195013134 0.08977567533482943 0.04211008278445129 -0.007234305880492386 -0.05629028559915311 -0.1031021492652438 -0.1458036555977758 -0.1826924302916663 -0.2122978343091302 -0.2334395936172461 -0.2452748529890788 -0.2473317779817941 -0.2395283654869346 -0.2221757129355783 -0.1959656158254859 -0.1619429880176926 -0.1214642043182845 -0.07614302609516824 -0.02778626570485129 0.0216782454144859 0.07027851329880706 0.1160769986345782 0.1572478603369399 0.1921497460719863 0.2193912277947304 0.237886273594353 0.2468975443593155 0.2460657891609279 0.2354241674541947 0.2153969271149841 0.1867824910160091 0.1507216264264608 0.1086519662208858 0.06225069499319062 0.01336768499954474 -0.03604825241086339 -0.08402705975448951 -0.1286559733884243 -0.1681557793607642 -0.2009517450562382 -0.2257363988162215 -0.2415216547078018 -0.2476782043918371 -0.2439606056605409 -0.2305170674437688 -0.2078835411866856
-0.9418916186934663 -0.6316866098910525 -0.2962982493546524 0.05090258736032291 0.396074098549645 0.7254553853138876 1.025915055172518 1.285474729243588 1.493786582409802 1.64254587845149 1.725822053672573 1.740295149760155 1.685388170045718 1.563290082541485 1.378868552693453 1.139475884920871 0.8546559094405842 0.5357634998735836 0.1955118902661149 -0.1525341614328149 -0.4944991574648012 -0.8167500325709951 -1.106439661282354 -1.352019032270644 -1.54369767098508 -1.67383395497704 -1.737239761272558 -1.731387300463223 -1.656509891692994 -1.515592660960215 -1.314253533564164 -1.060519265151764 -0.7645054402998314 -0.4380131960795705 -0.09405874796218745 0.2536455256169031 0.5912377525143929 0.90525919597775 1.183190812008062 1.413952344138135 1.588344058292062 1.699413507151409 1.742732702290064 1.716574644099477 1.621982171813179 1.462726388797417
-1.980095185873649 -1.327965543382954 -0.6228941053151842 0.1070101550754859 0.8326482582733674 1.525091302987413 2.156733770155261 2.702394067873998 3.140318442004222 3.453048229699637 3.628115881200739 3.658542001700102 3.54311359778859 3.286432435674765 2.898731583287855 2.395467450151741 1.796703589112747 1.126310825801873 0.4110156041456203 -0.3206655126131722 -1.039562707302622 -1.717015817381742 -2.326016925178589 -2.842287078339433 -3.24524421504243 -3.518823705852006 -3.652118799799595 -3.639815442126497 -3.482404128877647 -3.186160352372156 -2.762894417128001 -2.229480600290467 -1.607184427452228 -0.9208148832552137 -0.1977353554622115 0.5332272569630683 1.242931781349151 1.903084537910887 2.487367319476658 2.972486615356378 3.339102250105779 3.572598415289946 3.663666355642739 3.608675479763801 3.409818100340678 3.075022033560224
-2.939358606544735 -1.971302681297775 -0.9246571389528138 0.1588515655978607 1.23602735951325 2.263926643114734 3.201570315688885 4.011577482915883 4.661655715163819 5.125888444753457 5.385768177727149 5.430934329229159 5.259586267329132 4.878555098534946 4.303031333133039 3.555959287479722 2.667122366513022 1.671955693384779 0.6101334229225803 -0.476012941724182 -1.543182172530108 -2.548829599910208 -3.45286323443881 -4.219242107950363 -4.817413113206347 -5.223529059864967 -5.421399386705929 -5.403135628214004 -5.169465902805643 -4.729705885045418 -4.101387419098447 -3.309559579428456 -2.385790043245842 -1.366906586834864 -0.2935288783299538 0.7915509002700281 1.845074042359564 2.82503990484805 3.692380341259188 4.412517225444294 4.956740972354244 5.303355098597096 5.438541192763665 5.356909811883925 5.06171534151083 4.564726253638137
openscad-2013.01+dfsg.orig/testdata/scad/minimal/ 0000755 0001750 0001750 00000000000 12110740367 021102 5 ustar chrysn chrysn openscad-2013.01+dfsg.orig/testdata/scad/minimal/scale.scad 0000644 0001750 0001750 00000000011 11640436735 023025 0 ustar chrysn chrysn scale();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/circle.scad 0000644 0001750 0001750 00000000012 11640436735 023200 0 ustar chrysn chrysn circle();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/hull.scad 0000644 0001750 0001750 00000000010 11640436733 022677 0 ustar chrysn chrysn hull();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/for.scad 0000644 0001750 0001750 00000000007 11640436735 022531 0 ustar chrysn chrysn for();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/cube.scad 0000644 0001750 0001750 00000000010 11640436735 022653 0 ustar chrysn chrysn cube();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/dxf_linear_extrude.scad 0000644 0001750 0001750 00000000026 11640436735 025617 0 ustar chrysn chrysn dxf_linear_extrude();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/color.scad 0000644 0001750 0001750 00000000011 11640436735 023054 0 ustar chrysn chrysn color();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/rotate.scad 0000644 0001750 0001750 00000000012 11640436735 023235 0 ustar chrysn chrysn rotate();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/render.scad 0000644 0001750 0001750 00000000012 11640436735 023216 0 ustar chrysn chrysn render();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/surface.scad 0000644 0001750 0001750 00000000013 11640436735 023370 0 ustar chrysn chrysn surface();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/polygon.scad 0000644 0001750 0001750 00000000013 11640436735 023427 0 ustar chrysn chrysn polygon();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/union.scad 0000644 0001750 0001750 00000000011 11640436735 023066 0 ustar chrysn chrysn union();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/assign.scad 0000644 0001750 0001750 00000000012 11640436735 023223 0 ustar chrysn chrysn assign();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/minkowski.scad 0000644 0001750 0001750 00000000015 11640436733 023753 0 ustar chrysn chrysn minkowski();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/subdiv.scad 0000644 0001750 0001750 00000000012 11640436735 023233 0 ustar chrysn chrysn subdiv();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/linear_extrude.scad 0000644 0001750 0001750 00000000022 11640436735 024752 0 ustar chrysn chrysn linear_extrude();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/import_stl.scad 0000644 0001750 0001750 00000000016 11640436735 024137 0 ustar chrysn chrysn import_stl();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/allfunctions.scad 0000644 0001750 0001750 00000000517 11664172103 024442 0 ustar chrysn chrysn a = abs();
a = sign();
a = rands();
a = min();
a = max();
a = sin();
a = cos();
a = asin();
a = acos();
a = tan();
a = atan();
a = atan2();
a = round();
a = ceil();
a = floor();
a = pow();
a = sqrt();
a = exp();
a = log();
a = ln();
a = str();
a = lookup();
a = dxf_dim();
a = dxf_cross();
a = version();
a = version_num();
a = len();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/sphere.scad 0000644 0001750 0001750 00000000012 11640436735 023225 0 ustar chrysn chrysn sphere();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/difference.scad 0000644 0001750 0001750 00000000016 11640436735 024035 0 ustar chrysn chrysn difference();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/dxf_rotate_extrude.scad 0000644 0001750 0001750 00000000026 11640436735 025643 0 ustar chrysn chrysn dxf_rotate_extrude();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/multmatrix.scad 0000644 0001750 0001750 00000000016 11640436735 024151 0 ustar chrysn chrysn multmatrix();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/import_off.scad 0000644 0001750 0001750 00000000016 11640436735 024107 0 ustar chrysn chrysn import_off();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/allmodules.scad 0000644 0001750 0001750 00000000716 11640436735 024113 0 ustar chrysn chrysn minkowski();
glide();
subdiv();
hull();
child();
echo();
assign();
for();
intersection_for();
if(true) { }
union();
difference();
intersection();
dxf_linear_extrude();
linear_extrude();
dxf_rotate_extrude();
rotate_extrude();
import();
import_stl();
import_off();
import_dxf();
group();
cube();
sphere();
cylinder();
polyhedron();
square();
circle();
polygon();
projection();
render();
surface();
scale();
rotate();
mirror();
translate();
multmatrix();
color();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/translate.scad 0000644 0001750 0001750 00000000015 11640436735 023737 0 ustar chrysn chrysn translate();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/import.scad 0000644 0001750 0001750 00000000012 11640436733 023247 0 ustar chrysn chrysn import();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/intersection_for.scad 0000644 0001750 0001750 00000000024 11640436735 025316 0 ustar chrysn chrysn intersection_for();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/cylinder.scad 0000644 0001750 0001750 00000000014 11640436735 023552 0 ustar chrysn chrysn cylinder();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/group.scad 0000644 0001750 0001750 00000000011 11640436735 023072 0 ustar chrysn chrysn group();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/projection.scad 0000644 0001750 0001750 00000000016 11640436735 024117 0 ustar chrysn chrysn projection();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/rotate_extrude.scad 0000644 0001750 0001750 00000000022 11640436735 024776 0 ustar chrysn chrysn rotate_extrude();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/import_dxf.scad 0000644 0001750 0001750 00000000016 11640436735 024116 0 ustar chrysn chrysn import_dxf();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/square.scad 0000644 0001750 0001750 00000000012 11640436735 023237 0 ustar chrysn chrysn square();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/echo.scad 0000644 0001750 0001750 00000000010 11640436735 022653 0 ustar chrysn chrysn echo();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/child.scad 0000644 0001750 0001750 00000000011 11640436735 023021 0 ustar chrysn chrysn child();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/if.scad 0000644 0001750 0001750 00000000015 11640436735 022340 0 ustar chrysn chrysn if(true) { }
openscad-2013.01+dfsg.orig/testdata/scad/minimal/mirror.scad 0000644 0001750 0001750 00000000012 11640436735 023251 0 ustar chrysn chrysn mirror();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/intersection.scad 0000644 0001750 0001750 00000000020 11640436735 024444 0 ustar chrysn chrysn intersection();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/glide.scad 0000644 0001750 0001750 00000000011 11640436735 023022 0 ustar chrysn chrysn glide();
openscad-2013.01+dfsg.orig/testdata/scad/minimal/polyhedron.scad 0000644 0001750 0001750 00000000016 11640436735 024126 0 ustar chrysn chrysn polyhedron();
openscad-2013.01+dfsg.orig/testdata/scad/functions/ 0000755 0001750 0001750 00000000000 12110740367 021464 5 ustar chrysn chrysn openscad-2013.01+dfsg.orig/testdata/scad/functions/inf-tests.scad 0000644 0001750 0001750 00000000617 11703565234 024245 0 ustar chrysn chrysn echo(1/0);
echo(-1/0);
echo(sin(1/0));
echo(cos(1/0));
echo(tan(1/0));
echo(asin(1/0));
echo(acos(1/0));
echo(atan(1/0));
echo(atan(-1/0));
echo(atan2(1/0, -1/0));
echo(ceil(1/0));
echo(floor(1/0));
echo(exp(2, 1/0));
echo(ln(1/0));
echo(log(1/0));
echo(max(-1/0, 1/0));
echo(min(-1/0, 1/0));
echo(pow(2, 1/0));
echo(round(1/0));
echo(sign(1/0));
echo(sign(-1/0));
echo(sqrt(1/0));
echo(sqrt(-1/0)); openscad-2013.01+dfsg.orig/testdata/scad/functions/len-tests.scad 0000644 0001750 0001750 00000000241 11664172103 024233 0 ustar chrysn chrysn a=[1,2,3,4];
b="abcd";
c=[];
d="";
e=[[1,2,3,4],[1,2,3]];
echo(len(a));
echo(len(b));
echo(len(c));
echo(len(d));
echo(len(e));
echo(len(e[1]));
echo(len(e[2])); openscad-2013.01+dfsg.orig/testdata/scad/bugs/ 0000755 0001750 0001750 00000000000 12110740367 020414 5 ustar chrysn chrysn openscad-2013.01+dfsg.orig/testdata/scad/bugs/fn_bug_import.scad 0000644 0001750 0001750 00000000026 11664172103 024100 0 ustar chrysn chrysn import("fn_bug.stl");
openscad-2013.01+dfsg.orig/testdata/scad/bugs/minkowski-assert.scad 0000644 0001750 0001750 00000000741 11704542767 024600 0 ustar chrysn chrysn /*
Originally reported by chrysn 20100516:
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: N.is_valid(0,0)
File: /usr/include/CGAL/convex_decomposition_3.h
Line: 113
This appears to have been a CGAL issue which was fixe in CGAL-3.9.
*/
minkowski() {
cube(20, center=true);
rotate([20, 30, 40])
difference() {
cube(5, center=true);
cube([1, 1, 10], center=true);
}
}
openscad-2013.01+dfsg.orig/testdata/scad/bugs/polyset-reduce-crash.txt 0000644 0001750 0001750 00000000267 11640436735 025234 0 ustar chrysn chrysn This testcase causes a crash in PolySet::PolyReducer::add_edges().
It appears to be because we collapse two close vertices into the same
vertex. This is handled by just abort()'ing.
openscad-2013.01+dfsg.orig/testdata/scad/bugs/fn_bug.scad 0000644 0001750 0001750 00000001275 11664172103 022515 0 ustar chrysn chrysn fn_setting = 41; // does not work
//fn_setting = 40; // works
// basic box sizes
box_width = 720;
box_depth = 450;
box_height = 90;
box_bevel = 35;
union ()
{
translate ([(box_width / 2) - box_bevel, -((box_depth / 2) - box_bevel), 0])
cylinder (h = box_height- box_bevel, r = box_bevel, center = false, $fn = fn_setting);
translate ([0, -((box_depth / 2) - box_bevel), box_height- box_bevel])
rotate ([0, 90, 0])
cylinder (h = box_width - (2 * box_bevel), r = box_bevel, center = true, $fn = fn_setting);
translate ([(box_width / 2) - box_bevel, 0, box_height- box_bevel])
rotate ([90, 90, 0])
cylinder (h = box_depth - (2 * box_bevel), r = box_bevel, center = true, $fn = fn_setting);
}
openscad-2013.01+dfsg.orig/testdata/scad/bugs/issue204.scad 0000644 0001750 0001750 00000000324 12076022156 022625 0 ustar chrysn chrysn // Causes a CGAL assertion in CGALEvaluator::process()
e=0.000;
for (m = [ [ [ 0, 1, 0], [ 0, 0, 1], [ 1, 0, 0] ],
[ [-1, 0, e], [ 0,-1, 0], [ 0, 0,-1] ] ] )
multmatrix (m) cube([1,5,1], center=true);
openscad-2013.01+dfsg.orig/testdata/scad/bugs/fn_bug.txt 0000644 0001750 0001750 00000000727 11664172103 022423 0 ustar chrysn chrysn Reported by Ian Shumsky:
1) Export STL from fn_bug.scad
- fn_setting = 41 -> triggers bug
- fn_setting = 40 -> works
2) Open fn_bug_import.scad and render using CGAL (F6)
->
CGAL error in CGA_Nef_polyhedron3(): CGAL ERROR: assertion violation!
Expr: pe_prev->is_border() || !internal::Plane_constructor::get_plane(pe_prev->facet(),pe_prev->facet()->plane()).is_degenerate()
File: ../libraries/install/include/CGAL/Nef_3/polyhedron_3_to_nef_3.h
Line: 252
openscad-2013.01+dfsg.orig/testdata/scad/bugs/STL-import/ 0000755 0001750 0001750 00000000000 12110740367 022366 5 ustar chrysn chrysn openscad-2013.01+dfsg.orig/testdata/scad/bugs/STL-import/adns2610_dev_circuit_inv.stl 0000644 0001750 0001750 00000130034 12000421643 027574 0 ustar chrysn chrysn VCG L@ A A L@ AL@ L@ A A L@ L@ A WA A A A A 333 σBA ?
A 33σBA 333 + + A + ̿+ A ̿֨S A ֨S A ̿֨S 333 A ֨S A ff濚MA LMA C=?A σBA ff濚MA 33σBA 33dXA A dXA 33?σBA ~@wzA ?σBA ?dXA dXA A A ff濚MA A 33dXA dXA A ff̎A dXA ff̎A 33AA @ A @\1 dXA 33AA AA Y@WA A A 33s@̎A ff&@WA L̎A A A 33WA A WA fff@֨S >\1 ̌@֨S ff̎A A 33WA 33σBA L ̾\1? $`4h@ پ̠@ L ̾\1 ~@D>@ 33@\1? Y@@ @\1 A ?\1 33?WA Y@AA ff?}A L 33σBA ̾\1? ̾\1? 33σBA L@ ̾\1? L@ $`4h@ L@ 33σBA $`4I@ ڪ@ L? >\1? L>MA LMA ?dXA fff@\1? C=?*n@ @ h@ $`4I@ 33σBA پff@ ̬@dXA A A @MA پff@ 33σBA ڪ