Change view settings via a script
I wish to access this specific setting via a script, so I can enable/disable it. I have been in here Rhino.Display.DisplayModeDescription.GetDisplayModes() And in there I tried the...
View ArticleObtain Intersection Geometry of Visible Elements with View Cropbox
Could someone help me with the following? I’m trying to create a script Grasshopper/python/Dynamo for Revit that retrieves the geometry of all visible elements in the active view (excluding rooms),...
View ArticleSplit panel By choosing the recovery value
Hi, I’m trying to make a phyton script (to use directly in rhino instead of using grasshopper) to split a panel by being able to choose the recovery value. I can’t really find an effective solution.....
View ArticleDimension Masking via python
Trying to set the mask to solid color via python (Rhinocode/ScriptEditor in R8 py3.9) - not able to get where I need to go. Editing the style or dim itself is acceptable. Appreciate the help! 4 posts...
View ArticleHow to compile Python 3 (.py) in Rhino 8 with RhinoScriptCompiler.exe
Hello, How do I compile a Python 3 script (.py) in Rhino 8 using RhinoScriptCompiler.exe. It fails to run after I compile it, any suggestions? Thanks to all 3 posts - 2 participants Read full topic
View ArticleBug script python polyline
Hello, I am currently working on a Python script in Rhino and have encountered an error that I am unable to resolve. The error message is as follows: TypeError: an integer is required in method Void...
View ArticleHow to convert SubD to NURBS in RhinoCommon without using rs.Command?
Hello, I would like to convert a SubD object to a NURBS Brep in Rhino using RhinoCommon, but I want to avoid using [rs.Command(“_ToNURBS”)] or any command-line calls. Is there a direct method or class...
View ArticleBUG - open3d crash rhino
Hi @eirannejad One of the recent updates causes Rhino to crash on Mac when using Open3D. I’m not sure if it’s an Open3D or Rhino issue, but the code works fine on Windows. I’ve tried reinstalling the...
View ArticlePython 3.13 in Rhino WIP
Next build of Rhino WIP is going to deploy Python 3.13.3 Why? Python 3.9 currently shipping with Rhino 8, is going to hit End-of-Life towards the end of 2025. One of the major wins for having Python 3...
View ArticleLegacy RhinoScriptCompiler
I’ve had a decent amount of success using the RhinoScriptCompiler. Compiling the.yak packages works well and the scripts all run. But sometimes, seemingly at random, the entire plugin stops working,...
View ArticleLearning C# scripting advice
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleHow do I install a Python package from a URL in Rhino 8 Script Editor?
Hello! I’m trying to install PyTorch in Rhino 8 using the new script editor, and I want to install it from the official PyTorch URL for CUDA 12.6. https://pytorch.org/get-started/locally/ In my script...
View ArticleGrasshopper 2 Script Components in Rhino WIP
First working draft of Grasshopper 2 Script Components are in Rhino WIP. This is the first iteration of these components and there is still a long road to feature parity with Grasshopper 1. But they...
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 ArticleETO Forms: Make a component have its natural width
I could have sworn there was a property I could set on to force components to have their natural width (based on content) and not fill the column’s width. Like if I have a drop-down on row 1 and a...
View ArticleExtend Multi Sides with Preview (Python)
Hi everyone! I’ve been meaning to create this Python script for Rhino for a long time, and I finally made it happen. It lets you extend surface edges quickly and easily, featuring a live preview so...
View ArticleProper way to convert ghpy method compiling to Rhino 8 method
Hi I have series components created using Rhino 7 and the method below compiling the python codes to ghpy. Seems like now Rhino 8 have Rhino Script Editor and all-Rhino Python compiler what is the...
View ArticleChanging Text in Blocks
Hi, First, when changing layer, font or even exploding text in a single text everthing works as expected, but in a block only layer is changed but font and exploding text is not changed. How to get...
View ArticleEto_Location on Rhino_view_point
I want the eto form position to be aligned to the top left or top right corner of the Rhino view, but I can’t seem to find the right way so far #! python 3 import Eto.Forms as ef import Rhino import...
View ArticleIronPython 2 vs Python 3 Print Terminal
Hello, I am curious if there is a way to get the Terminal view of a print function to show the same data between IronPython 2 and Python 3. I use the ghpythonlib.components library frequently, and I...
View Article