Is there a script for variable offset?
I am still on Rhino5 and therefore Offset does not have a Variable option. Is there a RhinoScript or Python Script that covers this? I understand there is a workaround using VariableOffsetSrf and I...
View ArticleETO, Python: GridView.DataStore is not populating data
I’m trying to make a table using GridView. I can’t figure out how to populate it with data. I asked Grok to make a very simple example to demonstrate the problem. The below example is what he came up...
View ArticleI asked ChatGPT to filter Sub-Surfaces
Do you know that in Rhino you can apply materials to Sub-Surfaces? For this purpose and a few others I made this Sub-Surface filter. It takes Polysurfaces and selects Sub-Surfaces: Planar and parallel...
View ArticleCan't change hidden object visibility in newly created headless document
Hi! I’m running into a weird issue: I create a headless document and populate it with existing objects using a script. Some of the objects are hidden. From here I learned that one should use the...
View ArticleAdditional functionality to ObjectAttributes.ViewportId
Hey @wim, Rhino WIP Feature: Isolate Objects to a Viewport Serengeti (Rhino WIP) In Rhino 9, you can now organize the scene by making selected objects only appear in specified viewports....
View ArticleRhino scripting language syntax highlighting editor
I would like a syntax-highlighting editor that understands the Rhino scripting language. I tried VS Code but uninstalled it again because I’m not interested in the complicated methods so dear to...
View ArticleI asked ChatGPT to scatter geometry
This script was done in 2 parts: First, uniformly distrubute points. Avoid points too close toghether or too far apart. Then add more options: Number of points. Maximum random angle of rotation. Seed...
View ArticleHow to check what .keys exist on Document User Text?
Hi, I am setting document user text via python using a runpythonscript command sc.doc.Strings.SetString(key, str(value)) But after running a few such commands, how do I check what .keys exist in the...
View ArticleRequest: scriptEditor install module package requirements
Hi, I use the scriptEditor to run python scripts. These scripts import modules that depend on packages. Everything works as expected as long as I add the ‘pip install‘ flag in the main entry file...
View ArticleScriptEditor Requirements and Path
@eirannejad I have the following script/package structure: my_script.py package/ __init__.py module1.py module2.py code in my_script.py #! python3 from package import module1 code in module1.py #!...
View ArticleMacro Button creation with Python script
Please bear with me as I’m not a real programmer, I just like to play pretend. I’ve made a couple handfuls of Python scripts for various purposes and have thought a few times that it would be great to...
View ArticleRhinocode Hogging Harddrive Space
Hi @eirannejad (I think?), I was just cleaning up my hard drive and noticed that this rhinocode folder was taking up ~1GB: It looks like the bulk of that are these cached Pickle files: Is this...
View ArticleClassify the curves into inside curves and bounding curves
I am writing a script to classify nested curves. The goal is to identify the outer bounding curves (the red contours in the attached picture) and the inside curves (the blue ones). My current script...
View ArticleSelection of a line inside of a block doesn't show block's name
So I have this situation: 2 lines inside of a block “main” One of these lines is also inside of another block “notch_block” That block is also inside of “main” as reference. My python script uses...
View ArticleAntigravity for writing C# and have used grasshopper
Is there anyone who has used this. please let me know the process. i am new one to use it. 1 post - 1 participant Read full topic
View ArticleRearrange layers?
Is there a way change layer position in the list without creating new layer? I have a list or layer names that I want to have in a specific order. If file doesn’t have any of these layers it works...
View ArticleHow to change python editor background?
Is there a way to change the background colour for the python editor? Thanks 1 post - 1 participant Read full topic
View ArticleCurveAndArcUtilities for Mac
Hey all. Pascal Golay had made a bunch of commands for scaling curves by their length and others. But they don’t seem to work when importing to Rhino 8 for Mac. Any idea if anyone was able to get this...
View ArticleHelp using Conda package in RhinoCode
@eirannejad I would like to import the grass package from conda-forge. You had suggested trying conda_interop, but I’m having trouble. The grass package is only for Mac and Linux currently, so I’d...
View ArticleScript Editor debug executing commented out code
Running Script Editor in Rhino 8.30.26075.13001, 2026-03-16 with Python 3 files. Whilst debugging the initialization of an object Rhino was executing lines of code that are commented out, as shown...
View Article