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

Script editor so broken

I created a new c# script node in an empty grasshopper file and the editor doesn’t work. It opens, sometimes I can see the text. But it is hard to navigate the text, sometimes the text is out of...

View Article


Image may be NSFW.
Clik here to view.

Can't open Python components when re-opening the file

The script components will not open at all. I have never had this problem in the past and it is currently causing huge issues as I have done days of code that are now inaccessible. This is nuts,...

View Article


Rhp file generation from python rhinoscript

Hi there. I’m aiming to generate a .yak file for a plugin and this error appears “WARNING: Failed to inspect file and update manifest: sample.rhp”. I suspect the RHP file is the main culprit as it’s a...

View Article

Resize rendering image

Hello everyone! I wanted to adjust the size of a rendered image in a Python script, but I couldn’t figure it out. I found the following link, but I couldn’t figure out how to apply it....

View Article

Loft 2 groups of curves

i make this script to loft 2 set of curves but some times it choos a wrong pire of curves or start loft from a wrong point ( the starting points for the two curves not alginment ) can any one help me...

View Article


Image may be NSFW.
Clik here to view.

Help Needed: Script for Setting Rhino 3D Render Engines Not Working

I tried to write a script that queries and lists the installed render engines, then sets the selected engine according to the user’s preference. But unfortunately, it doesn’t work. Can anyone help...

View Article

Image may be NSFW.
Clik here to view.

Blend curve multiple

Hi, I need help. Does anyone have a Python script that does a blen curve on all curves at the same time? 1 post - 1 participant Read full topic

View Article

Image may be NSFW.
Clik here to view.

Runpythonscript error bug rhino 8.14

Hi, my script runs fine in the script editor but using runpythonscript this is what I get 5 posts - 2 participants Read full topic

View Article


Script stops working after update of Rhino 7

I use a script called “SolidWeight” (attached below) to calculate the mass of objects in Rhino 7. After every update (I just upgraded from from Rhino 7 SR37 to SR38) the script stops working and...

View Article


New script required

can we working together on script for flow along mesh like flow along surface or squishback but for 3d object not 2d thanks in advanc 1 post - 1 participant Read full topic

View Article

Image may be NSFW.
Clik here to view.

Calculating footprint area with fast script

When sketching out building volumes, getting floor areas quickly out of Rhino requires quite a few steps. Either you have to individually select faces, extract face curves or run a complicated...

View Article

Image may be NSFW.
Clik here to view.

Scripting help, Split curves and move

I just starting to learn how to script, i think i’ve gotten as far as i can go on this with a little help from chatgpt. So far i’m getting a selection then splitting it with another selected curve. Id...

View Article

Create plugins in rhino 8 from grasshopper definitions

I am trying to create a component plugin for Grasshopper using Rhino 8’s project publishing option. According to the documentation, components can be created from a Grasshopper definition using...

View Article


rs.GetObjectEx() seems to be broken in 8.14 IronPython

Hi all, I’m getting the following error message with rs.GetObjectEx() in IronPython in Rhino 8 SR 14: File “C:\Users\axelj.rhinocode\py27-rh8\site-rhinopython\rhinoscript\selection.py”, line 333, in...

View Article

Help with ExtendSrf using python script

Hello everyone, I am currently facing an issue regarding ExtendSrf using python and Rhinocommon. what I want to achieve is simple: select multiple edges of multiple surfaces and extend them all with...

View Article


R7: rs.IsLinetype() returns True no matter what

Hi @dale I see that rs.IsLinetype() returns true on all inputs. Can you please check it out? Even the example for the command returns “The linetype exists” on all inputs. import rhinoscriptsyntax as...

View Article

Trying to use "R=∞" as string in python but get error

Hi, I struggle with using infinity symbol in python. I can paste/type it directly into a text object in rhino with out problems, but python seems to struggle with it, does anybody know a workaround? I...

View Article


Script for sorting blocks

Recently cleaned up a document which took ages because of alot of blocks that where assigned to layers that I wanted to get rid of. Usually when working the layer structure changes slightly so it is...

View Article

Is RhinoCode opensource?

Hi, I would like to ask if RhinoCode editor is opensource? I am wondering if there would be any interest to extend the existing editor to other languages such as Rust or C++ that you would need to...

View Article

Image may be NSFW.
Clik here to view.

Creating planar patterns on a curved surface

Hello, I want to ask you a question. I want to make flat patterns on a curved surface. I tried 2 ways and neither worked for me. I tried doing it as a script and it didn’t work. I tried something with...

View Article
Browsing all 5938 articles
Browse latest View live