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

Wish rs.Flow like the command Flow

vittorio wrote: Hi Steve Can You add a function rs.Flow( obj, crsStart,crvTarget, Rigid=True, Stretch =True ) ?Ciao Vittorio Posts: 1 Participants: 1 Read full topic

View Article


Is it possible to use Rhino API for visualisation of data processing?

Gareth Simons wrote: I am wondering if it is possible to use Rhino to create a sort of 3d visualisation framework for realtime visualisation of fairly complex computational tasks? Mainly: If I run...

View Article


AddTextObject?

Spaxe wrote: I'm trying to generate some curves using text data. While there is rs.AddText for Text, there isn't a rs.AddTextObject for the TextObject equivalent. What do I do? Edit: I found...

View Article

Rhinoscript IsCircle and IsArc methods

Dan Bayn wrote: I see that a tolerance argument has been added to the Rhinoscript version of these methods. We now have some vital tools in our process that no longer work. I've attempted to add a...

View Article

Change -Print Setting to Landscape

Peter Schmidt wrote: Greetings,I am attempting to write a python script which runs the print dialog menu using -Print.When using -Print there is no way to change the from landscape to portrait pages....

View Article


Select Similar?

Cosmas Demetriou wrote: Good morning Rhino friends, Recently I have found that everything I've asked for already exists in Rhino, but I will try this anyway: A command called something like...

View Article

Specify STL model units when importing STL in Rhinoscript

Filip Rooms wrote: Dear all, This morning, I wanted to run a script that I ran several times but something unexpected happened. The script initializes a few settings. Amongst others, it makes sure...

View Article

Python script doesn't take into account changes during execution

Tomáš Koutecký wrote: Hi,just today my Python scripts started to do some strange thing.When I run some script for the first time after restarting Rhino, it runs just fine. But when I change something...

View Article


Rs.ViewCamera() is buggy

Jørgen Holo wrote: Hi guys,In python I can not get rs.ViewCamera to work properly so I have to use rs.ViewCameraTarget instead. Thanks Posts: 3 Participants: 2 Read full topic

View Article


Image may be NSFW.
Clik here to view.

Insert image as Picture Frame error

Randy Gregory wrote: I have used these scripts in the past. I am now getting an error with System.Drawing, possibly. Code: import rhinoscriptsyntax as rs import System.Drawing as SD filter = "PNG...

View Article

TopologyVertices - what are they used for?

Damjan wrote: hello,i have a mesh and want to find all vertices that connect through an edge with a specific vertex.In the mesh.Vertices members i have a (very slow) GetConnectedVertices.But there is...

View Article

DisplayConduit on active viewport only

Damjan wrote: in python i have a DisplayConduit class, with some postdraw etc. class myOverlay(Rhino.Display.DisplayConduit):     def PostDrawObjects(self, e):         e.Display.DrawPoint(... how can...

View Article

Any way to change settings in Options with a Script?

Cosmas Demetriou wrote: Good morning Rhino people, I have the feeling I know the answer, but is there any way to change settings in Options with a script? For example, can one write a script that...

View Article


Trouble with the SortPoints method in Python

Dan Bayn wrote: Figured it out. I thought there was a way to delete a post. Has that changed? Posts: 1 Participants: 1 Read full topic

View Article

Hi ,the problem about ghpython.gha

Carcassi wrote: my rhino version is rhino5 sr7,my grasshopper version is 0.9.0070.i pretty sure i put the version 0.6.0.3 ghpython.gha into the file/especial folders/component folders,but i dont find...

View Article


Please add to the Python wishlist

Dan Bayn wrote: I could use an UnlockAllObjects method. Currently, the unlock methods require objects id's, but sometimes I need to unlock everything in the file. I have one scenario where I lock...

View Article

Scripting sub-object selection in Python

Dan Bayn wrote: Is it possible to invoke sub-object selection through a Python script? For example, if I have a polysurface and I want to select one face. Or would I have to extract the face and deal...

View Article


rhPicture and Python

Jørgen Holo wrote: Will or is rhPicture optimized for V5 and Python?If so, where can I find some documentation? I would like to make a plugin that reads data from an image. Thanks! Posts: 3...

View Article

Writing XML files with RhinoPython?

Michael Meyer flexiCAD.com wrote: Hi..., is there an example to write XML files with RhinoPython? Thank you very much Michael www.flexiCAD.com Posts: 5 Participants: 3 Read full topic

View Article

Import Display Modes via python

Manuel wrote: Hi, can I access the option menu feature to import a new display mode via python? ThanksManuel Posts: 8 Participants: 4 Read full topic

View Article
Browsing all 4152 articles
Browse latest View live