Script Component result null in Grasshopper rhino8wip
hi Why is the script component in Grassshipper rhino8wip null? But that cod in c# old components give correct result Is it bug in new script componet in RhinoWip? split refit null.gh (27.4 KB) private...
View ArticlemacOS MessageBox in python thread
The following script works on windows but not on macOS. Is there some workaround? import rhinoscriptsyntax as rs rs.MessageBox("main_thread") import thread def hello(): rs.MessageBox("thread")...
View ArticleHow to accelerate the computing speed? (cluster : C#+ZombieSolver)
Hi, I am building my own cluster with several C# components and a “ZombieSolver” from Kangaroo2. The primary purpose is to delete the repeated mesh face from the cluster input. I know the C# component...
View ArticleTrouble to Import with Python
Hi, I have a bug that i don’t understand. I store my script on my Dropbox so i can use it on 2 computer. import rhinoscriptsyntax as rs rs.Command('-_import ' + chr(34) + 'C:\Users\PC1\Dropbox\Rhino...
View ArticleCapture Semantic-Segmentation-Style Image in DotNet
Looking for some pointers / advice on how to capture a bitmap in DotNet (I’m using a C# component in Grasshopper right now) that displays a “semantic-segmentation” style image of a given viewport. I’m...
View ArticleGet subcurves of polycurve in Python?
Hi…, I’ve tried to start here: Rhino - Rhino.Python Guides. Surprisingly I don’t find a topic about curves. How to get the subcurves of a polycurve in Python? Thanks Michael 4 posts - 2 participants...
View ArticleControl Random Color's HSV values - particularly Saturation
Hey all, Working on a Python script, and I have a Random Color assigned to a new layer – but I’d like to be able to specify ranges of its HSV values (eg. Set a Pastel-type look with Saturation=15-25)...
View ArticleCannot escape from a Rhino Python script
Hello, I am trying to have a function that allows the user to pick some points. Maybe one point, maybe dozens. I used the example located here as a starting point: Rhino Guide Canceling a Python...
View ArticleProblems in rhinoscriptsyntax recognizing GUIDs
Hello everyone, I have been coding in python in grasshopper for about 7 or 8 months now, so I there is plenty I still do not understand. One of the biggest problems I have is getting rhinoscriptsyntax...
View ArticleVector Frame export script for Bongo Animation
I’m looking for a script that renders vector image files for each frame of an animation created with Bongo. Has anyone seen any tool like this? Thanks 1 post - 1 participant Read full topic
View ArticleCreating/Baking angular dimensions from Python
tl;dr: I am creating/baking angular dimensions from Python, but negative angles never show a minus sign. How can I change the Dimension style to respect the sign? Or alternatively, how do I parse the...
View ArticleHow to ignore SplitDisjointMesh popup
Howdy again! Have a small issue with a reduction script, i need to reduce meshes by layers, sometimes these layers fail when i run a splitDisjointMesh due to them being a bad object, i don’t know how...
View ArticleRhino Coloring Surface
Hi all, I am trying to output some colored surfaces through a python function which I intend to use in a headless compute environment. import rhinoscriptsyntax as rs import scriptcontext import Rhino...
View ArticleHow to get a surface of a filleted rectangle via RhinoCommon?
Actually, I’d like to build a flat rectangular surface with all corners filleted to the same radius. What would be the proper way to achieve this? While reviewing the Surface class, I couldn’t find a...
View ArticleProblem with detecting the inside connection between extrusions
I am a Python developer using Rhino to do a few spatial analyses. My case here is that I have to find the inside connection between the extrusions and I have written a function to detect it....
View ArticleAssign Random Color HSV Values to One or More New Layers
Starting a new thread with more specific details (and my last one got a bit hi-jacked ) @Helvetosaur I was hoping maybe you had a thought about this? Using Python, would like to ask user how many...
View ArticleMergeSurface returns a surface bigger than both individual surfaces
Hi I’m using ghPython node and Rhino.Geometry.Brep.MergeSurface to merge to surfaces but the returned surface is bigger than the individual surfaces I feed to the script, I played with the tolerance...
View ArticleRhinoScript - CompareGeometry
I don’t seem to be able to get the CompareGeometry to work in either Rhino 7 or the WIP. I’ve copied the example script from the help file and compared one shape with its exact copy and it’s always...
View ArticleProblem with CreateSoftEditSurface parameters
I am having trouble making the CreateSoftEditSurface method change a surface. I think the parameters are correct, but the surface is not moving. There isn’t any error messages. Here is the test script...
View ArticleRhino Python open command missing an encoding argument?
Hello, I have to digest an XML file that arrived with a UTF-8-BOM encoding. When I am outside of Rhino - using standard Python at a command prompt - I can open the file using this command: FileHandle...
View Article