Quantcast
Channel: Scripting - McNeel Forum
Browsing all 5938 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

[Update] ScriptParasite 2: Compatibility with Rhino 8 script editors

Hi all, I’ve just released a new version of ScriptParasite 2, that can connect to the newer C# and now also Python components. It’s currently available through the package manager as ScriptParasite 2,...

View Article


Image may be NSFW.
Clik here to view.

Rhino 8. Rendered mode floor Z not updating with GH preview

Hi all. Rhino 7.38.24338.17001, 2024-12-03 Rhino 8.24.25251.22001, 2025-09-08 Hope this will be fixed… In the meantime, do somebody know a quick fix or a hack to move the floor z? I know I can move...

View Article


Image may be NSFW.
Clik here to view.

R8: View Capture to Bitmap result in White JPGs

Hello Forum! I don’t know if this is a bug. I have a python script that I used for batch export JPG from layout using capture to bitmap. The script works fine in R7, but in Rhino 8 it produces only...

View Article

Image may be NSFW.
Clik here to view.

Script Editor Project Not Loading Command Files

When I open up a python project on a different computer, none of the command files load. I tried putting the folder location in the python 3 options but it didn’t help. Any ideas? 1 post - 1...

View Article

Sketchup to Rhino

I’ve gotten good at converting Sketchup models in Rhino, thanks largely to this forum. Exploding the blocks, purging all the block references, rebuilding the meshes, merging the coplanar faces. It’s...

View Article


Help: Need to Refresh texture in Rhino. Server path doesn't auto update

I have made a script that draws and overwrites a PNG file, this updates instantly on my computer and in Rhino. So everything is fine for me, but my customer works on a server with a looong path and...

View Article

Line - trimmed surface intersection with python

hi, I am trying to get the intersection of a series of lines to a few surfaces (see example and image attached). However these surfaces have been trimmed, when I check for the intersection I get also...

View Article

The Gumball Problem

e.Viewport.GetFrustumLine(e.WindowPoint.X, e.WindowPoint.Y, out pick_line); pick_context.PickLine = pick_line; pick_context.UpdateClippingPlanes(); _Gumball.PickGumball(pick_context, this); When using...

View Article


Image may be NSFW.
Clik here to view.

RVB script alias not working

Hi, First of all I can’t script any language, zero skill. I tried this “MinBoundBox3d.rvb (13.3 KB) script to find minimum bounding box from Brep, works fine but I can’t link an alias to it. I found...

View Article


How To Draw a JPG Using Python and RhinoScriptSyntax

I have created an image (.jpg) which I would liike to draw on the screen using Python, not through the Picture command. There’s more to the project which requires this part to be done in Python using...

View Article

Image may be NSFW.
Clik here to view.

Any rhino command/grasshopper script to quickly select all enscape blocks

Hello, I checked the select tools there were no commands to select enscape blocks. Does anyone have a grasshopper script that can select All enscape blocks in a project. I wanted to build one, but I’m...

View Article

Image may be NSFW.
Clik here to view.

I want to change the layer to one drag selection

Hello. There are a lot of building exterior lines and floor number information on the map. I want to change the layer of the floor number and the layer of the building’s exterior line by detecting the...

View Article

Struggle with my python code

(topic deleted by author) 1 post - 1 participant Read full topic

View Article


Image may be NSFW.
Clik here to view.

Struggle with python code

hello:) i have a struggle with my python code. as you can see on the picture i tried to replace the functions of the pink surrounded Component ‘Surfaces’ with a python3 component and a code i wrote....

View Article

Image may be NSFW.
Clik here to view.

Python node isn't currently signed

Hi, Not sure if this is possible, but we run an airlocked system on circa 300 virtual desktops so all applications need to be added to an allow list. We are in the process of migrating to windows 11,...

View Article


Assign unique name to objects when copying?

Is there a way to automatically assign a unique Object Name to a copy of an object when copying using the Alt+Drag gumball method? For instance if one is copying a cube called “Cube_A” is there a way...

View Article

Image may be NSFW.
Clik here to view.

I asked ChatGPT to do a PDF merger for Rhino

It did it in less than a minute! Now each time I have to place several images in one PDF or merge multiple PDFs I can simply call the script with an alias: Alias PDFmerge -RunPythonScript...

View Article


Image may be NSFW.
Clik here to view.

Request: Script Editor - More options for toolbar

When creating toolbar icons for your plugin in the script editor would it be possible to include some of the other options found in the normal toolbar editor? Such as tooltip. I can probably also just...

View Article

I asked ChatGPT to select all objects intersected by other objects

Script asks for geometry in Set A and Set B. Then selects the geometry in Set A intersected by the geometry in Set B. This time I had to debug the script a few times. Tested on 2000 geometries, for...

View Article

BlockDefinition import and export Error in PYTHON

I want to create new rhino file and copy all block definition from origin file. But This code is work incompletely. The TextEntities in original block definition are not copied as expected. I found...

View Article
Browsing all 5938 articles
Browse latest View live