03_designing_for_3d_printing:03_analemma_with_python
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
03_designing_for_3d_printing:03_analemma_with_python [2024/10/16 15:38] – jattie | 03_designing_for_3d_printing:03_analemma_with_python [2024/10/16 17:56] (current) – [The final result] jattie | ||
---|---|---|---|
Line 19: | Line 19: | ||
====== Analemma SVG ====== | ====== Analemma SVG ====== | ||
- | The work here is inspired by the designs and meticulous documentation provided by [[https:// | + | The work here is inspired by the designs and meticulous documentation provided by [[https:// |
- | As a 3D hobbyist we sometime want to do complicated things that is hard to do accurately in 3D design tools. Since I discovered the use of SVG's and python tools to generate them, I wondered if I can reproduce an Analemma to use on a sundial using Python code. After many wasted hours and trail and error working out angular math in python I can report that it is in fact quite feasible. The catch was converting to radians. | + | As a 3D hobbyist we sometime want to do complicated things that is hard to do accurately in 3D design tools. Since I discovered the use of SVG's and python tools to generate them, I wondered if I can reproduce an Analemma to use on a sundial using Python code. After many wasted hours and trail and error working out angular math in python I can report that it is in fact quite feasible. |
+ | The catch was converting to radians. | ||
+ | </ | ||
+ | |||
===== The python code ===== | ===== The python code ===== | ||
Line 115: | Line 118: | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | Right click to save the svg | + | Hover over and right click to save the svg |
</ | </ | ||
+ | <WRAP center round todo 60%> | ||
+ | This format converted from a plot renders acceptably, but fails to properly import into at least Fusion 360. It is not very useful for 3D printing purposed. Some online tool may do a better job at converting this properly for CAD use. | ||
+ | </ | ||
03_designing_for_3d_printing/03_analemma_with_python.1729093085.txt.gz · Last modified: 2024/10/16 15:38 by jattie