Python slow to create geometry Rhino8
I’m working with a python developer on some scripts to create some objects, which includes lots of simple polysurfaces, and importing and placing a number of blocks. He’s added some time tracking to...
View Articlers.GetPoint() won't accept a pasted coordinate but "_Point" will
Hi @dale, I use rs.GetPoint() to get a point (obviously) but sometimes I know the coordinate and have it copied to clipboard and want to paste that in instead, but that doesn’t work. But this works...
View ArticleCannot select objects while running semi-modal ETO dialogs
When running semi-modal ETO dialogs from the script editor in Rhino8, selecting objects while the dialog is running is possible. When running the script directly, it is not possible. In Rhino7,...
View ArticleCan Automate selection be divided by Grid Line Cente?
There are so many commands of Selection [Sel],such as “sel block , sel volume, sel polsrf” etc.Is it possible to select left sided or right sided objects of the grid line centre,or above or bottom...
View ArticleRhino8 takes a very long time to close. Bug? Or improper object disposal?
I’ve had this problem randomly for a very long time. Sometimes Rhino8 takes a long time to close…even if the file is very simple. Not every time, but often. I think it has even happened with empty...
View ArticleScript Input does not run when the code is inside a Script_Instance
@eirannejad I have created this small example to show that the script input does not run when the code is inside a Script_Instance. Is that intentional? I am trying to use the script input with some...
View ArticleQ: CSharp-Example for ViewCaptureSettings(), and CaptureToBitmap()?
Hi…, it seams ViewCaptureSettings() isn’t working in Python at the moment: https://mcneel.myjetbrains.com/youtrack/issue/RH-85062 I assume ViewCaptureSettings() is only working in the ScriptEditor...
View ArticleGrasshopper - Python3 Script Error
I have created a script but I am unable to share it. Create something similar to show the error. I thought packages installed were isolated to Rhino so I am not sure why this is happening. “Module use...
View ArticlePython 3 is not loaded
Hello Forum, despite of having the latest rhino version installed, when I use EditPythonScript and then import sys print(sys.version) I get this: 2.7.12 (2.7.12.1000) [.NETCoreApp,Version=v3.1 on .NET...
View Article[BUG] PushPickButton() Causes _Isolate and _Toolbar to Fail
Lately I’ve had a problem where the Isolate command simply hides stuff. So I have to click on Isolate and then HideSwap to get the effect I’m going for. I also have had an issue where clicking on...
View ArticleGet description of types of a group of objects ("1 point, 2 curves...")
If I have a list of objects, is there an easy way to get the text description of their types as in the title? This is the same output as the added to/removed from selection objects feedback. 6 posts -...
View ArticleToggle RhinoCAM on/off - scripts run 10-20x slower
Hi all, and thanks for those who responded to my previous script performance post. Have finally gotten to the bottom of why scripts that should run in seconds were taking 30-60 seconds which I tried...
View ArticleRhino script at startup does not work with path including spaces
In https://docs.mcneel.com/rhino/8mac/help/en-us/commands/grasshopper.htm?Highlight=grasshopper it is said that the filename of the grasshopper file may include spaces, and in this case it is...
View ArticleMacros & RMB in Project file
Hello I am struggling with the script editor which is okay, I have no experience with scripting so for me it is a learning process. By reading other people’s issues in this forum I’ve come a long way....
View ArticlePython external libraries import error
Hello, I am trying to use IfcOpenShell library inside grasshopper (Python component). I have developed a script in the VS Code (python version 3.12.4) which works correctly. Now, I am trying to...
View ArticlePython : create a polyline with fillets
Hello all First question for me here. As a beginer in Rhino scripting I need a helpful hand ! I would like to create a polyline with fillet in place of some corners. The idea is doing a parametric...
View ArticleHelp with Text Wrapping
I haven’t found any grasshopper component that applies text wrapping for text entities yet so I tried using WrapText method for annotationbase but It doesn’t enable text wrapping and when I use...
View ArticleScript to search for specific geometry in rhino document
Hello dearest RhinoGrasshopper community, Currently working on an “instant LCA calculator” to get live results as we model in rhino. The first part of such a development requires me to extract...
View ArticleClarity on creating PolyCurves from Lines and Arcs in Rhino Common
I’m looking for some advice on how to become a better user of the Rhino API. I have several curves that are collections of lines and arcs (can’t be too uncommon) and I would like to preserve the...
View ArticleIs this possible to Squish and Squish Back multiple surfaces at a time?
To Texture on bend surfaces sometimes we need to use Squish and Squish Back option.But as far I know, we can use squish and Squish Back option only on one surface at a time.So it’s take time. 1 post -...
View ArticlePython Control of Picture (Srf) Transparency Settings
I am trying to automate the control of the transparency within a PNG and am unable to this with the implements that I’m aware of. I’ve built tools to automate the production of transparent PNGs where...
View ArticleEto - Place a drawable over another drawable
I have two drawable rectangles one that’s the background and the other that will act as the buttons. I want to place the button inside/over the background rectangle, what’s the best way to do that....
View ArticleRhinoCode editor freezes any Rhino instance with RhinoCode open
With multiple Rhino instances open, any Rhino instance with the RhinoCode editor open will freeze if one Rhino has a python script running in its RhinoCode editor. This does not appear to happen with...
View ArticleTryFitCircleTT Not Working As Expected (Rhino Common)
I am getting no change to input circles with TryFitCircleTT, when I am expecting either the same general behavior as the CircleTT Grasshopper Node (albeit with a change in circle center instead of a...
View ArticleExport temporary .stp and autoload in Bambu Lab Slicer
I started writing a script to load a brep directly in bambu studio. A temp step file is saved and opened with bambu. What I would like to do is that if bambu studio is alredy running to just inject...
View Article