Anethole toolkit: Jupyter, Mayavi, 3D printed math

56 views
Skip to first unread message

Jonathan J. Prescott-Roy

unread,
Nov 21, 2016, 11:35:31 AM11/21/16
to Project Jupyter
I'd like to let the Jupyter community know about Anethole (https://github.com/jjpr/anethole) a toolkit for mathematical 3D printing.  

I cobbled it together out of various open source tools, including Jupyter.  Anethole makes it easy (well, easier) to turn a parametric surface into a sculpture.  All you need is a little high school trig, a little Python, and a healthy supply of patience, and you can turn math into art.  

I'd love some feedback on the particulars of open-sourcing such a project.  I've slapped an MIT license on the project, but I don't know if I've done it right, or if that's the right license.  Also, it's reasonably safe to run the Anethole container on a personal Mac behind the Mac firewall, but it would be a security problem in any public context;  anybody with better Docker security chops is welcome to make suggestions.  

There's a shill link to my Shapeways shop on the readme.  (Some of the shapes I came up with were kinda pretty, so I figured I should sell 'em.)  I hope that doesn't make this too much like an advertisement.   

I hope folks have as much fun with it as I have.  

JJPR

Carlos Córdoba

unread,
Nov 21, 2016, 10:01:57 PM11/21/16
to jup...@googlegroups.com
Hi,

It'd be great if you could contribute the code to graph 3D surfaces with Mayavi to the Sympy project. Other than that, congrats on your project, it seems really cool ;-)


Cheers,
Carlos

El 21/11/16 a las 11:35, Jonathan J. Prescott-Roy escribió:
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/313c095c-7cc3-4539-8337-99de48880123%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jonathan J. Prescott-Roy

unread,
Nov 22, 2016, 1:23:17 PM11/22/16
to Project Jupyter
Thanks, Carlos!  

Honestly, the small amount of code Anethole contains serves as glue to connect various existing tools, or as an example to show the user what's possible.  The code that builds the NumPy mgrid and sends it to Mayavi is just an adaptation of examples in the Mayavi documentation.  

Anethole exists as a demonstration and a convenience.  Having discovered that all the tools to build this toolchain existed, I wanted to save other people the difficulty of installing them, configuring them, and figuring out how to use them together.  The Dockerfiles might be my main useful contribution.  

I would love to see some or all of the workflow that Anethole demonstrates supported by a project like SymPy (one could imagine a single-installer setup that includes a visual formula editor, surface visualization, and CAD file export all in one).  I don't know whether any of the actual code Anethole contains would be useful or not.  

JJPR
Reply all
Reply to author
Forward
0 new messages