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

Image may be NSFW.
Clik here to view.

Read Blocks from Rhino

Hi all, I am trying to write a GhPython script that can read blocks from Rhino. But instead to return some format that grasshopper can read, it returns “Rhino.Geometry.InstanceReferenceGeometry”, I...

View Article


Using Modules unavailable in Rhino8 Python editor

Hi All, May I ask how do you import a module that’s currently unavailable? Is it possible to do pip install in Rhino Python Editor? The module I would like to use is Tkinter 7 posts - 2 participants...

View Article


Image may be NSFW.
Clik here to view.

Bug report: Rhino.Geometry.Curve.ProjectToPlane error with ArcCurve

I’ve got a wrong result when using Rhino.Geometry.Curve.ProjectToPlane on an ArcCurve. Here is a Rhino file: bug curve.3dm (41.1 KB) Here is the script: import Rhino import scriptcontext as sc def...

View Article

Python script to makes 2d, dimension and annotate

Hi, is there a python script that runs the make 2d command that then can also dimension and annotate the drawing ? Thanks 2 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Flatten brush

Hi, I asked ChatGPT to create a flatten brush feature that I can use in the Rhino program. Currently, it works with a single click every time. The mesh objects can later be converted to SubD. AI +...

View Article


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 4 posts - 2 participants 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
Browsing all 4118 articles
Browse latest View live