A repo to showcase 3d surface plot experiments inside Rhino/IronPython.
- Note: we don't employ any standard Python libraries like Numpy, Matplotlib, etc; as they are not compatible with the IronPython which is as .NET port of Python.
- We mimiced the standard generation functions to build a set of visualization methods in RhinoCommon instead.
- The system can produce Point Clouds, Meshes, and Surface representations.
- Additional colorization routines are also encoded, which include a height-based colorizer, and an internal generation sequence visualizer, and various color gradients.
The repository currently hosts 10 general parametric surface equations, and the Super Formula equation.
- Enepper Surface
- Monkey Saddle
- Mobeus Strip
- Klein Bottle
- Egg Crate Surface
- Pringle Surface
- Dini's Surface
- Bump Surface
- Flower Surface
- Vault-like Surface
- Super Formula Surfaces
with
This equation defines a surface in three dimensions where
This defines the three-dimensional function
This defines the three-dimensional function
where
This defines a surface in three dimensions where
with
where
This defines a surface in three dimensions where
where
This defines a surface in three dimensions where
where
This defines a surface in three dimensions where
by choosing different values for the parameters a,b,m,n_1,n_2,n_3
, different shapes can be generated.
It is possible to extend the formula to 3,4, n
dimensions, by means of the spherical product of superformulas.
The parametric equations are as follows:
where