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

Rhino 7.0 Plug in compiler

In Rhino V7 how do you create a Rhino installation file for a plug in ? in previous versions of the compiler we used to get asked if we wanted an installation file but no choice in V7. I have compiled...

View Article


Determine the size of a detail view

Hi and Happy New Year, Is there a way to determine the actual size of a detail view in a layout. The size of the view as if you were to measure it. Thanks in advance, Eric 2 posts - 2 participants...

View Article


Rhino Command Script

Hello, I just started writing scripts and I thought it would be good to see the scripts of rhino commands to learn better. Is there a way to view the script for these commands? Thanks in advance 1...

View Article

Image may be NSFW.
Clik here to view.

Python not able to find existing file?

Hello all, I have a whole load of files where a particular layer has to be deleted and placed into a new folder as a DXF. The odd thing is I had it working perfectly earlier however when I went back...

View Article

Image may be NSFW.
Clik here to view.

Create Surface from Points in Rhino Python, Message: expected...

I am trying to create a surface in rhino from points (x,y,z) usually from 3 or 4 for a surface from a citygml file. After a lot of research I found AddPlanarSrf() method does this job from curves, but...

View Article


Append text to end of selected layer

I want to create a button that will add some text to the end of whichever layer is highlighted. Keyshot lets you apply materials by layer using an automated tool based on layer name. So I figured that...

View Article

Image may be NSFW.
Clik here to view.

Filet corner script

Hello!!! I pass a lot of time to make filet on rhino 3d cad, and every time on corners I have to cut the 3 or 4 filets end and make a 2rails surf or other on the corner … I made a script to cut the...

View Article

Python IDE/workflow for newbie

I am struggling to get set up. I have run into limitations scripting in a GH component, and in the Python script window in Rhino. I have downloaded PyCharm and got it running IronPython, but the...

View Article


AddSrfPtGrid doesn't work

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

View Article


Expected Ienumerable[curve], got list

hello every body!!! i search to create a network surface with: Rhino.Geometry.NurbsSurface.CreateNetworkSurface(edges,2,0,0,0,0) but it return an error: expected IEnumerable[Curve], got list how can i...

View Article

Batch Export PDF

Hello Everybody I am trying to create a script to batch export drawings as PDF files, and I’ve hit a wall. Any suggestions would be really helpful. My goal is to automate exporting of 100+ files. I’ve...

View Article

Script is crashing, locking up rhino

i’ve got a script here that @pascal provided me awhile ago. it had been working fine but it’s hanging and locking up rhino. any ideas? thank you FinTools.py (13.6 KB) 2 posts - 2 participants Read...

View Article

Split an object with a line

Hi! I need to split an object using a line and delete the left side. How can I do it automatically using the python script?Example.3dm (65.4 KB) 2 posts - 2 participants Read full topic

View Article


Untrim Hole in Grasshopper Python

Hello Everybody, is there a way to create script in Python Grasshopper which would work same as ‘Untrim Hole’ command in Rhino? I have some trimmed surfaces with holes in it, if I use Untrim in...

View Article

Image may be NSFW.
Clik here to view.

Python Script

Hi! I am a newbie and therefore still relatively inexperienced in terms of scripting and the possibilities. I would like to pull up walls in 3D and connect them to a box, then copy it several times in...

View Article


Image may be NSFW.
Clik here to view.

Rhino 7 - GetColor() missing transparency

Hi there! I’ve been using this lovely little script to quickly change the colors of objects: import rhinoscriptsyntax as rs def QuickColour(): objects = rs.GetObjects("Pick objects for colour change",...

View Article

CreatePreviewImage rhinoscript command not working in Rhino 7

Hi, I’m trying to create a preview image using Rhinoscript using this line: Rhino.CreatePreviewImage("C:\Users\jordi\test.jpg") It is working in Rhino 5 and 6 but it is not in Rhino 7 (tested on...

View Article


Open Grasshopper/Rhino files at the same time?

Hello Is there a way to open Grasshopper and Rhino files of the same project together? And how to open Rhino file with ghpython? 3 posts - 2 participants Read full topic

View Article

2 Macros please

Could someone please tell me what the macro would be for: Arc - start end direction and Arc - center start angle I use these a lot and would like to attach them to an alias. Thank you. 3 posts - 2...

View Article

Image may be NSFW.
Clik here to view.

Real world, practical use cases of Python for architectural design for beginners

Hello everyone, what do you use python for in your daily workflows? I am looking for examples to give to my students at the TU Darmstadt. I am teaching a course on the basics of computational design...

View Article
Browsing all 4117 articles
Browse latest View live