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

Rhino 6: "No module named GhPython.Assemblies" after hit "Reset Script...

Hello, The title here almost says it all. Using the Rhino 6 Evaluation version and developing some python scripts, I happen to get this error message each time I hit the “Reset Script Engine” button....

View Article


Move grasshopper component from python component using Metahopper

I’m sorry for asking quite much recently. I’d like to move a value list before adding it to the Grasshopper document using python. This is what I tried already: # trying to modify the bounds...

View Article


Image may be NSFW.
Clik here to view.

Wish: rs.getrealbox() accept Space as Enter

Hi guys, (is this for you @dale?) it would be great if rs.GetRealBox() could accept Space as Enter. Is that a big rewrite? I have tools where I use the real box since it is much more “in you face”...

View Article

SubDSweep and SubDLoft and...in RhinoCommon

(subdSweep and subdLoft and Multipipe… ) Is this api now in common,? if not, when will these be added? Given the great features of Subd … I think users desperately need these commands. @dale 1 post -...

View Article

Image may be NSFW.
Clik here to view.

"Item;List;Tree" Access in GhPython

Hello Is there a way to change between Item;List;Tree … Access from GhPython? image609×585 31.2 KB 3 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Unroll Curves in one direction only

Hello All, I m looking a way to automate the process of unrolling curves in one direction. I give below an example and i have also attached the 3dm file.unroll_crv_1d.3dm (60.9 KB) The original curves...

View Article

Question on Rhino.Geometry.GeometryBase.Duplicate()

Can’t seem to make it work to duplicate a Rhino.Geometry.Box object… What am I doing wrong? I tried new_box=Rhino.Geometry.GeometryBase.Duplicate(old_box) >>> message: "expected GeometryBase,...

View Article

for filtering

Where can I find the type of a GH python object / <type ‘ZuiPythonComponent’>? I want to filter for these, but can not find the type like for the gh_group as seen below. It’s not part...

View Article


Image may be NSFW.
Clik here to view.

Find thickness of a complex object

Hey guys, does somebody know how to find thickness of a complex object (more surfaces joined and created a closed polysurface) like in image , a easy and efficent way image1146×609 8.53 KB 2 posts - 2...

View Article


Vanilla Rhinocommon V6 vs. Plankton library

I was trying to make a little customization to the original MeshMachine code (by @DanielPiker) in python. The original code utilizes the plankton (by @will) library, which I managed to port into...

View Article

Python create 3dm file and save/export objects in them

hello there, I want to make some kind of a database, but with rhino files. So,for example, in the current Rhino file I create 2 objects. When this custom command is executed, it should select the 2...

View Article

Check multiple splits with Rhino API

Hello, I would like to know if there is a way to check if the split has succeed with API. I use VB.Net The thing is when I split a surface with multiple Breps (even with a for each…), if it fails, I...

View Article

Image may be NSFW.
Clik here to view.

Installing python plugin commands fails in rhino 6

The problem: Creating a rhi-file for python pluging commands fails to install correctly. The (probable) reason: Installing creates the folder and file in the correct place, but in the folder name the...

View Article


Access ActiveDoc from a panel

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic

View Article

How to reparameterize a surface in Python?

Hello friends How do I make a surface in Python reparametrize Thankful 2 posts - 2 participants Read full topic

View Article


Python editor - Shift+Tab to dedent?

I could have sworn this worked before, but now it doesn’t. Am I imagining things? 3 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Ghpython Input name

Hello Is it possible when the value changed than the name of input changed? 0 >> Option1 1 >> Option2 2 >> Option3 … 1 post - 1 participant Read full topic

View Article


Image may be NSFW.
Clik here to view.

Degrees input

Hello In python how to add degrees in input? image839×509 35.1 KB 8 posts - 4 participants Read full topic

View Article

Gh_Component SDK mode very slow

Hello When i switch to Gh_Component SDK mode the calculation become very slow why? https://aws1.discourse-cdn.com/mcneel/uploads/default/original/3X/8/9/895acc03fd324d4885408b4bee5fc8086cd24e55.mp4 1...

View Article

Attribute User Text as Python dictionary

Hello! I am trying to retrieve all objects from the rhino document in order to get their Attribute User Text as a Python dictionary. No luck so far… What I have been trying is this: for rObj in...

View Article
Browsing all 4118 articles
Browse latest View live