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

Image may be NSFW.
Clik here to view.

Permutations of datatree branches

@john_9995 wrote: Hello! So I’ve been looking for this function for a while and thought I should share the sollution now when I have figured out an answer. The question was - How do I get every...

View Article


Getting a component to watch a point

@matthewaustin233 wrote: Bit obscure, but how does the point parameter component actually work? i’ve got a point in Rhino and I have a python component that queries it and returns its attributes -...

View Article


Image may be NSFW.
Clik here to view.

Count self intersection for a curve Grasshopper/Python

@claire.dumont wrote: Hi everyone, I’m trying to find the number of occurrences of self-intersections for a curve in Grasshopper but I don’t understand why some points aren’t taken into account in my...

View Article

GHPython not visible in full screen

@djordje wrote: There is an is issue with GHPython editor that has been bugging be since the start of Rhino 6: When GHPython editor window is maximized (to the full screen), its bottom is hidden...

View Article

Save multiple file to Rhino 5

@banati.bodo wrote: Hi there! I’m totally new with rhino/pythonscript, apologies if i ask something obvious. My problem is the following: i have a grasshopper file, and in the end i bake multiple...

View Article


Laying out contours for laser cutting with Python

@lmboyer04 wrote: So I’m still fairly new to this all so pardon if I’m asking bad questions. I’m using Rhino Python Editor and I’m trying to create a script (while also learning to script a bit) that...

View Article

Python Script for AddPolygon?

@lbrooks wrote: I’m just getting started with rhinoscriptsyntax, and I’m wondering how come there isn’t a function for AddPolygon like there is for AddRectangle and AddEllipse? Am I missing something?...

View Article

Brep Center Point in Grasshopper-Python?

@kai.yeh wrote: Hello guys, I’m wondering to know if there is any method to get the centre point of a brep in python? Thank you very much! Posts: 2 Participants: 2 Read full topic

View Article


Grasshopper Python SubD script (got getsetter_descriptor)

@h.h.c.manders wrote: Hey all, I have been playing around with Rhino 7 and it’s SubD possibilties. To make the modeling easier I have been trying out to generate the SubD from a mesh through...

View Article


Split rectangle into four pieces

@falola.yusuf wrote: Hello, How can I split a rectangle I created using rs.AddRectangle into four pieces? I want to get a different GUIDs for each line. Thanks Posts: 3 Participants: 2 Read full topic

View Article

Grasshopper python question DataTree with integer

@kai.yeh wrote: Hello all, I’m wondering to know how to define integer,float,strings in python DataTree construction? For instance, I was trying to put a integer in a tree, but what syntax should I...

View Article

Image may be NSFW.
Clik here to view.

How to selected curve on surface?

@xiix.xoox wrote: I have 2 curves. I create planar surface with them. Then i want select 2 curves on surface i created . I don’t want use ‘DuplicateEdgeCurves’ because influence another curves . how...

View Article

Python code does not work correctly!

@zhangvip0755 wrote: Hi I am trying to run the following code in PythonScript: Source: https://developer.rhino3d.com/samples/rhinocommon/add-radial-dimension/ from Rhino import * from Rhino.DocObjects...

View Article


Image may be NSFW.
Clik here to view.

How to compute the normals at vertices of a mesh face in C#

@mahanmotamedi1991 wrote: Hello everyone, I have a simple quad mesh face and I want to retrieve the for normals of the vertices (shown in the Image) using c#. I used mesh.NormalAt(x,x,x,x), but this...

View Article

Image may be NSFW.
Clik here to view.

Python Simple problem boolean difference loop

@a.elshafei wrote: Dear All, I have a quesition but I don;t have deep experience with python. I have some elements and i want to do boolean differene with main object but in a loop way so all of them...

View Article


Slicing a list at integer of when an element is different from the previous

@aeaechan96 wrote: 0 I need to be able to slice a list of points into multiple sublists, to act as a guide for slicing another list. My list right now is y_vals =...

View Article

How can I move a point through out a custom plane's z axis

@joantomass wrote: Hi all, I’m quite new on python scripting and I’m getting stuck with the tansformations, since I’m trying to move a point though a custom plane’s z axis to make then a line and I...

View Article


3 "toolbar" methods obsolete

@KeithR wrote: These rhinoscript methods are all in the V6 autocomplete library, however they through up an error message when run: The “IsToolBarVisible” method is obsolete.Command The...

View Article

Delete all objects on Rhino workspace

@falola.yusuf wrote: Hi all, I want to do some simulation on Rhino, so I want to delete all objects on the workspace after every iteration. Please, How can I do this? Thanks Posts: 1 Participants: 1...

View Article

ObjectClash only working for extrusions

@JoshLobel wrote: I’m trying to adapt the example ObjectClash script - Rhino3d Object Methods - Object Clash - but the only geometry type that I can get to work are Extrusions. I’ve tried adjusting...

View Article
Browsing all 5743 articles
Browse latest View live