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

Dynamic Updates while in Windows form - Python

Erick Katzenstein wrote: I'm looking to create a script which colorizes a curve based on distance to a camera. For this, I'm using a Windows Form to select the colors, and need to freely navigate in...

View Article


ScaleObject and TransformObject behaviour

Andras Sobester wrote: Hello, I am encountering problems with scaling an object at different factors in x, y, z. Here is what I am trying to do: # FuselageOMLSurf is the result of a complex,...

View Article


How to extract viewport meshes of clipped view

Riccardo Gatti wrote: Hi guys, I would like to render cutted object without using the boolean to cut it. I ask if would be possible to extract the current render meshes from a view with a clipping...

View Article

Image may be NSFW.
Clik here to view.

Have something wrong in the function AddInterpCrvOnSrfUV() -Python

Jorin wrote: The function AddInterpCrvOnSrfUV() does not work,because the function coerce2dpointlist() in 254 line in curve.py have 2 parameters.The second parameter is redundant. wrong.png836x406...

View Article

Change the Text Alignment via script

laurenz andritz wrote: Hello all, is there a chance to change the Orientation/Alignment of a Text Object? in VB, I am looking for something like: Dim newtext As New Rhino.display.Text3d (txt, pl,...

View Article


Wish new Python function AddRailRevSrf like VbScript

vittorio wrote: Hi SteveCan you add a new rhinoscriptsyntax function rs.AddRailRevSrf(........) ?Ciao Vittorio Posts: 4 Participants: 2 Read full topic

View Article

RhinoPython rs.Command("_-Helix

David wrote: Hi guys, Unable to find anything in RP with regard to creating a helix using scripting sohave to use rs.Command. The inputs for the start and end of the helix axis, along with a point...

View Article

Rhino Python or VB Script?

Filip Rooms wrote: Dear Rhino community, We plan to invest in writing software in Rhino.At the top level, We would do this in C# in the .net environment. Large parts of the software however are just a...

View Article


Select a set of brep edges

Gianpaolo Savio wrote: Hi all,I need to select a set of edges of a brep in order to run a fillet by a Python script.I wrote the following in order to select the edges, but nothing is selected: import...

View Article


Pass an array to Rhino.Command?

Sam Page wrote: In RhinoScript I'm trying to make something like a rotate around curve, and what I want to do is to pass an array of objects to rotate Rhino.Command "Rotate3d SelID " & arrObjects...

View Article

Image may be NSFW.
Clik here to view.

How to use rhinopython to MAKE 2D

筑梦NARUTO wrote: How to use rhinopython to MAKE 2D effects,I do effect (like pictured) some extra lines, how to remove these redundant lines, thanks. QQ图片20141003152717.jpg1065x500 122 KB Posts: 2...

View Article

Native python calls for import STL and section objects?

Filip Rooms wrote: Dear community, Just a simple question: is there a native function call to section an object in python? I know that I can call the command like rhino.command "_section w0,-400,0...

View Article

Call python class from another file

Filip Rooms wrote: Dear community, Hope this is an inappropriate question, since it involves pure python. Anyway: I have a single file main.py with following code class MyStudent: def...

View Article


Vbscript runtime error running distribute after update yesterday

Ryan Wynott wrote: type mismatch: distributeline 1 char 0 Posts: 1 Participants: 1 Read full topic

View Article

Image may be NSFW.
Clik here to view.

How to exit a PythonScript?

CaJoDo wrote: Here the user interface: if you press the CancelButton in the User-Interface the code enters line 611 (Dialog is shown)here the SourceCode nothing is working...the code will continue...

View Article


Splitcurve with points

Alice wrote: Hello, I have generated a curve using AddInterpCurve from a list of points. This curve is called "curveGen" I have another list of 4 points which are in the list param[] I have converted...

View Article

Mac OS Python

Flip Phillips wrote: Greetings- I am trying to get started with a little Rhino/Python on Mac OS X.It would seem that I need the RhinoCommon or some other interface (eg- the python imports) and, while...

View Article


Python Editor Auto Completion

Poltak wrote: Hi. I just have a problem. I just reinstalled Rhino and I don't know if I always had this problem. When I use the Python Editor and start to write, the editor doesn't give me hints for...

View Article

Prompt for sub-object surface selection?

violine wrote: I apologize in advance for probably silly questions here, I am writing my first Macro but do not know how to prompt to select a sub-object surface, is it possible? Thank you! Posts: 3...

View Article

Repeatly make points and group

Baasab wrote: I want to make a button. When clicking the button I want to place points repeatly. (!_points)after placing the points regardless how many, I want to click enter and then the last created...

View Article
Browsing all 4117 articles
Browse latest View live