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

Surface from points

@daizhuo wrote: In the below code"panel = rg.NurbsSurface.CreateFromPoints(cpts,2,vnum2,2,2)", I want to generate a surface with 1 degree from points. But now, I get a wrong thing. Thx for ur help!...

View Article


BrepBrep intersection not threadsafe in Rhino 5 64bit?

@SmallChief wrote: Using the Grasshopper python component I wrote a code that intersects lots of breps with each other.To make it faster I used parallel processing wich worked fine under Rhino 5...

View Article


RS: StringBox - control position on screen?

@Jarek wrote: Is there a way I could control the position of StringBox dialog on the screen?(similar way the PopUpMenu allows). I know there is no direct way in the method (could we add it as optional...

View Article

PlaneFitFromPoints

@gianpaolo_savio1 wrote: I’m trying the rs.PlaneFitFromPoints function.Using the example in the RhinoPython Help: import rhinoscriptsyntax as rs points = rs.GetPoints() if points: plane =...

View Article

Python Scripting Export

@JimCarruthers wrote: Is there a method for doing a simple file export without using "Command"? ThanksJim Posts: 6 Participants: 4 Read full topic

View Article


Linking rhino python with web tools for automating offroad maps

@dcantwell wrote: In Rhino 5, I have manually created some GPS tracks of the Pacific Crest Trail using Halfmiles GPS data files (using a GPX converter from another website) and then manipulating the...

View Article

Script to incrementally save a file

@Ncik wrote: G'day Everyone, Does anyone have a script for saving a file with date and/or time appended to the front? Similar to incremental save functionality it will create a new file each time...

View Article

Customize Title Bar

@JimCarruthers wrote: Is it possible to add some custom text to the man Rhino window Title Bar? Posts: 2 Participants: 2 Read full topic

View Article


Weave lists of pts together

@brobes05 wrote: I am new to python (sort of), anyway I am not sure why this is not working. Should be simple to weave two lists together with a boolean pattern of true false. I don't really...

View Article


Rhino 5 Mac Python Best Practices

@jospehkoon wrote: I have recently been writing basic Python code for Rhino 5 Mac.I have read through the primers, but still have a few questions. Currently, I am storing all of the code inside...

View Article

List rotation of an object

@juancarreras wrote: Is there a way to extract the rotation angle of an object in relation to its original position when it was created ?Ideally I'd like to be able to display an annotation tag that...

View Article

Set object color

@elaner wrote: I am trying to set the color of a cylinder I created using python. Cylinder is created, but the color does not change. Here is the script. Any help is appreciated. import Rhino import...

View Article

Bug in rhinoscriptsyntax toolbar.py (more or less solved)

@Helvetosaur wrote: Continuing the discussion from Toggle toolbar visibility without knowing its parent "collection": Running the following script in my setup errors out on the line indicated: import...

View Article


OT, automating Acrobat

@JimCarruthers wrote: Hi group, I'm trying to read some form information from PDF files. I'm trying to connect to Acrobat from Python in Rhino, and looking at every example I can Google I seem to be...

View Article

Issues Creating Plugin From Python Script

@Steven_Elliott wrote: I'm trying to compile my python script into a plugin for Rhino 5 but am running into an issue that I am not able to fix. When I run my script in the Rhino editor it runs fine,...

View Article


Image may be NSFW.
Clik here to view.

Heigthfield popup warning

@Maarten wrote: We are scripting the Heigthmap command in Python scripting. A popup with a warning become visible.Is it possible to get rid of this popup? heigthfield.JPG702x371 29.3 KB Posts: 2...

View Article

Bath export to OBJ and material length dialog box

@Frederic_Trastour wrote: Hi all, in a VB script, I do a batch export into OBJ format.For each created file I get an error dialog box warning about too long material names, but output OBJ files are...

View Article


Python: ObjectsByLayer to select objects on sub-layers

@DanBayn wrote: Sorry, I should have put more thought into this before asking for help. The LayerChildren method is what I was overlooking. Dan Posts: 3 Participants: 2 Read full topic

View Article

Select a Hatch by Pattern - Python & RhinoCommon

@rivex wrote: Hey Guys to improve my scripting/coding skills (I'm a programming-beginner ^^), I try to develop basic scripts to make my daily rhinowork faster. Currently, I'm trying to develop a kind...

View Article

Brep.CreateBooleanDifference and Brep.CreateBooleanUnion switched?

@cyberjack wrote: When writing Python for Rhino on the Mac when I call CreateBooleanDifference, I get the Union of the inputs when I call CreateBooleanUnion, I get the Difference of inputs When I...

View Article
Browsing all 5743 articles
Browse latest View live