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

Image may be NSFW.
Clik here to view.

Script market - rhino 9 feature request

Hi, One my favourite features in rhino 9 so far is the “symbol” tab which has bunch of ready to use blocks. ofcourse you can download blocks manually but having it embedded in rhino make things much...

View Article


Predictable Edge Indexing, Surface Orientation, and UV direction

I am scripting in Python to create surface patches using the Brep API. Basically my call pattern is: brep = rg.Brep.CreateEdgeSurface([crv1, crv2, crv3, crv4]) Do something with the brep. However I...

View Article


Is there a way set document name and path of _new without saving first?

Hello. Is there a way change _new document’s name (filename) and file path without saving it, so _save would suggest desired filename and directory? Thank you. 2 posts - 2 participants Read full topic

View Article

Gable roof script

Hello I’m just starting to learn about Python scripting. I would like to write a script for a gable roof. Simply a box with a triangle on it, but as one solid. And I’m racking my brains over how best...

View Article

Creating a plugin from python scripts

Hello everyone I’m currently trying to create my own plugin from python scritps for my personal use. The first of these python script is to quickly assign specific colors to selected curves by just...

View Article


Detect import vs open file?

Hello. Does Rhino provide ability detect when a file being imported vs being opened? I’m using Rhino.RhinoDoc.EndOpenDocument but it seems it fires whether file is opened or imported… Thank you. 2...

View Article

Image may be NSFW.
Clik here to view.

Missing Rhino Python Modules in Script Editor (Edited)

I’ve been using the Script Editor, and then seemingly suddenly I’m getting this error message. I did create a project (for the first time) in the script editor before the problem started I have stubs,...

View Article

Image may be NSFW.
Clik here to view.

How to create a command line menu with numbers?

Hi, I need a command prompt menu with numbers for the user to click on, but for the values to display they have to start with a string character, so I had to add a letter, v in front. def...

View Article


Three line program fails in script editor, R8 Grasshopper

A short script stopped sending output and didn’t print to terminal, so I deleted lines until I was left with a bare minimum - which still doesn’t work. If I add a new Python component to the canvas it...

View Article


Image may be NSFW.
Clik here to view.

UI issues on GH scripteditor

Few comments to the scripteditor UI: The red bars of exceptions show to the far right side and i cannot read the text. And if I click “go to problem” i get this bar, but it’s stuck - i cant remove it...

View Article

Image may be NSFW.
Clik here to view.

Rhino 8 ScriptEditor: module dependencies - Custom Toolbars in .rhp/.yak

Hi everyone, I am building a plugin for my team (first, and maybe for share it later) using the new Rhino 8 ScriptEditor. I have two major blockers regarding the distribution of my toolset via...

View Article

Run own Python environment in the Script Editor

Hello everyone! Can anyone tell me how to start my own Python environment in Rhino 8 script editor? Currently, I can only choose between CPython or IronPython. I would be very grateful for any help. 2...

View Article

GH Script component freezes on Apple Silicon Mac

Hi everyone, I’ve been experiencing a freeze whenever I open the Script Editor or double-click a Script component in Grasshopper on my Apple Silicon Mac. Rhino becomes completely unresponsive and I...

View Article


MakePDF_script

Hi, I’m writing a script to automate part of my job. I’m having trouble getting Rhino Python to generate a PDF of a cut sheet without the user interface popping up. Is there any way to do this? 1234-...

View Article

Image may be NSFW.
Clik here to view.

Problem importing rhinoscriptsyntax in .gh

Hi all, In RH8 SR21, I am having a problem in the gh py3 editor, even if I only have this one line of code: any ideas? 6 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

CreateBooleanRegions Rhino7/8

I’ve encountered an issue with the CreateBooleanRegions method in Rhino 8—its behavior is completely different from how it worked in Rhino 7. I’ve already tried changing the referenced Rhino 8 version...

View Article

Nested linked block selection

Hi, I am having trouble with sub nested block selection : when using sub object selection I can select any child block, but when running a script asking to pick select blocks, only the parent block...

View Article


Python Broken

Please Help! Just updated to the latest Service Release candidate 8.31.26104.8181 and now Python 3 is having issues. I can confirm coworkers running on earlier versions aren’t having this issue. I...

View Article
Browsing all 5938 articles
Browse latest View live