Browse Source

Add hollow sphere

main
raffitz 2 years ago
parent
commit
0bc4d2b723
Signed by: raffitz
GPG Key ID: BB3596BD0A31252D
  1. 1
      README.md
  2. 7
      examples/hsphere.solid

1
README.md

@ -53,6 +53,7 @@ The output consists of a series of images, each depicting a layer of the solid, @@ -53,6 +53,7 @@ The output consists of a series of images, each depicting a layer of the solid,
| `octahedron1.solid` | Octahedron | An octaheron stood on its vertex |
| `hoctahedron1.solid` | Hollow Octahedron | A hollow octahedron stood on its vertex |
| `sphere.solid` | Sphere | A sphere of radius s |
| `hsphere.solid` | Hollow Sphere | A sphere of radius s and thickness 2 |
| `torus1.solid` | Torus | A torus with a tube radius of s, and a hole radius of 2 * s |
| `ramp.solid` | Ramp | A spiraling ramp |
| `helix1.solid` | Helix | A helix |

7
examples/hsphere.solid

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
# Sphere with radius s
-s <= x <= s
-s <= y <= s
-s <= z <= s
r <= s
r >= s - 2
Loading…
Cancel
Save