Advertisement
ebak32

OpenSCAD cobra

Mar 18th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. translate(v = [0, 0, -1.4985000000]) {
  2. color(c = [0.3000000000, 0.3000000000, 1]) {
  3. union() {
  4. polyhedron(faces = [[0, 1, 2], [1, 3, 4], [2, 1, 4], [2, 4, 5], [5, 4, 6], [0, 2, 7, 8], [2, 6, 7], [2, 5, 6], [8, 7, 6, 4, 3], [0, 1, 3, 8]], points = [[0.0000000000, 0.0000000000, 4.5000000000], [0.0000000000, 0.8400000000, 2.7000000000], [1.3500000000, 0.0000000000, 4.5000000000], [0.0000000000, 1.0500000000, 0.0000000000], [2.7000000000, 0.8400000000, 0.0000000000], [4.0500000000, 0.0000000000, 1.5750000000], [4.5000000000, 0.0000000000, 0.0000000000], [1.3500000000, -0.4500000000, 0.0000000000], [0.0000000000, -0.4500000000, 0.0000000000]]);
  5. mirror(v = [-1.0000000000, 0.0000000000, 0.0000000000]) {
  6. polyhedron(faces = [[0, 1, 2], [1, 3, 4], [2, 1, 4], [2, 4, 5], [5, 4, 6], [0, 2, 7, 8], [2, 6, 7], [2, 5, 6], [8, 7, 6, 4, 3], [0, 1, 3, 8]], points = [[0.0000000000, 0.0000000000, 4.5000000000], [0.0000000000, 0.8400000000, 2.7000000000], [1.3500000000, 0.0000000000, 4.5000000000], [0.0000000000, 1.0500000000, 0.0000000000], [2.7000000000, 0.8400000000, 0.0000000000], [4.0500000000, 0.0000000000, 1.5750000000], [4.5000000000, 0.0000000000, 0.0000000000], [1.3500000000, -0.4500000000, 0.0000000000], [0.0000000000, -0.4500000000, 0.0000000000]]);
  7. }
  8. }
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement