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

Screen coordiantes to Client coordinates (RhinoScript)

@Jarek wrote: Is there a way to convert Client coordinate to Screen coordinate (or vice-versa)? I see XformWorldToScreen and XformScreenToWorld, so the only way I can do the above conversion now is...

View Article


RS Rhino.AddObjectDisplayMode additional wish

@Jarek wrote: Hi @Dale, I’m looking for the ability to pass multiple objects at once to Rhino.AddObjectDisplayMode. Now cycling through them one-by-one is possible but seems quite slow in terms of the...

View Article


V6 Bug: Rhino.UI.OpenFileDialog MultiSelect

@Jess wrote: Hi, Rhino.UI.OpenFileDialog does not work with MultiSelect=True I cannot select anything. Thanks, Jess Posts: 2 Participants: 2 Read full topic

View Article

Python rhinoscriptsyntax in Rhino6

@Petras_Vestartas wrote: Hi, I am trying to run a code via PythonEditor on Rhino6 that is working on Rhino5 without any errors. Is rhinoscriptsyntax working for rhino6? I am wondering how to solve...

View Article

Accessing Advanced Options via script

@Jarek wrote: Hi All, Is it currently possible to access (read and change) the Advanced Options in Rhino 6 via scripting (RhinoScript, Python, RhinoCommon) ? The command line has no access to it. I am...

View Article


Image may be NSFW.
Clik here to view.

Drawing and detecting an elliptical arc

@Bianchi wrote: I’m interested in drawing elliptical arcs (i.e. parts of ellipses) in Rhino. Currently, I’ve tried splitting an ellipse into four parts (not necessarily into quadrants), like so:...

View Article

How to get number of cores in Python script

@Terry_Chappell wrote: I am using tasks.Parallel.ForEach(pieces, helper) that I copied from the Grasshopper parallel.py code to speed up Python when processing a mesh with 2.2M vertices. In order to...

View Article

How to delete a mesh face in Python script

@Terry_Chappell wrote: I have a mesh with 2.2M vertices. I draw a closed curve around a region of interest and collect the curve points and the mesh vertices inside the curve in order to construct a...

View Article


Store list inside 3DM file

@onrender wrote: Hi, Is it possible to store a list of objects inside the file via IronPython? I could use this hidden list for pre-selection that could be beneficial in certain cases not to loop...

View Article


Absolute hide

@onrender wrote: Hi, Is there a way to absolutly hide an object that cannot be seen by the reserve command ? It can be revealed by command only. Alternatively I would use layers but what if the object...

View Article

Rhino.ExportViewDisplayMode Bug?

@Jarek wrote: Hi @Dale, Over here, both in Rhino 5 and 6 this method: Rhino.ExportViewDisplayMode will not export modes that use technical display pipeline (Technical, Pen, Atristic… plus any other...

View Article

Phython script from Windows to Mac

@Eggy wrote: Hello, scripters, I have a problem. I switched from Windows to a Mac and we used to use a phython script on Rhino on Windows. Now the problem occurs that the script does not work on Mac....

View Article

Script compiler update URL

@tobias wrote: Hi all, I ask myself how to use the update url option of the script compiler. Can someone enlighten me what does it exactly and how to update a compiled plugin with it? thanks, Tobias...

View Article


Image may be NSFW.
Clik here to view.

Can't import rhinoscriptsyntax to python in grasshopper

@Kinan.Fleihan wrote: hello good people, I am getting this weird error message when trying to import rhinoscriptsyntax into Python for GH ( using the most recent build of Rhino 6) ps: it works fine...

View Article

Extruding rectangle creates inside-out result

@Helvetosaur wrote: Can anyone tell me why when I extrude a closed curve such as a rectangle, the result is “inside-out” (the backfaces face outwards)? Doesn’t make much sense to me… import...

View Article


Image may be NSFW.
Clik here to view.

Cannot run _EditPythonScript . "Failed to load language..."

@wattzie wrote: Hi, Following on from this post: Python Editor crash Serengeti Hi, I’m not sure if this is the same issue, but I am unable to open the Python Editor. When I select Command:...

View Article

Asynchronous issues with NodeInCode

@Dani_Abalde wrote: Great Guilio! I have a question, what about cascading using NodeInCode? that is, create a definition (connected nodes) from code. Should we use asynchronous patterns? what...

View Article


Vbscript polar array

@cshea wrote: i would like to perform polar array to a curve in vbscript. which curve method or transform method should I be using please Posts: 2 Participants: 2 Read full topic

View Article

RhinoScript SaveSettings in Python

@Jarek wrote: I don’t see SaveSettings in RhinoScriptSyntax - is there a way to read/write an .ini file in a similar way in Python? thanks, –jarek Posts: 5 Participants: 2 Read full topic

View Article

Bug(?): rs.SelectObjects() redraws after every item

@Holo wrote: Hi, it seems very unnecessary that rs.SelectObjects() redraws after every object, this should IMO have only redraw after all are selected. Posts: 3 Participants: 2 Read full topic

View Article
Browsing all 5804 articles
Browse latest View live