Earth Height Map
youmagine
My effort at creating a height mapping system for a sphere involves using either a tetrahedron or icosahedron as the base, which is then recursively mapped onto a sphere. This process does require some memory and time, particularly when nriter is greater than or equal to 5. For anyone interested in generating their own openSCAD height map array, I recommend utilizing the bash script make_map.sh. To convert the height map into an 8-bit grayscale PGM file, use GIMP. Simply edit "file=new_heightmap.pgm" within make_map.sh to point to the correct image file. To utilize this system, follow these steps: run ./make_map.sh > map.scad. Remove the last comma on the second-to-last line. Add this code to the main SCAD file with an include statement and comment out the current include statement. Finally, adjust the scale (sc) to your liking.
With this file you will be able to print Earth Height Map with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Earth Height Map.