You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a mesh from a self-defined distance function.
So, I want to connect my own python component to the "Isosurface Distance Function Component."
But the codes that you have shared here do not contain all the information I need to do so..
I do not know what is inside the "D" of the input to the "Isosurface Distance Function Component."
If you would not mind sharing the code inside the "Distance Wrapper Component" (or another component that outputs "D")... then I can read that code and write my output in the same way.
Thank you,
Maria
The text was updated successfully, but these errors were encountered:
thank you very much for your interest. Making Axolotl extendable for custom SDF objects is something I have on my TODO list for a while already. You are posting the issue in the old version of the library, written in Python, where this is indeed very straightforward. Your Python script just needs to output an object, that has a get_distance(x,y,z) function. This directly makes it compatible with all other objects to be combined in a CSG tree.
However, you refer in your question to the Distance Wrapper component. This is something only available in the newer version of Axolotl, written in C#. Python objects will therefore not directly work with the rest of the components. The distance wrapper object in particular is a component, that tries to convert existing Rhino geometry objects into distance objects. If you tell me a bit more about what it is you would like to do, we can try to find a way of how to integrate this.
Hello! Thank you for this library!
I am trying to create a mesh from a self-defined distance function.
So, I want to connect my own python component to the "Isosurface Distance Function Component."
But the codes that you have shared here do not contain all the information I need to do so..
I do not know what is inside the "D" of the input to the "Isosurface Distance Function Component."
If you would not mind sharing the code inside the "Distance Wrapper Component" (or another component that outputs "D")... then I can read that code and write my output in the same way.
Thank you,
Maria
The text was updated successfully, but these errors were encountered: