The problem is, when I open up the C# module on my computer (Mac system), it’s not making sense to me (I have three windows and a bunch of errors). Am I using wrong version of Rhino? (the python version works just fine and there is only one window)
(I figured that where it says ‘using’ should be in the ‘using’ window, and the ‘runscript’ stuff should go into the ‘script’ window. Right now it says I need to go into ‘preview’ mode, which I found I need to set the correct C# version. But I can’t find it anywhere to do this)
Also, I wanted to let you know that a very important part of the project this code goes to doesn’t work on my computer, so I’m pretty nonchalant about this code now . I’m grateful for your help but I just wanted to clarify the urgency since code problems like this take a ton of time!
Here is the tool.
Disable solver before opening it, delete Dendro if it doesn’t work on your Mac. Dendro was just used to get a clean mesh. It is not mandatory. You can use Rhino to lower the resolution of the mesh before going to QuadRemesh.
Change the resolution to 20 or 30.
I didn’t post the code because I think it is good to struggle a bit in order to go a bit deeper in the understanding and also you seems to be like a “mad dog” (French expression) you seems to go everywhere. julia 3D.gh (9.8 KB)
Thank you Laurent. Your file prompt me to install 'Dendro 0.9something". Somehow it did, but the Dendro modules don’t work (as expected )
I put together a python (this language I do fortunately understand ) implementation of the code below. It’s probably super slow, considering gh doesn’t allow multiprocessing (it says that my python multiprocessing package is called _multiprocessing and doesn’t exist?)
In any case, I think I received enough hints from this project to go to a windows platform. The only missing piece now is for food4rhino come online so I can install Dendro there. mesh.gh (21.1 KB)
Thanks for your help! I (or rather Laurent) finally got this code to work. It looks like the ‘helper functions’ belong in the override section (literally a separate window on Mac c# editor, for some reason!)