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

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 ! 2 posts - 2...

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

SelectedIndexChanged Event for GridView

Hi, I there a way to set up an event handler for a GridView? I get the following error with this line of code: self.m_gridview.SelectedIndexChanged += self.OnSelectedIndexChanged Message: ‘GridView’...

View Article

Image may be NSFW.
Clik here to view.

RC Surface.Extend directions

https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Surface_Extend.htm For directions to extend, we have the IsoStatus enumeration: image1022×293 10.2 KB...

View Article


Point color

Hello, I want to read the RGB value of a point. I used Rhino.ObjectColor function which returns a number usually the R value. How do I get G and B value of a point? 6 posts - 3 participants Read full...

View Article

curvatureGraph rareness

hello. ive prepared a model which displays good results. for x reasons i need to export exact copy of surface, either by copy-paste or by extractPt - export selected - csv file with coordinates… i...

View Article


Get largest surface in polysurface

Hi Is there a way to select a polysurface and iterate through the faces to find the face or faces that are the largest in area? Eric 3 posts - 2 participants Read full topic

View Article

Getting RGB value for each pixel (RhinoScript)

Hello, I imported a jpg file with AddPictureFrame. I want to extract the color value (RGB) for each pixel. I was able to get the location of each pixel, but what function will give me the color value?...

View Article


Python Split curve with curve?

Hi guys, is it possible to easily split a curve with a curve in python and have the parts returned? In the same way that we can manually in Rhino with split? 2 posts - 2 participants Read full topic

View Article

SelBrush in Python

Hi I want to use SelBrush function in Python. There is one more thing, I want to pass a curve to this SelBrush function. Is there is a way to do this? 8 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Move plane in front of surface automatically

Zrzut ekranu 2020-06-25 o 00.31.441920×1080 245 KB I am trying to create plane (blue one) that is in front of my red surface. I did it with _PlaneThroughPt command using red object points. Is there a...

View Article
Browsing all 5743 articles
Browse latest View live