tevo-tarantula-updates/lib/examples.scad

6 lines
206 B
OpenSCAD
Raw Permalink Normal View History

2022-01-06 14:04:58 +00:00
module prism(l, w, h) {
polyhedron(
points = [[0, 0, 0], [l, 0, 0], [l, w, 0], [0, w, 0], [0, w, h], [l, w, h]],
faces = [[0, 1, 2, 3], [5, 4, 3, 2], [0, 4, 5, 1], [0, 3, 4], [5, 2, 1]]
);
}