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

Need some help with script updating

6 posts Vlad (unirevers) wrote: Hi, I'm looking for help with script updating for Rhino 5 x64.I have a script "Flipper" it works great in Rhino 4 x32 but doesn't in Rhino 5 x64. I suppose some code...

View Article


Orient and Rotate3D

1 post vittorio wrote: Hi allthe attached Python Script orients and rotate3d objects : it's more intuitive of Orient3pt #-*- encoding: UTF-8 -*- #********* Copia e orienta oggetti e gruppi********...

View Article


WishList rs.DetailZoomSelected()

1 post Peter Schmidt (5chmidt) wrote: I am attempting to change the view of a detail to zoom to a selected object so it will be centered in the detail then change the detail scale to be an even number...

View Article

Layout SaveAs PDF

3 posts Peter Schmidt (5chmidt) wrote: I am attempting to batch export layouts as PDF's. The following script almost works. import rhinoscriptsyntax as rs cmd="-_SaveAs " cmd+="D:\Desktop\TestPDF.pdf...

View Article

Script files to load when Rhino starts

jordy wrote: Is it possible to add a rvb with rhinoscript? Cannot get it to work if it is even possible. I'm trying with: -_options _rhinoscript Thats as far as I get. Is it possible what I want?...

View Article


Creating MeshFaceList type

Michał Święciak wrote: Hello, I'm trying to use Rhino.Geometry.Collections.MeshFaceList.AdjactedFaces method which asks for self: MeshFaceList, faceIndex: int as input. The script editor outputs that...

View Article

I can’t seem to get “ExportLayerStates” and “ImportLayerStates” to work!

Poppa Bear wrote: Greetings! I can’t seem to get “ExportLayerStates” and “ImportLayerStates” to work, using the help file examples, can anyone tell me how to make it work? I am trying to use the...

View Article

New ghpython issues: crashing, multithreading performance

Andrew Heumann wrote: att: @stevebaer I have a few questions/issues with the latest release of ghpython. First - I have an issue with the python editor crashing intermittently. This has even happened...

View Article


Image may be NSFW.
Clik here to view.

The color of the Boolean difference in Python is the opposite of that in Rhino

vittorio wrote: Hi SteveThe result color of rs.BooleanDifference is opposite than Boolean Difference in VBScript and Rhino like the attached picture.Ciao Vittorio import rhinoscriptsyntax as rs...

View Article


ViewSpeedTest

Jørgen Holo wrote: Hi @stevebaer,I have started the work on Holomark 2 now, and I need to test the system at it's maximum speed, so could you please add Python support for the "Rhino.ViewSpeedTest ()"...

View Article

Help: need to return value

Jørgen Holo wrote: I have ran into a Python thing that I can't figure out... I need to return a value that was generated within a definition:Thanks! def HoloSpin(strMode): time1=time.time() for i in...

View Article

Python: Does the ghcomp work with nested lists?

Miguel Rus wrote: Hi, I'm trying to figure this out. I have a nested list of curves, if I use the grasshopper component the outcome is the expect result but if I use the ghcomp.BoundarySurfaces it...

View Article

Python: Simple Command Line Option

Jess Maertterer wrote: Hi and a Happy New Year to the Rhino Community! I'm playing with the CommandLineOptions.py which demonstrates options like toggles, lists, double and integer types. But how can...

View Article


Does CurveBooleanUnion work?

andyhunti wrote: Hi there, I've been trying to use CurveBooleanUnion and have run the example as shown in the documentation on 2 coplanar rectangular curves which overlap in one corner. The script...

View Article

Python wishes and help needed

Jørgen Holo wrote: I need some help to be able to finish Holomark2. First two simple things:Can you please add TextOut and Prompt soon?It is not possible to copy text from the textbox and print is...

View Article


How to transform returned curve array?

Nathan Coatney wrote: I'm not sure I am doing this correctly so I thought I would ask here. Using RhinoPython, I have a list of lines and arcs. I convert to nurbs curves and combine for one list. I...

View Article

Printer Settings issues

Andrew Pries wrote: Hi Everyone, I am working on creating a batch printing script however I am running across some issues that are stumping me. I am using rs.Command(...) to run the Layout Command and...

View Article


Configuring an external IDE - feasibility question

Matthew Horn wrote: Do I need to have Rhino installed on a machine to be able to access the rhinoscript package from an external IDE? I was just reading Steve Baer's post on how to configure...

View Article

Image may be NSFW.
Clik here to view.

Why can't I get a critical message icon with messagebox?

Dan Bayn wrote: I'm referring to the red X that displays when using the value 16. Here is a simple script that doesn't work correctly for me: import rhinoscriptsyntax as rsrs.MessageBox("Why can't I...

View Article

Delaunay in ghpythonlib.components

Manuel wrote: Hi I am experimenting with the new ghpythonlib.components. I am trying to work with the Delaunay method:ghcomp.DelaunayEdges(arrPts) It should return the graph connectivitymy script for...

View Article
Browsing all 4120 articles
Browse latest View live