Skip to content

Python script to generate STLs for all of the Platonic, Archimedean, Catalan, and Johnson solids, along with a selection of prisms and anti-prisms.

License

Notifications You must be signed in to change notification settings

gecrooks/shapes2stl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shapes2stl

Source

Python script to generate STLs for all of the Platonic, Archimedean, Catalan, and Johnson solids, along with a selection of prisms and anti-prisms.

Download code, install dependencies, and create STL terrain models.

> git clone https://github.com/gecrooks/shapes2stl.git
> cd shapes2stl
> pip install -r requirements.txt
> python -m shapes2stl

Coordinates are taken from https://github.com/glotzerlab/coxeter/tree/master/coxeter/families/data

All solids are scaled to have the same volume as a 1 kg cube of tungsten (38mm (1.5") on a side).

This was a warm up project to get the hang of generating STL files with python.

Gavin Crooks (2023)

About

Python script to generate STLs for all of the Platonic, Archimedean, Catalan, and Johnson solids, along with a selection of prisms and anti-prisms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages