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

Image may be NSFW.
Clik here to view.

Grasshopper - Python3 Script Error

I have created a script but I am unable to share it. Create something similar to show the error. I thought packages installed were isolated to Rhino so I am not sure why this is happening. “Module use...

View Article


Python 3 is not loaded

Hello Forum, despite of having the latest rhino version installed, when I use EditPythonScript and then import sys print(sys.version) I get this: 2.7.12 (2.7.12.1000) [.NETCoreApp,Version=v3.1 on .NET...

View Article


Get description of types of a group of objects ("1 point, 2 curves...")

If I have a list of objects, is there an easy way to get the text description of their types as in the title? This is the same output as the added to/removed from selection objects feedback. 3 posts -...

View Article

Closing form during PushPickButton() Causes _Isolate and _Toolbar to Fail

Lately I’ve had a problem where the Isolate command simply hides stuff. So I have to click on Isolate and then HideSwap to get the effect I’m going for. I also have had an issue where clicking on...

View Article

Toggle RhinoCAM on/off - scripts run 10-20x slower

Hi all, and thanks for those who responded to my previous script performance post. Have finally gotten to the bottom of why scripts that should run in seconds were taking 30-60 seconds which I tried...

View Article


Rhino script at startup does not work with path including spaces

In https://docs.mcneel.com/rhino/8mac/help/en-us/commands/grasshopper.htm?Highlight=grasshopper it is said that the filename of the grasshopper file may include spaces, and in this case it is...

View Article

Macros & RMB in Project file

Hello I am struggling with the script editor which is okay, I have no experience with scripting so for me it is a learning process. By reading other people’s issues in this forum I’ve come a long way....

View Article

Image may be NSFW.
Clik here to view.

Python external libraries import error

Hello, I am trying to use IfcOpenShell library inside grasshopper (Python component). I have developed a script in the VS Code (python version 3.12.4) which works correctly. Now, I am trying to...

View Article


Plugins creation

Hello everyone, I’m looking for someone to create a plugin for me in Rhino 8: This plugin allows you to create pipes with an outer diameter and a choice of thickness. I use a drop-down menu to choose...

View Article


Image may be NSFW.
Clik here to view.

Python : create a polyline with fillets

Hello all First question for me here. As a beginer in Rhino scripting I need a helpful hand ! I would like to create a polyline with fillet in place of some corners. The idea is doing a parametric...

View Article

Help with Text Wrapping

I haven’t found any grasshopper component that applies text wrapping for text entities yet so I tried using WrapText method for annotationbase but It doesn’t enable text wrapping and when I use...

View Article

Image may be NSFW.
Clik here to view.

Clarity on creating PolyCurves from Lines and Arcs in Rhino Common

I’m looking for some advice on how to become a better user of the Rhino API. I have several curves that are collections of lines and arcs (can’t be too uncommon) and I would like to preserve the...

View Article

Image may be NSFW.
Clik here to view.

Script to search for specific geometry in rhino document

Hello dearest RhinoGrasshopper community, Currently working on an “instant LCA calculator” to get live results as we model in rhino. The first part of such a development requires me to extract...

View Article


Is this possible to Squish and Squish Back multiple surfaces at a time?

To Texture on bend surfaces sometimes we need to use Squish and Squish Back option.But as far I know, we can use squish and Squish Back option only on one surface at a time.So it’s take time. 1 post -...

View Article

Image may be NSFW.
Clik here to view.

Python Control of Picture (Srf) Transparency Settings

I am trying to automate the control of the transparency within a PNG and am unable to this with the implements that I’m aware of. I’ve built tools to automate the production of transparent PNGs where...

View Article


Image may be NSFW.
Clik here to view.

Eto - Place a drawable over another drawable

I have two drawable rectangles one that’s the background and the other that will act as the buttons. I want to place the button inside/over the background rectangle, what’s the best way to do that....

View Article

RhinoCode editor freezes any Rhino instance with RhinoCode open

With multiple Rhino instances open, any Rhino instance with the RhinoCode editor open will freeze if one Rhino has a python script running in its RhinoCode editor. This does not appear to happen with...

View Article


TryFitCircleTT Not Working As Expected (Rhino Common)

I am getting no change to input circles with TryFitCircleTT, when I am expecting either the same general behavior as the CircleTT Grasshopper Node (albeit with a change in circle center instead of a...

View Article

Export temporary .stp and autoload in Bambu Lab Slicer

I started writing a script to load a brep directly in bambu studio. A temp step file is saved and opened with bambu. What I would like to do is that if bambu studio is alredy running to just inject...

View Article

Pickle in python3

Back before Rhino8, we used to rely on pickle to easily serialize custom class instances to file. This was very useful for complex scripting applications. With R8/py3, it is no longer possible to...

View Article
Browsing all 5938 articles
Browse latest View live