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

Change to a highlighted layer

@cosmas wrote: Not sure whether this is possible, but is there a macro/ script that can change a selected object to a highlighted layer -not an active layer-- but a layer that is highlighted and...

View Article


rs.BrowseForFolder broken in RH6 RC13

@clement wrote: Hi @Alain, it looks like the method is broken using RH6 RC13 (WIN) after the recent fix has been added for mac by @dan. If i try this from the python editor: import rhinoscriptsyntax...

View Article


Image may be NSFW.
Clik here to view.

Running script from a button

@ivelin.peychev wrote: Hi, Did anything change? How can I run a script from a button? The window is different from here: Steve Baer's Notes – 11 Apr 11 Running scripts from Toolbar buttons This is...

View Article

Adding a blend surface using rhinoscriptsyntax

@satadeep.sinha93 wrote: How can I add a blend surface between two edges of two different surfaces using rhinoscriptsyntax module? Posts: 5 Participants: 2 Read full topic

View Article

Adding detail (with zoomed content) to an external rhino file

@samid wrote: Hello, with File.IO.File3dm.Read it is possible to read an external Rhino File. Is it also possible to create a detail and zoom the content to a specific layout inside this file? RG,...

View Article


Adding a patch using rhinoscriptsyntax

@leah.milekic wrote: I am trying to patch a set of imported points and have tried to create a surface from the the first and last 2 points of imported text file as rs.AddSrfPt only takes a max of 4...

View Article

Cannot use random in python(atom) in rhino 5 mac

@herocaripod wrote: when I run a script from Windows with import random and use random functions, it failed. any ideas? Posts: 4 Participants: 3 Read full topic

View Article

rs.LinePlaneIntersection buggy?

@rgr wrote: One of our modelers gave me this script. When you uncomment the “rs.LinePlaneIntersection” line, you get a “Message: Could not convert [guid] to a list of points” error, using...

View Article


Ortho Issue in Custom.GetPoint Script

@spineribjoint1 wrote: If “Ortho” is On or Shift key is held points are drawn orthogonal only in relation to the first point. Any idea how to fix this so it works like rhino polyline command? import...

View Article


Offset more then 1 crv (Python)

@askj92 wrote: Hi I hope someone can help a Newbie Im doing the rs.AddSrfContourCrvs and need to offset all the curves it creates. How do i do that? /Astrid Posts: 2 Participants: 2 Read full topic

View Article

Image may be NSFW.
Clik here to view.

Insert Every Block Instance on Document?

@ShynnSup wrote: Hi people, I am currently needing to insert every block definition within a document. I found this: Which replaces every point with the same block. I tried to change it to instead of...

View Article

OffsetBrep (offset polysurface) in python

@askj92 wrote: Hi Is it posible to use OffsetBrep in python? Else how do you offset polysurface? /Astrid Posts: 2 Participants: 2 Read full topic

View Article

Image may be NSFW.
Clik here to view.

Define Max. and Min Position when Prompted in Rhino

@barkerm1 wrote: I’ve created this python script to define a position in rhino. When prompted in rhino how do I define the position. I try typing in coordinates and that doesn’t seem to work....

View Article


Image may be NSFW.
Clik here to view.

Error: range () integer and argument expected, got float

@barkerm1 wrote: I can’t understand how to debug this error. See below. 3.PNG1221×782 146 KB Posts: 5 Participants: 3 Read full topic

View Article

GetPoint result on option change

@kyle_faulkner wrote: I’m playing around with the script posted in the forum here and I am trying to add a command line option. When running the script, changing an option triggers the GetPoint event,...

View Article


Image may be NSFW.
Clik here to view.

Python Geomtery Creation Error

@barkerm1 wrote: I’m trying to create the geometry shown but keep getting an error. 4.PNG.jpg1612×829 304 KB Posts: 3 Participants: 2 Read full topic

View Article

Image may be NSFW.
Clik here to view.

G-Code Compiler Error

@barkerm1 wrote: I have imported a python script into grasshopper and connected it to a g-code compiler and keep running into errors. 1.PNG679×717 90.5 KB 2.PNG1480×470 89.8 KB 3A.PNG1394×1022 328 KB...

View Article


Image may be NSFW.
Clik here to view.

Offset Problem

@sumuk wrote: Hi, Greetings! I wanted to offset a curve (which is a 2d curve represented in 3d). image.png1046×646 7.22 KB The length of offset is -30 mm [Expected curves] The offset curve i expect...

View Article

Automate running python script in Rhino6

@changhun.lee wrote: Hello, I was wondering if I could automate running a python script in Rhino6. Basically, I want to keep Rhino running and whenever I get a request from the web, import certain...

View Article

C# reverse a curve using a guide curve

@shaunwu25 wrote: Hi everyone, I’m wondering how to make a function in c# component similar to grasshopper component “flip curve”. Gh flip curve is really handy, it can ensure my input curves are...

View Article
Browsing all 5743 articles
Browse latest View live