Closed kevinsmia1939 closed 5 months ago
You can implement such things pretty straightforward with Scalar Field Formula + Marching Cubes: Note: "Scalar Field Formula" will use numpy by default, so you even don't have to bother about "np.".
You can implement such things pretty straightforward with Scalar Field Formula + Marching Cubes: Note: "Scalar Field Formula" will use numpy by default, so you even don't have to bother about "np.".
Thank you so much it work! Instead of "bounds", it is called box on my node.
Hi, I want to create a surface with sverchok in Blender. Specifically Gyroid. https://en.wikipedia.org/wiki/Gyroid
The implicit function of Gyroid can be express in Python as: np.sin(x) np.cos(y) + np.sin(y) np.cos(z) + np.sin(z) * np.cos(x)
But I don't know how to actually implement this in Sverchok. There are example tutorial with Grasshopper 3D: https://www.youtube.com/watch?v=mhYrVlvbN4k But since Sverchok is different, I don't know where to write the implicit equation and generate mesh from it.
Thanks for the help.
Blender 4.1.1 Sverchok bgl_replacement latest commit. OS: openSUSE Tumbleweed
Here is the example Python code to draw Gyroid with Matplotlib and marching cubes.