Geodesic hemisphere with regular polygon equator by Amatulic 3d model
3dmdb logo
Thingiverse
Geodesic hemisphere with regular polygon equator by Amatulic

Geodesic hemisphere with regular polygon equator by Amatulic

by Thingiverse
Last crawled date: 3 years, 1 month ago
While using Jamie_K's geodesic icosahedral sphere in OpenSCAD, I ran into some issues:
A sphere based on an icosahedron doesn't have an equator, so it's difficult to match other polygonal shapes (cylinders etc.) to it.
Even if you cut the icosahedral sphere exactly in half, you do get a regular polygon but the diameter is slightly smaller than the sphere diameter.
An icosahedron is limited in the number of sides available in the polygon equator if you cut it in half. At a minimum, an icosahedron cut in half has a 10-sided equator. Subdividing it, you can get 20 sides, 40 sides, 80 sides...or 5*2^(levels+1) sides, where levels is the number of subdivision iterations (with levels=0 being the original icosahedron).
Because what I really needed was a hemisphere anyway, I decided to solve these problems, using Jamie_K's subdivision functions.
This is a hemisphere with evenly-distributed faces, and unlike an icosahedral sphere, this hemisphere is rendered so that the equator is a regular polygon that can match up with other regular polygon shapes (cylinders etc.).
The default sphere in OpenSCAD is rendered as a circle rotated around a diameter. This results in a globe-shape with longitude and latitude edges, with many wasted facets concentrated at the poles.
This model fixes all problems mentioned above. It subdivides a pyramid (3, 4, 5, or 6 sided), which results in the base of the hemisphere being a regular polygon of the specified diameter of the hemisphere. The polygon can also have a larger variety of sides: 3*2^levels, 4*2^levels, 5*2^levels, or 6*2^levels. This means the number of polygon sides possible is 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 64, 80, 96, 128, 160, 192, etc. (one should never need to go higher than 128 or so). This gives more possibilities to match the hemisphere to other objects.
Usage
To use this, simply put this file in the directory where you keep .scad files, and include this line in your other .scad files:
use
Use it exactly like you would use the OpenSCAD sphere() primitive, with the same parameters.

Tags