but these fields defined in python can not be used in “IsoMesh2” or the other nodes you provide in Isopod?
Ah I misunderstood your question, didn’t know this was what you intend to do. For that to work, the python class would have to inherit from the class Field
defined in Isopod.dll (c#), not sure if that’s feasible.
this thread might help:
@Jakob_v_Schirmeister Here’s a basic example of a custom Isopod field defined in Python:
python_isopod_field_test.gh (9.9 KB)
import Isopod
class SphereSDF(Isopod.Field):
def __init__(self, center, radius):
self.center = center
self.radius = radius
def ValueAt(self, P):
return center.DistanceTo(P) - radius
a = SphereSDF(center, radius)
It works, though performance seems orders of magnitude worse than doing the same in C#
(I’m not really a Python user myself, so might be missing some better way of doing this)
Have you tried updating to a more current release of Rhino8? Does the problem still persist if you do?
This is one of my fav threads.
I’m starting some new projects soon and I will be attempting to learn to use electrolysis to turn plastic prints into metal parts.
Reason is cause the 3D metal printing technology is still lagging behind like 10 years.
So, I’ll be really liking to try some fancy geometry with grasshopper that might make this process more awsomer
I compiled some pics I like to stare at here in this thread.
I’m hoping to do some electrolysis where the molecules will soak into the print as much as possible to create some nice strong metal parts from silly plastic prints
So porosity I think is good, but I will also like to control it so that there’s well defined smooth surfaces where necessary as well – potentially the porosity would maybe be best in the internal sense rather than external.
Hence, the outer most layers I think I will attempt mostly smooth. Somehow internal porosity of course would need prep for electrolysis in order for most awesomer molecular surface energy actions.
I still need to study implicits I think
I wanted to share this link to this hand geometry cause looks cool:
I’m liking to learn the art of electro-forming. And I think I would really like to try some of these amazing geometries I’m seeing grasshopper do
I’m thinking I can get some mind blowing results if I can get this to work via electro-forming.
I’m planning on using some special conductive PLA, and I’m imagining that some particular geometries would work well with the molecular bonding.
I’m tryna think of surface textures that would bond well but still form smooth electrolysis actions…
If this works, might not have to buy $100k metal printer lol. Plus metal printers have that silly shrinkage problem haha.
“Electroforming rate is surface-area-dependent.” I definitely need to have good sense of this parameter somehow haha.