Skip to content

Instantly share code, notes, and snippets.

View kintel's full-sized avatar

Marius Kintel kintel

View GitHub Profile
<html><head><title>OpenSCAD test run for linux_x86_64_software-rasterizer_fsfd</title></head><body>
<h3>
System info
</h3><p><pre>OpenSCAD Version: test
Compiled by: GCC 4.4.5
Compile date: Mar 18 2013
Boost version: 1_40
Eigen version: 2.0.17
CGAL version: 3.7
@kintel
kintel / issue349.scad
Created May 7, 2013 08:39
OpenSCAD Issue #349 example
polyhedron(points = [[-10., -13.090169943749475, -34.270509831248425],
[-10., -13.090169943749475, 34.270509831248425],
[-10., 13.090169943749475, -34.270509831248425],
[-10., 13.090169943749475, 34.270509831248425],
[-5., -5., -37.3606797749979], [-5., -5., 37.3606797749979],
[-5., 5., -37.3606797749979], [-5., 5., 37.3606797749979],
[-5., -37.3606797749979, -5.], [-5., -37.3606797749979, 5.],
[-5., -21.18033988749895, -31.18033988749895],
[-5., -21.18033988749895, 31.18033988749895], [-5., 37.3606797749979, -5.],
[-5., 37.3606797749979, 5.], [-5., 21.18033988749895, -31.18033988749895],
<html><head><title>OpenSCAD test run for mac_64-bit_nvidia-geforce-gt_gsvv</title></head><body>
<h3>
System info
</h3><p><pre>OpenSCAD Version: 2013.09.13
Compiler: Clang "4.2 (clang-425.0.28)"
Compile date: Sep 13 2013
Boost version: 1_53
Eigen version: 3.1.3
CGAL version: 4.2
@kintel
kintel / stl-export-non-manifold.stl
Created September 19, 2013 15:02
STL exported from OpenSCAD - it's technically manifold, but causes Slic3r to think it has a hole (prob. to to an almost self-intersection and floating point inaccuracy).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
module cross() {
square([10,20], center=true);
square([20,10], center=true);
}
module cross2() {
minkowski() {
circle(r=3, $fn=16);
union() {
square([10,20], center=true);
@kintel
kintel / issue-561.html
Last active December 30, 2015 10:59
issue-561
<html><head><title>OpenSCAD test run for mac_64-bit_nvidia-geforce-gt_wect</title></head><body>
<h3>
System info
</h3><p><pre>OpenSCAD Version: 2013.12.06
Compiler, build date: Clang "5.0 (clang-500.2.79)", Dec 6 2013
Boost version: 1_54
Eigen version: 3.2.0
CGAL version, kernels: 4.3, Cartesian<Gmpq>, Extended_cartesian<Gmpq>, Epeck
OpenCSG version: OpenCSG 1.3.2
@kintel
kintel / manifold.stl
Created December 31, 2013 18:19
Example of questionable manifold object
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
difference() {
render(convexity=2) difference() {
cube(20, center = true);
cube(10, center = true);
}
translate([-20, 0, -20]) cube(100);
}
module savoy(s) {
scale(s) translate([-20,-70,0]) import("savoy.dxf");
}
module outer(size, thickness) {
minkowski() { savoy(size); circle(r=thickness); }
}
module base(size, thickness) {
linear_extrude(height=thickness,complexity=10) {
// Polygon with hole
polygon(
points=[
[-2.5,-2.5],
[2.5,-2.5],
[2.5,2.5],
[-2.5,2.5],
[-5,-5],
[5,-5],
[5,5],