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

Image may be NSFW.
Clik here to view.

[python] Where are the mouse events in the API doc?

@ivelin.peychev wrote: For Rhino.RhinoDoc there is a branch of all the events: Where are the mouse events located? How does it work with mouse events? What I am trying to do is display a hint...

View Article


Image may be NSFW.
Clik here to view.

Suppressing the "Save changes" dialogue on exit, when running from command line

@robin.thomas11 wrote: I’m following the following instructions to run Rhino from the command line: developer.rhino3d.com Running Rhino from the Command Line This guide explains how to run Rhino from...

View Article


Adding Sample ETO PushPick Button to Simple Recursion

@stevefuchs wrote: Attempting to create a demonstration of ETO Button that will execute simple recursion. Currently, this locks up my Rhino instance. I’ve searched the forums and can’t find much....

View Article

Which event is triggered when zooming?

@ivelin.peychev wrote: I found this method: https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Display_RhinoViewport_GetWorldToScreenScale.htm I wonder which event is triggered upon the change...

View Article

VectorCrossProduct doesn't make perpendicular vector

@yfhudak wrote: When I use the rs.VectorCrossProduct command for to coplanar vectors, the resulting vector is not normal to the plane and does not appear to be orthogonal to the two original vectors....

View Article


Image may be NSFW.
Clik here to view.

Define export options inside a script and avoid export option pop up when...

@flokart wrote: Hi all, if the export command is executed a window with all options pop up, how can the export options can be predefined to avoid the popup export menue. code to export to specific...

View Article

Missing commands in rhinoscriptsyntax

@behforouzk wrote: Hi all, I’m trying to import MeshTrim command from rhino into my GhPython but it seems that this command is missing from rhinoscriptsyntax. I appreciate any workaround for this...

View Article

[Python] Possible to Import Pillow?

@Dow wrote: I’ve searched the forum but have been unable to find a definitive answer to this question: Is it possible to use Pillow / PIL in Rhino’s IronPython environment? (I need to composite views...

View Article


Image may be NSFW.
Clik here to view.

How to fix this "Runtime error (TypeErrorException): Guid is not iterable"

@ideafrom wrote: Hi everybody. I’m totally new to GhPython and try to play with it, wrote some boolean expressions and then error message popped out which told me “Guid is not iterable”. If anyone...

View Article


Image may be NSFW.
Clik here to view.

Rhino.DimStyleNumberFormat (FractionalDimStyle) results in 0

@Asterisk wrote: Posts: 2 Participants: 1 Read full topic

View Article

Request to share curve dimension chagne plug-in

@chloeyang wrote: Hi, I would like to ask you someone to help me for my query. First, I’m using Rhino 6 currently in Korea. My question is… Usually finishing modeling work, I create a pattern using...

View Article

Image may be NSFW.
Clik here to view.

Rhino.DimensionText fails with Redraw Off

@Asterisk wrote: Rhino.EnableRedraw False Rhino.AddDimension() Rhino.DimensionText Rhino.FirstObject will not return a string. Posts: 1 Participants: 1 Read full topic

View Article

Rhino.WriteTextFile can no longer create a file?

@Asterisk wrote: If yes, was R5 bugged all that time? It was a good bug… RIP. Posts: 1 Participants: 1 Read full topic

View Article


Image may be NSFW.
Clik here to view.

How to make a model to react on sound in Python?

@valzimmer16 wrote: Hi everyone! I’ve got a model made with Python. I need this model now to react on sound, for example particles of model to become bigger or smaller depending on sound. Does anybody...

View Article

Antenna geometry export as ASCII text in *.NEC format?

@Aplonis wrote: Despite maintining a Rhino license since Version 4, I’m still only a sometimes user, and never yet a Rhino scripter. I was once halfway competent with Perl, even PostScript, and long,...

View Article


Python Script bakes itself automatically!

@milad.rogha wrote: Hi all, I am a bit new to Python! I wrote a piece of code using Python component in Gh. It works fine except for two things: First, it takes about 4 minutes to be processed!...

View Article

Insert Point with ID and Number- Rhinoscript

@jbijlstra wrote: Dear All, For a button in Rhino, I’m trying to write a tool with Rhinoscript to pick points in Rhino. My target is to name the point with a ID and a Text Entity and increment the...

View Article


Python rs.command("-_print")

@socken wrote: Hi, Is there a way to use rs.command("-_print") in python and not having to select preview before accually printing the document? I see three options in ths dialog: Go, Setup, Preview....

View Article

Function Arguments

@Mrothart wrote: Hello, I am trying to understand was (sender,e) is doing as an function argument. Is there any documentation on the syntax someone can reference, as I have been unsuccessful in...

View Article

Bring to front, send to back?

@Bogdan_Chipara wrote: Hi, Bring to front, send to back. Are those available in rhinoscriptsintax? thanks! Posts: 2 Participants: 2 Read full topic

View Article
Browsing all 5745 articles
Browse latest View live