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

Python ListBox doesn't remember where it was

Dan Bayn wrote: I noticed that when you close the ListBox running from a Python script, it doesn't open the next time from that location. It reverts back to the upper left hand corner of the screen....

View Article


How to properly stop a python plugin by Esc

Jørgen Holo wrote: Hi, I need some help to understand how to properly terminate a Python script when it is converted to a plugin. I made a dummy scipt that works when ran from the editor, but not as a...

View Article


Unfinished Python methods

Dan Bayn wrote: Is there a list of Python methods that are not yet implemented? I was a bit surprised to see the GetDistance method not implemented. That seems like a pretty basic one. MultiListBox...

View Article

Get path to texture file

Mitch Heynick wrote: Where in RhinoCommon might I access the path to a particular bitmap file that is used as a texture (and not necessarily already stored in the bitmap table)? I looked around in...

View Article

A spreadsheet for Rhino?

nigel cowburn wrote: Hi I'm just starting out with Rhino and it lacks an inbuilt spreadsheet Rhino discourse. How difficult would it be for someone to write one?  I realise it's been done in...

View Article


BUG: CurveMeshIntersection?

Jørgen Holo wrote: I am having a hard time understanding why a curve mesh intersection reuturns so many intersections. I have curves drawn from a point to the vertices and the CurveMeshIntersection...

View Article

Surface morph for python in rhinocommon? rhinoscriptsyntax?

Jake Hebbert wrote: Hey Guys, I'm trying to do in python what does what the grasshopper SrfMorph component does. I tried using ghpythonlib.components to get access to the functionality. It is working...

View Article

Handle .stl file in python

CME wrote: Hello Sir, I need python code which can import .stl file and count number of holes/circles inside STL file. (STL: STereoLithography) Posts: 2 Participants: 2 Read full topic

View Article


Python equivalent for VBS Private to store variables for a session

Willem Derks wrote: Hi, In RS I used the Private variable a lot outside a sub to store values for the duration of a session.How would I go about doing this in Python. Private oldRadius If...

View Article


Scripting Sub Curve

Wattzie wrote: I am new to python and Rhino so please bear with me. I am trying to write a script that extends a section of the edge of a mesh in a defined direction. Without a script I can achieve...

View Article

Python : How to get Layer User Strings

Loïc wrote: Dear Community, I am French speacking person, so sorry in advance for my English. I used to script a lot in RVB and I latly switch to Python. I am totaly ammazed by all the possibiliies....

View Article

Image may be NSFW.
Clik here to view.

Using the Python ExtractSurface method on a specific face

Dan Bayn wrote: I'm working on a project where I would like to extract the "top" surface exclusively. By top, I mean the face that is always visible looking down the Z axis. The objects that this will...

View Article

Image may be NSFW.
Clik here to view.

How to move mesh vertices in script?

Jørgen Holo wrote: I am working on a script that makes a road based on a spline, on a mesh terrain. I could not find a move vertices function, so the only way I found to do this was to make a new mesh...

View Article


Move end point of curve to make it close [Rhino, Python]

James Lee wrote: For NOT closed curve, any ways to just move the end point of it to the start point to make it close, while the rest of the curve is the same? Thanks a lot!!! Posts: 5 Participants: 3...

View Article

Image may be NSFW.
Clik here to view.

Automatic extraction of edges?

Dan Bayn wrote: If I want to create a list of edges, I currently call up the DupEdge command within my script, then window select over the surface. This will get me a list of edges. It would be much...

View Article


Windows Form

powerpp wrote: Hello, i would like to play around with windows forms in rhino python. First tries are working, but i cannot find out how to return to rhino ina "clean" way. When closing the form...

View Article

Wish rs.IsShowGridAxis() and rs.IsShowGrid()

vittorio wrote: Hi SteveCan you add Python functions rs.IsShowGridAxis() and rs.IsShowGrid() that retun True or False? Ciao Vittorio Posts: 3 Participants: 2 Read full topic

View Article


Rs.ObjectMaterialIndex() missing an argument

Mitch Heynick wrote: ...the second (optional) one that allows you to assign a material index to an object and not just return the current one. --Mitch Posts: 1 Participants: 1 Read full topic

View Article

VB Rhino.SurfaceNormal() fails with extrusion as input

Mitch Heynick wrote: ...as the title says. @dale Methinks this should work without having to force a conversion to a surface. Edit : Python rhinoscriptsyntax equivalent seems to work OK with...

View Article

Inconsistency between a couple of rs methods

Mitch Heynick wrote: rs.SurfaceNormal(surface_id, uv_parameter) : needs a list/tuple of u,v but rs.EvaluateSurface(objectId, u, v) : u and v are separate arguments... Seems like they should be made...

View Article
Browsing all 4159 articles
Browse latest View live


Latest Images