1 / 20
Geodesic Spherical Lithophane — zdjęcie 1
1 / 20

Geodesic Spherical Lithophane

Zamów wydruk tego modelu

Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.

Zapisane na tym urządzeniu.

Informacje o modelu

Źródło
Printables
Kategoria
Sculptures
Licencja
Creative Commons — Attribution

This is a python script to map a grayscale image as a height map onto the inside or outside of a hollow sphere. The result is a spherical lithophane.

It is an updated version of my previous Thing.

The first photo shows the progress of geodesic_g27_inside_200_drilled.stl after 6h of printing on my Wanhao i3.

Print Settings

Printer:

Wanhao i3 v2

Rafts:

No

Supports:

Yes

Resolution:

0.2

Infill:

100%

How I Designed This

New approach

In my previous Thing, I based the sphere on spherical coordinates using a rectangular mesh of latitude and longitude angles. The disadvantage of that approach is the unnecessarily dense mesh it generates at the poles of the globe.

Not only does this result in a lot of vertices and faces which need to be handled by the slicer, even the script generating the mesh could easily run for hours in order to get a decent equatorial resolution.

In order to circumvent this problem I remembered an object class in the virtual 3D world ov the raytracer POV-Ray which I played around with almost 20 years ago: the geodesic sphere.

Meet the Geodesic Sphere

A spherical object can be created if you start with a regular icosahedron. As one of the five Platonic solids it consists of 20 equilateral triangles.

By subsequent subdivision of each of the faces into smaller triangles you will get smoother and smoother approximations to a sphere. Geodesics are widely used in architecture to construct round dome shapes - often from glass panes and metal struts.

Original idea

A couple of weeks ago I saw the YouTube video whereRCLifeOn presented his spherical lithophane globe. He used Autodesk 3ds Max to design the object, where he placed the height map on the outside of the globe, but I immediately wondered how it would look like when the height map was hidden inside the globe.

RCLifeOn has also posted his globe here on Thingiverse.

Free and open source?

Not having access to this piece of software I researched if I could get a similar result using free tools. My favorite OpenSCAD does not (yet?) support mapping of bitmap files onto non-flat surfaces, so I had to look further.

I quickly found an example on how to create an .stl file in python and started to experiment. My first output was a simple cube, before I put all pieces together:

  • scaling an image
  • creating a sphere
  • creating a second sphere
  • putting the two spheres into each other
  • modifying the thickness of the wall by means of the map

Implementation

The map I use is the free height map image of the world by NASA. I now added the map itself and a modified version with a gamma setting of 2.7 which might give a better contrast between the oceans and continents.

In the Python script itself you can modify a couple of things

  • the outer diameter of the sphere
  • the number of subdivisions of the geodesic object, starting at 10 pixels around the equator for a frequency of 1, this number can be increased e.g. to about 2000 pixels around the equator for a frequency of 200
  • the thickness of the wall for the black portions of the mapped image
  • the depth of the carving from the outside in
  • the depth of the carving from the inside out
  • the filename of the image to be carved out of the wall of the sphere

The files

the included files are:

// the main script geodesic_mapped_double.py

// a 120 mm sphere with the world on the inside at freq=200 // wall thickness 3 mm, carving depth 2.2 mm geodesic_g27_inside_200.stl

// - the same sphere with a 15 mm diameter hole at the south pole geodesic_g27_inside_200_drilled.stl

// a 120 mm sphere with the world on the outside at freq=200 // wall thickness 3 mm, carving depth 2.2 mm geodesic_g27_outside_200.stl

// - the same sphere with a 15 mm diameter hole at the south pole geodesic_g27_outside_200_drilled.stl

// checkerboard patterned sphere - carved from the outside, freq=100 geodesic_test_outside_100.stl // checkerboard patterned sphere - carved from the outside, freq=100 geodesic_test_inside_100.stl // checkerboard patterned sphere - carved from the outside, freq=100 geodesic_test_inoutside_100.stl

// the same three spheres cut open geodesic_test_outside_100_cut.stl geodesic_test_inside_100_cut.stl geodesic_test_inoutside_100_cut.stl

geodesic_demo_1.stl // just a geodesic object, freq=1 geodesic_demo_2.stl // freq=2 geodesic_demo_4.stl // freq=3 geodesic_demo_3.stl // freq=4 geodesic_demo_5.stl // freq=5 geodesic_demo_6.stl // freq=6

Category: Sculptures

Tagi