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

Script to mass export CAD files

Tenho um projeto com varias peças e quero exportar cada uma delas em dxf separadamente de uma unica vez , é possivel? me ajudem! 6 posts - 3 participants Read full topic

View Article


Rhino Pdf and Print image Python

Hello… i found in forum the printer command, but if I call Rhino PDF as printer name, it doesn’t work… i need a script that when i run it it print the rhino window in Pdf AND a picture with “rhino...

View Article


Image may be NSFW.
Clik here to view.

ETO Userform Problems with Touch Screen Laptop

Hi, I have a Dell Precision 5540 laptop which has a touch screen and have scaling issues when viewing on the laptop versus viewing on an external monitor. My forms are built in Rhino 6 using ETO Forms...

View Article

Custom RenderMesh per object selection

Hello! Is there a fast way to assign a custom mesh to an object selection using python? what I need to do is to export in a single obj the objects of each layer with a different meshing quality....

View Article

Ask users to save file?

I’m using SetDocumentUserText in my Rhinoscript, but after the script runs I don’t want users to be able to close Rhino without warning to save file. Is there a way to do this? I suppose I could add a...

View Article


Image may be NSFW.
Clik here to view.

Thick curve area

I’m trying to calculate the area of a curve with a certain thickness. Is not really a problem until you get into self-intersecting curves and have to take into consideration overlapping regions. I...

View Article

Create custom toolbar button to run a RhinoPython script?

Like the title asks, is it possible to create custom toolbar button to run a RhinoPython script? I’ve searched the RhinoPython rhinoscriptsyntax docs, but haven’t found anything. I’ve done forum...

View Article

Image may be NSFW.
Clik here to view.

Nominating a 'face' and then extracting it later

Hi all, I’d like to create a primitive (box 90% of the time) and somehow identify one of the faces as the important one. This will be the ‘machining face’ to cut on a CNC router. (Think melamine in a...

View Article


Image may be NSFW.
Clik here to view.

Ghpython Assign colors to tree branches

Hello how to assign different n colors to n branches? color tree.gh (15.0 KB) image1477×727 90.2 KB a = [] b = [] #if y have tree access #for i in range(y.BranchCount): #branchList = y.Branch(i) #for...

View Article


Image may be NSFW.
Clik here to view.

Need an example for Rhino.Geometry.Brep.JoinEdges

I’m barely familiar with RhinoCommon and there’s not a python method for this, hence the request. Thanks in advance. image1412×892 15.8 KB 1 post - 1 participant Read full topic

View Article

Image may be NSFW.
Clik here to view.

Simple BATCH File issue

Hello Everyone, I am needing a little help sorting this one: would like to trigger a specific Rhino file , from a Batch (*.bat) file, and run a script on that *.3dm file. I have seen/read here in the...

View Article

Get video hardware & driver information

Hello. At the beginning of my code, I would like to know if there is a video card installed in the system or if tasselation is on, something that confirms me that i can run ViewCaptureToFile to save...

View Article

Polyline array script

Dear all, I’m using Rhino 7 beta and I’m trying to do a simple thing like drawing rectangle polyline. I tried to follow the instructions from the script help and wrote the code like this: Call...

View Article


Transparent Background? -ViewCaptureToFile

Hello, I am working on a python script that is supposed to make a image for the current view, then hide the current layer, show the next layer and repeat. I was having difficulty with the...

View Article

Sel large meshes?

Is there any way to ask Rhino to select meshes over a certain poly-count? I’m dealing with some bloated maya files and it would be great to select meshes over a certain size so I can run ReduceMesh on...

View Article


CurveClosestObjects problem

Hi all, Please help me with this issue. Why do I get a: “Runtime error (TypeErrorException): Parameter must be a Guid or string representing a Guid” in the rs.CurveClosestObjects section? text_min =...

View Article

RhinoPythonShell

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic

View Article


Image may be NSFW.
Clik here to view.

Inflection points with GhPython

Hello Using curvature and intersection give close result but intersection always need to check the new curvature curve The script created by @dale work fine but i don’t understand how to convert it to...

View Article

Image may be NSFW.
Clik here to view.

Remove Sketchup export warning window

I would like to get rid of this message everityme I export as sketchup file, is it possible? sketchup export issue881×548 34.9 KB 14 posts - 5 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Import Material from Materials Library

Hi, Looking for a way to import a custom material from a library of materials I am developing. I want to import these materials into the Rhino document and then assign them by selection to different...

View Article
Browsing all 5865 articles
Browse latest View live