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

Layout Grid Spacing

@eric.bunn wrote: Hi, Is there a way to set the grid spacing in a New Layout using Python? Eric Posts: 1 Participants: 1 Read full topic

View Article


Delete this topic

@onlyforpeace wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic

View Article


Image may be NSFW.
Clik here to view.

PlanePlane Angle python

@onlyforpeace wrote: i would like to return by a script the angle between two planes, since this morning, i tried 5 or 6 kind of script, with rs.angle(), and rs.angle2, but it doesn’t match as i want....

View Article

Image may be NSFW.
Clik here to view.

ETO Forms Group Box

@eric.bunn wrote: Hi, I’m trying to contruct a form in Rhino 6 (python) and going through the examples here: developer.rhino3d.com Eto Controls in Python Using the Eto dialog framework to create...

View Article

Eto Forms Question Regarding Event Handler

@eric.bunn wrote: Hi, I am trying to construct an event handler for an Eto Form that will work in common with a number of controls. Only problem is determining which control made the call. Any way to...

View Article


CurveNormal function doesn't appear to be behaving as expected

@shanew06 wrote: Hi, I have a problem, I think, with the CurveNormal function in both Python and VBScript. I’ve attached an example 3DM file which contains a curve. This curve was generated by...

View Article

Exit command not working when using a python subprocess to open...

@tg1 wrote: I have read many posts that deal with this problem but nobody has given a solution yet. Description: I have 3 python files: subprocess_main1.py --> open Rhino and execute the...

View Article

Image may be NSFW.
Clik here to view.

Rhino.Input.Custom.GetObject(): trigger event when new object is added to...

@axa wrote: Is there a way of triggering an event every time a new object is added to the selection? I am trying to write a custom block picker that adds all instances of the block that the user has...

View Article


Convert rhinosctiptsyntax GUID to Rhino.Geometry.Curve

@Jonathan_Hutchinson wrote: I have a curve picked in the Rhino environment in a script, returning it’s GUID using rs.GetCurveObject() [0]. But I want to perform: crv_t = crv.ExtremeParameters(dir)...

View Article


Image may be NSFW.
Clik here to view.

"offset curve center" question?

@noithatpolygons wrote: I want to offset a line like that in the middle Capture1304×462 18.9 KB Posts: 2 Participants: 2 Read full topic

View Article

Vector3d.PerpendicularTo Method Elegance

@Jonathan_Hutchinson wrote: I’ve managed to get this working, but feel I’ve gone the long way around, and not really got the satisfaction of knowing why it’s right / was wrong. # Perpendicular Vectors...

View Article

Tagging points with text Z ordinate

@m.wilson wrote: Hi, Very new to coding… I having been looking for a simple rhino or python script to tag a bunch of point with their world Z ordinate value using text. Can anyone assist? Many thanks...

View Article

Bad GUID: Message: 00000000-0000-0000-0000-000000000000 does not exist in...

@eric.bunn wrote: Hi, I am coming up with this error when running the line of code pasted below: Message: 00000000-0000-0000-0000-000000000000 does not exist in ObjectTable I am assuming this is some...

View Article


SurfaceClosestPoint - possibility to speed up

@B-Spline-Junkie wrote: Hello, I have a question regarding RhinoScript: I’m successfully using Excel + VBA + RhinoScript (Rhino version 6) in the field of the hydraulic design of water turbines and...

View Article

Python 3 query

@Don_Teeter wrote: I would like to learn Python. One major motivation is to learn scripting within Rhino. However I gather that Python 3 is not supported. Given the outside world, it makes no sense...

View Article


Wrap a Python Script?

@onlyforpeace wrote: Hello, is it possible to encapsulate a script, to be able to pass it easily to other people, without them having access to the code? and is it possible to load python at when...

View Article

Image may be NSFW.
Clik here to view.

Timer up, Timer Down (w/ Interval control)

@Nick_Bruscia wrote: Greetings, and sorry for the simple question. After a bunch of searching, I couldn’t quite solve it and I’m still in the early phases of learning C# … I’d like the attached C#...

View Article


Leader text formatting using IronPython/RhinoCommon?

@ivelin.peychev wrote: How is this done? I do not see appropriate methods under the leader doc object. Posts: 1 Participants: 1 Read full topic

View Article

rs.GetObject not working for objects in Layout Detail

@ivelin.peychev wrote: Is this a bug or it was never supposed to work there? Rhino.Input.Custom.GetObject() also doesn’t seem to work. Funny though you can select objects when creating leader texts...

View Article

Can leader be dynamically drawn?

@ivelin.peychev wrote: After providing the first point I would like to see where the leader will go and see on which side the text will go. Getting flipped, moving right to left as the mouse moves. Is...

View Article
Browsing all 5778 articles
Browse latest View live