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

Script to import files in folders, subfolders

@Labar wrote: Hi, I need to import .dwg and .step files from several folders (to rhino format). I’m not sure of the best option to choose when I see the number of possibilities I have to do it. I am...

View Article


Image may be NSFW.
Clik here to view.

Get size of mapping

@akushnir wrote: Hello! Is it possible get this sizes from python code? size.PNG596x551 428 KB Thank you! Posts: 2 Participants: 2 Read full topic

View Article


How to Convert a text file into a matrix

@filippo.derosa wrote: Dear All, I am fairly new to Rhino Scripts even though I am used to programming. I have been facing something I thought easier to fix. Basically I have a txt file with only...

View Article

Merge Lines

@ricardo.eira wrote: I have this lines that is overlap. overlap.3dm (19.8 KB) I need merge various lines in one single line, clear that the two or more curves must be in the same alignment. Any...

View Article

Brep for Planar Rectangular Surface returns 5 edges

@MClare wrote: I’m trying to get the edges of a planar surface that should be a rectangle, so I’m expecting a return of 4 edges. For some of the geometry I’m dealing with however, I’m getting 5 edges...

View Article


Call module from compile

@ricardo.eira wrote: Hello, I make two teste scripts: call_module.py (119 Bytes) parameter.py (136 Bytes) I try compile all and install on rhino, the intention is to call the “parameter.py” from “the...

View Article

Image may be NSFW.
Clik here to view.

K-Means Clustering

@timothytai wrote: Hi all, I am wondering if anyone is familiar with the K-Means clustering component in the Ivy Plugin? grasshopper3d.com k-means clustering with Ivy Region detection based on the...

View Article

Command to refresh Enscape

@Jack_Zeng wrote: Hi all, ( I cannot categorize this topic because it could be either rhinopython or grasshopper…) I have been trying to create a video with moving objects using Enscape. Now I can use...

View Article


Gcode script

@onlyforpeace wrote: hello, i ve got a problem with a script,it return a error message about the last loop , in frenchy: Next non attendu: Option Explicit 'Script written by 'Script copyrighted by...

View Article


Image may be NSFW.
Clik here to view.

Writing dict of values=list to a CSV file

@manuelr wrote: Hi there, How is it possible to write a dictionary that has a list of values mapped to a key to a CSV file? I get this in the Excel file, instead of the list of values in the columns:...

View Article

Converting Rhino 5 Toolbar Tab script to Rhino 6 Tab Script

@paulius wrote: Why script created with Rhino 5 do not work on Rhino 6? Posts: 2 Participants: 2 Read full topic

View Article

Need help, Script not working - Rhino 6

@unknownp wrote: Could you guys fix this script so I could use it properly. What I am doing wrong ? I need just Z coordinate. Thank you. import Rhino import rhinoscriptsyntax as rs pt = rs.GetPoint()...

View Article

Modify NamedViews with script

@lahos wrote: I try to modify viewInfo inside NamedViewTable. There is no CommitChanges() or a similar method. There is a method called SetCameraLocation but can’t get it working, I’ve no way to apply...

View Article


Loop through and ViewCaptureToFile on 'Named Views' Panel

@Jack_Zeng wrote: Hi all, I want to loop through all the saved views on ‘Named Views’ panel. But I am not sure how to achieve it. I know you can return the view names by using ‘rs.NamedViews()’. But I...

View Article

I need a script to select cololrs in a file

@adrianh wrote: I have an interesting problem that can be solved easily with a suitable script. The problem is as follows: I do a large amount of laser cutting for people and i get the files in all...

View Article


Image may be NSFW.
Clik here to view.

Coercebrep() not working as before

@Will_Wang wrote: image.png793x600 58.6 KB I think in older versions this worked. Is this an intentional change? Posts: 5 Participants: 2 Read full topic

View Article

_Dir command in rhino Script

@onlyforpeace wrote: i need to change the orientation of a curve for each loop in a script. is there a fonction in rhino script who can do that? Posts: 3 Participants: 2 Read full topic

View Article


Python script to export STLs

@declan wrote: Hi all, Could someone help me tidy up this script to export a group of objects as individual STL files? import rhinoscriptsyntax as rs objects = rs.GetObjects("Select objects to...

View Article

Can we use the concept of 3D meyer to Rhino Scripting

@portugaldesignlab wrote: Can we use what they teach here to rhino for scripts in python or creating new macro buttons ? http://www.3d-meier.de/ Just wondering Posts: 1 Participants: 1 Read full topic

View Article

Image may be NSFW.
Clik here to view.

Rhino Python Script for Renaming Layers in multiple files with .XLSX tablesc

@ectapia wrote: Hey all, I am new to Rhino Python and am looking for an easier way to do a painful task in Rhino. I am currently using Rhino 6 (we just upgraded from 5) to design aluminum ships. We...

View Article
Browsing all 5743 articles
Browse latest View live