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

RhinoScript layer visibility question / problem

@Jarek wrote: Hi - I am trying to find out if a child layer is set to visible (bulb is ON), independently of the Parent layer. Rhino.LayerVisible will return False, if Parent layer is OFF, even if the...

View Article


Image may be NSFW.
Clik here to view.

RC - subobject selection routine problems

@Helvetosaur wrote: Trying to be able to select some subobjects via RhinoCommon and have them remain selected once the Get() operation is finished. So far, all I figured out how to do is have the...

View Article


Image may be NSFW.
Clik here to view.

Do idle processes add command with python code?

@Alen_Russ wrote: Hello, 1613×526 12.9 KB I want to add IncrementalSave command to idle processing, but I cant find any code with python. Can it be implemented in code mode? Thank you Posts: 1...

View Article

Image may be NSFW.
Clik here to view.

Brep.UnjoinEdges - clarification?

@Helvetosaur wrote: What does the last line mean as far as output? Seems a bit confusing. image650×557 17.5 KB Seems to indicate the input brep is not modified, how then do I get the brep with the...

View Article

Image may be NSFW.
Clik here to view.

Analyse and repair self intersecting edge of brep object

@peter.zock wrote: Dear all, I am working with multiple brep objects that have been generated by a rhino or grasshopper script. For some objects the edges have been “extended” to long so that the...

View Article


How to create mesh from nurbs with rhinoscript without dialoq box for options?

@gdlfactory wrote: Hi, Macros and aliases work fine with Mesh-command to avoid clicking OK for mesh options. But in RhinoScript it always asks to click ok on dialog box. This is preventing automation...

View Article

Image may be NSFW.
Clik here to view.

How to create a new thread from inside Rhino/GH?

@ivelin.peychev wrote: This is when the said process will invoke thread lock and respectively crash Rhino. How can I avoid this crash? UPDATE: How would this: using System.Threading; new Thread(()...

View Article

Language in batch not working without administrator rights

@ag1 wrote: Hello, i try to let Rhino start with a little .bat file. The file only contains the following : “C:\Program Files\Rhino 6\System\Rhino.exe” /nosplash /language=1031 When i run it in the...

View Article


Find mesh vertex neighbors / vertex index

@Ano wrote: Hello I have a mesh and a point outside of it. I am trying to find the closest point on the mesh, which in my case happens to be exactly one of the mesh vertices. I am then trying to find...

View Article


Image may be NSFW.
Clik here to view.

Rhinoscriptsyntax polysurface filter also accepts single surfaces

@Helvetosaur wrote: If I run the following: rs.GetObjects("Select a polysurface",rs.filter.polysurface) it will also select a single surface object. The mechanism is clear, in selection.py we have:...

View Article

Image may be NSFW.
Clik here to view.

DupFaceBorder From Surface That touches the Construction Plane

@eric.bunn wrote: Is there a way to find the surface (from a closed polysurface) that touches the contruction plane and run the command “DupFaceBorder” on it? I do not want to manually select the...

View Article

RTree howto?

@ivelin.peychev wrote: Could anyone come up with a simpler example than the one used here: https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_RTree__ctor.htm I don’t use meshes at all...

View Article

Image may be NSFW.
Clik here to view.

Break the curve

@sumuk wrote: Hi All, Greetings! I have many different curves, one of which is shared below. I want to break that curve into pieces (i want to break curve when there is sudden change or near to sudden...

View Article


Set document sun north

@rheinason wrote: Hi there! I’ve been racking my brain on this seemingly simple script. I wanted to create a script where I could control the north direction of the document sun by setting two points....

View Article

Alias to Python Function

@Ncik wrote: G’day all, I have developed a python script with a number of similar functions for slightly different scenarios. Generally I create command aliases as such: Procedure 2 - Create a folder...

View Article


GH C# script serialization

@robertdamian.vochesc wrote: Hi, I usually use the serialization in Grasshopper C# Components through overriding the Write and Read methods and this works fine. Is there a way to use serialization,...

View Article

Change curve seam while selecting curves

@siemen wrote: I’ve got a script where the user selects curves one by one. What I’d like to do is change the Curve seam to the point closest to where the user clicked to select that curve. Is there a...

View Article


Show vector direction like in CrvSeam

@siemen wrote: Is there something in RhinoCommon to show a vector direction of a parameter of a curve, similar to like you get in the CrvSeam command? Posts: 2 Participants: 2 Read full topic

View Article

Get Screen Size

@eric.bunn wrote: Hi, I was search around looking for a way to capture the size of the screen using python and found this link:...

View Article

What computer language will be mainly rhino on the future?

@l1407 wrote: c# or python ? what benefit of c#? Posts: 3 Participants: 3 Read full topic

View Article
Browsing all 5749 articles
Browse latest View live