thanks Steve , its work very well after update rhino
the tool is cool and work exactly as it was expected
i was wondering if it is possible to allow an interactive writing panel the same way we write in ironpython editor for rhino, where components of module listed down
another question is : whatis the purpose of : Target for rhinoscriptsyntax options ?
I don't know what you mean by an interactive writing panel. Could you post a screenshot?
The target for rhinoscriptsyntax tells the grasshopper component where to send data. If the target is set to "In ghdoc variable" then functions like AddPoint will add a point to grasshopper. If the target is set to "Rhino document", then functions like AddPoint will add a point to the Rhino document.
porting a simple python script to the python grasshopper component
Hi Steve,
Just trying out the Python grasshopper component by seeing if I could put a simple python script in with sliders for the parameters. The python works fine but when I put the code into the grasshopper component it seems to fail on these AddPlanarSrf and ExtrudeCurveStraight. When I comment out the rs.MoveObjects on lines 57 and 63 it works but does not output any of the surfaces just the curves.
I attached the python script and the .ghx and rhino file. Can you have a look and see what might be wrong?
The great thing is that the script you wrote will work untouched. There might be a few other spots that will need some review inside Rhino.Python,
to allow the switch of rhinoscriptsyntax target to work as expected. We will fix them.