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

Message: Parameter must be a Guid or string representing a Guid

@Carlos_Ruz wrote: Hi, im working in some algortihms in rhino python wihout grasshopper, when i run my code appears a message "Message: Parameter must be a Guid or string representing a Guid" im not...

View Article


Not calling __new__ method?

@trainee wrote: Hi I have the following script : class my(): def __init__(self): print('NOP') pass def __new__(cls): print('Init starts') cls.TEST = 'hey' print('Has been Init') m = my m() print(m)...

View Article


UserDictionary ArchivableDictonary

@charlie_portell wrote: Hi All,I've been using the UserDictionary / ArchivableDictonary to store attributes with geometry, and it has been working great. I've been storing information via components I...

View Article

Python scrpting and solids

@GregS wrote: Hi, I am new to Rhino scripting, was not able to find a way to extrude solids (i.e. from planar curves) like I can from menus. Is it possible?In general, can I expect that anything...

View Article

CurveThroughPt != AddInterpCurve

@Anso wrote: I have a set of points, which approximates a (non-closed) curve in space.When I use the CurveThroughPt the result is very nice!But when I attempt to do the same from the Python editor...

View Article


Connect to Oracle DataBase with python

@BaptisteC wrote: Hi,Is there a way to access data from my oracle database with the Rhino Python Editor without having an Oracle Client installed?I've found the DotConnect driver from Devart which...

View Article

RS : Rhino.ShowToolbar

@jonah wrote: Rhinoscript's "Rhino.ShowToolbar" method doesn't seem to be working. Even the example script from help file does not succeed in opening the Layer toolbar from default collection....

View Article

Rebuild command, is the Max deviation info accessible via scripting?

@isgordon wrote: Is it possible to access the maximum deviation information that shows up in the "Rebuild" pop up window, via rhinoscript or python? I'd like to create a script that would iteratively...

View Article


Rhino.RenderColor (intItem, [lngColor]) not rightly run

@fengyee_zju wrote: Hi every one, could any one help me? thank you so much.today i try to script "Rhino.RenderColor (1, vbBlue) ", and i find the view modules of Top View, Front View and Right View...

View Article


Trim command

@kasper_steenstrup wrote: If I run the rs.Command("-Trim ") I get a diffrent result if I pick the curves and surface with get or just pick them on the screen.Have tested on this file. test.3dm (290.7...

View Article

RandomDeselect.dll

@heath wrote: I used to have a tool for randomly deselecting things. Since last using it, I've upgraded computers and operating systems, so I no longer have it installed... but I found this in my...

View Article

Image may be NSFW.
Clik here to view.

How cant I add button of RHP to rhino

@pythonuser wrote: Hi: I have a RHP, now I just cant run it by input command to command line, how cant I add a button to it? Posts: 3 Participants: 2 Read full topic

View Article

Problem extruding planar surface with Rhino Python

@Mr_Sinter wrote: Hi all, i want to create a 3D Extrusion of a text element.My script does NOT raise any errors, it just does not show me an extruded 3d Object in Rhino, the text stays a flat planar...

View Article


Clear commandline

@arch wrote: Is there a way to clear the command history before displaying some text there? I'm trying to do this with the get user text command to display the result in a nice clean window Posts: 2...

View Article

Open .chm file

@Tudor_Chirila wrote: Hi! I did a help file in .chm format for my plugin. My challenge is to open the help file when F1 key is pressed or when I click on a button from the interface. Can you help me?...

View Article


Image may be NSFW.
Clik here to view.

How cant I get brep from a InsertBlock?

@pythonuser wrote: Hi: I have insert a block on surface, and how cat I get brep of it? Posts: 2 Participants: 2 Read full topic

View Article

IronPython "GeometryBase" for Brep.GetBoundingBox()-Method...convert...

@Mr_Sinter wrote: Hi all,I tried to get a bounding box of some breps with "Rhino.Geometry.Brep.GetBoundingBox(self: GeometryBase, plane: Plane)".My Problem is, that "GeometryBase" is an .NET-style...

View Article


Image may be NSFW.
Clik here to view.

Why can't I use NumPy in Rhino Mac

@pyghrh wrote: Hi! I'm using Rhino for Mac and writing python scripts in Atom. Recently I tried to use Numpy in the scripts, but got "there is no module named numpy", not working like Rhino 5 on the...

View Article

Image may be NSFW.
Clik here to view.

Drag knife toolpath generation

@Thomaxo wrote: Hi, I'd like to generate a drag knife toolpath using python/grasshopper. It basically comes down to this: For each point on a line (with the distance of the points approaching 0), IF...

View Article

How to add a Print Button to a modal

@KeithR wrote: I would like to add a print button to my modal which collates some data. <button onclick="myFunction()">Print this page</button> <script> function myFunction() {...

View Article
Browsing all 5743 articles
Browse latest View live