Skip to content

bnjmn21/spherical_harmonics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A script to generate meshes (.stl) of (complex) spherical harmonics for 3d printing.

Pregenerated meshes are available here: https://www.printables.com/model/1490949-spherical-harmonics

Usage

  1. Create a sphere in a CAD program, with your desired size and resolution.
  2. Export it as an stl file to sphere.stl.
  3. Select the functions to generate by changing the L_M_PAIRS constant.
  4. Select a radius for the support ball in the center by changing the SUPPORT_BALL_SIZE.
  5. cargo run it.
  6. The results will be output to the results folder.

Note that the generated models will be a bit smaller than input original sphere.

Additionally this repo contains a python script to optimize the meshes.

Credits

  • sphrs for computing spherical harmonics
  • stl_io for reading/writing stl files

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors