"Hi Giulio,I have just taken a look at rs.coercegeometry()'s RhinoCommon code, and I am not sure I understand it.Is this some universal replacement function for rs.coercebrep (in this case) but also rs.coercesurface, rs.coerce3dpoint ...?"
maybe next time can I ask you to create a new discussion, and add the file you are working on (and a concise explanation)?
If you are just trying to collect all objects on a layer, in order to use them later in Grasshopper, calling the…"
i'm running into the same problem. tried to go around it using your suggestion but couldn't make it work. i get this error:
Runtime error (ValueErrorException): 4d859156-5a82-4e50-b88f-5eff9f286ee7 does not exist in…"
"Like so: Right-click the "code" input parameter -> Go to "Set Data Item" and click the cursor within the text input -> Ctrl + A to select all, CTRL + C to copy the text -> Paste the text in a new Python component or text…"
"So I figured out why I got the wrong build. If you go to the grasshopper site and then click on DOWNLOAD/Latest Build you get the 52 build. If you just click on DOWNLOAD and not the drop down choices you get the 61 build.
However, even with the 61…"
I just downloaded the "most recent" build from the grasshopper site and the build that was downloaded was
Grasshopper 1.0 (0.9.0052). When I installed it and opened my files it said that my files were actually produced on a…"
if your organization is using Grasshopper 0.9.59-0.9.60, then I think I know what is going on. These are outdated versions that do not support the Python component. Otherwise, I think I would like to know what is happening and fix it for you…"
my best guess on how to fix this is to use the GH_IO_Viewer.exe (called FileViewer.exe in the very latest GH), convert the file to GHX (if it was already GHX, then ignore this step), open the GHX file in a text editor and try to find the…"
I wrote a grasshopper definition about a year and a half ago, maybe two, that made use of some python scripting components. I don't know what versions of Rhino/grasshopper or python I was using as our firm updates these things all of the time. I just opened the files today and the python component has "old" plastered over it and when I open it up all of the code is gone. ANYONE know how to fix this?Much thanks.See More
"It's been reported but at the moment all my time is going into the Rhino Script Compiler for Rhino5. Once that project is done I can start trying to fix this bug again.
if you can give me an exe that wants input either from a file or from stdin and outputs in a file or in stdout then i can do the rest (providing i can properly understand the input and the output formats). i'll see what ma math wiz friend has to say also.
jon, probably tbe thing needs proper compiling so as to accept the input from the command line and to shout things out in stdout, but my experience is quite limited in this way - i haven't properly compiled anything in c++ since 4 years. actually that's what set me back. anyway, keep me posted, and if you need any help i can at least promise to look through it.
about a cgal link - i've been thinking of it actually before qhull - but the latter proved more accessible. in a way, you/we should get an .exe from the code doing just that and then call it from gh just like qhull. it should work, but in a way i'm a bit bugged up right now. what can i say? it's definitively on my summer's to do list.