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

Image may be NSFW.
Clik here to view.

Eto - TreeGridView - basic questions

Hi @curtisw, @dale, i’ve collected a few basic questions for using the Eto.Forms.TreeGridView: How can i control to which column the litle black triangle is assigned to collapse / expand a...

View Article


More complex dialog

Is there a way to create complex dialogs in Rhinoscript? The functionality of Rhino.CheckListBox and its cousins is great, but sometimes I just need to create my own dialog to do something unique. 7...

View Article


Assigning a Macro to a Keyboard Shortcut

Perhaps I am approaching this the wrong way - alas I still haven’t got to grips with scripting yet. Ultimately I am better versed in writing Macros, and I’d like to bind a list of simple commands to a...

View Article

Invoke a third-party command-line tool with arguments from GHPython?

Hi, I’m trying to run a shell command with arguments (i.e. cmd = "tool -i -o -e "file.txt") from GHPython in Rhino 6 for Mac to post-process some files! tool is a third-part command-line tool. I’ve...

View Article

Blend Curve on python

Hi, I’m learning how to code in Rhino and I would like to know how I can flip a curve using AddBlendCurve ? I’m programming a script that takes a txt file and returns the lines of a boat, and I need...

View Article


Image may be NSFW.
Clik here to view.

RhinoScript FORMAT function

Is there a RhinoScript text FORMAT function like in VBA, as in the following Microsoft page:...

View Article

IronPython and shell subprocesses? Windows and macOS inconsistencies?

Hi, Why is that on Windows, you can directly use executables - that have been enabled for shell use, with an environment path -, in an IronPython subprocess ( e.g. subprocess.Popen(["mytool", ...]) )?...

View Article

rs.GetObject / Rhinocommon Gets

If you do the following: get = rs.GetObject( “Pick”, rs.filter.polysurface | rs.filter.surface) Why does rs.filter.polysurface | rs.filter.surface work, in terms of that style / notation, for being...

View Article


Shortest Route to BrepFace from Gets

How, from a single pick, would you most efficiently get the Face in the Brep which you clicked on? The best I could come up with was below, knowing that there is going to be a way which is elegant...

View Article


Image may be NSFW.
Clik here to view.

Extend curve in python

Hi All, I am facing a problem while using the rs.ExtendCurve function in python, as you see in the attached photo, I try to choose the line and the circle to which I want the line to be extended, but...

View Article

Layers List in Excel Format

Hello to everyone, Is it possible to extract a structured list of layers (including sublayers) from a Rhino file to an Excel list? It could be very handy, when working on projects of massive...

View Article

Eto - simple direct binding example

Hi to all python scripters, attached is a (hopefully comprehensable) example script for direct binding between a slider control and a numeric stepper. The important line of code is:...

View Article

RhinoScript compiler

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

View Article


Import Excel Data on rhino python

Hi, I’m trying to import xlrd on rhino python but I can’t manage to do it. I don’t find a solution for this case on internet so I was wondering if one of you can help me. Thanks ! 1 post - 1...

View Article

Helping a Rhino newbie - installed a Pascal Golay Script and get "VBScript...

I’m learning Rhino and am trying to install and run a script which the online author uses a lot in his material; Pascal Golay’s “IntersectPlane”. I’ve installed the script and when I try to use it,...

View Article


Image may be NSFW.
Clik here to view.

"gotocenter " help

good evening, Thank you for the time you will devote to me, and especially sorry for my approximate English. I made a “gotocenter” script. It works but it is unfortunately not what I want, I explain:...

View Article

Image may be NSFW.
Clik here to view.

Rhino.ReadTextFile command mystery

Hi everyone, I have a little mystery here… The above code is my way to check that when I use Rhino.ReadTextFile I do get an array of text lines (arrText)… and usually it is the case. But sometimes,...

View Article


Distance between two points over X and Y axes

Hi everybody, first timer poster here! I am looking for a script to help me improve a tedious task at my work. What I am currently doing is measuring the distance between a base point and an...

View Article

Image may be NSFW.
Clik here to view.

How Curve.CreateBooleanDifference Method (Curve, IEnumerable) works

I have a question about the behavior of CreateBooleanDifference. I want to get a green curve by subtracting a blue curve from a red curve. image1173×573 1.2 KB image1188×571 1.22 KB...

View Article

Twisted boxes from file

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

View Article
Browsing all 4174 articles
Browse latest View live


Latest Images