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

Select point on a vector

@onrender wrote: Hi, I cannot find the way how to select a point on a given vector or a line. I would like to select and visualize the point on a line. Should I use projection. Is there a method for...

View Article


Grasshopper slider animation, Export Sequence (to be used for rendering)

@FordEarl wrote: Hello Scripters, Can anyone point me in the right direction (a previous thread or solution) for a script, that allows me to export geometry (surface or solid) from Grasshopper, to...

View Article


Image may be NSFW.
Clik here to view.

BrowseForFolder alternative for more efficient browsing?

@siemen wrote: BrowseForFolder creates this window with a limited interface to browse for a location. Is there an alternative in Python to get a window with better options for browsing to a folder...

View Article

Text, then place in text layer without changing whatever layer's current

@cosmas wrote: Hey friends, Wondering if someone can help me put together a macro or a script that I would run when I want to create a text object, and have the text object be put in a layer called...

View Article

A script, plug-in or python that would lock and unlock all details

@cosmas wrote: Hi friends, One more, if I may. Wondering if we can write a script of some sort that would generate two commands: lockalldetails and unlockalldetails on whatever layout page I happen to...

View Article


Scope of GUIDs in GHPython

@toivosawen wrote: Can somebody explain how GUIDs of objects in Grasshopper work? I have the following code to bake some curves into rhino and keep track of their ids: def my_code(): isocrvs = [] #......

View Article

Where is rs.filter.surface comes from

@onrender wrote: Hi, I have seen somewhere on the forum the rs.GetObject with rs.filter.surface. Where rs.filter.surface come from? Thanks, Andras Posts: 3 Participants: 2 Read full topic

View Article

Image may be NSFW.
Clik here to view.

Need help script to export .3dm rhino 5 version

@i.a wrote: Hi everybody , I’m a jewelry designer and I’m using rhino for almost all of the process. I’ve been rhino 4, 5 user while now I’ve moved to rhino 6. I’ve encountered a couple of issues that...

View Article


Retain Guid when passing objects between GHPython script components

@toivosawen wrote: Is it possible to retain the guids of objects passed between GHPython script components? Posts: 4 Participants: 2 Read full topic

View Article


HiddenLineDrawing - Functionality

@Jess wrote: Hi @GregArden, first thank you for HiddenLineDrawing! Its a great addition to V6 - worth the update! I have some questions / suggestions and start this new topic, since you’ve closed the...

View Article

AddLoft Tangency in script

@brodiej wrote: I’m trying to generate a family of models with RhinoPython. The main body of my object is a loft through a series of curves. I need to add an additional feature that is a 2nd loft,...

View Article

Trouble Moving Dimension Grips

@Measure wrote: Background: When a bunch of geometry that includes dimensions is mirrored, the “architectural tick” style arrows become mirrored as well. I’m writing a script to flip them back....

View Article

Get Objects by Layout (PageView)

@Jess wrote: Hi, is there an easy way with RhinoCommon to get all objects which are on a certain layout page? Thanks, Jess Posts: 3 Participants: 2 Read full topic

View Article


SelColor different behaviour on Rhinoceros 6 when executing a command

@Jordi_Llonch wrote: I observed different behaviour between Rhinoceros 5 and 6 when my command is executing (using Rhino.Input.Custom.GetObject()) and use “SelColor” command in the middle. In...

View Article

Image may be NSFW.
Clik here to view.

Bug in rs.addcurve or append :/

@Holo wrote: I have tried to bugtrack this stuff but I don’t understand what is going on, for some reason code that works fine in V5 adds extra points at w(0,0,0) which is quite strange, but it...

View Article


Image may be NSFW.
Clik here to view.

Rhino Python Editor Questions

@nathancoatney wrote: Is the current python editor a plugin? If so, is it c#? Is it possible for one to author an editor using ironpython+eto and: image.png253x545 7.55 KB I seem to be able to run...

View Article

Image may be NSFW.
Clik here to view.

Interfacing ghpython with python 3.x?

@Jakob1 wrote: Hi everybody! I’m looking for a way to use python 3.x in Gh. I know of Rhino using IronPython2, which I guess complicates things a little, but I’m thinking there must be a workaround,...

View Article


Inconsistency with input boxes' OK button

@DanBayn wrote: Here is something that our team is asking me about. There are a variety of input tools used when scripting, like rs.MessageBox, rs.MultiListBox, rs.StringBox, etc. The users are...

View Article

Selenium - Python. Works but fails

@Antonio_Cersosimo wrote: Hi, lately I been writing some basic scripts for using selenium in grasshopper, I have tried with, (ghpython, Cpython, and python remote) but they all seem to break at some...

View Article

Image may be NSFW.
Clik here to view.

Input function question

@backheuser wrote: Hi there, I’m new to grasshopper so my question might be dumb, but I can´t find a solution. Im using Python for GH. The following sentence, that works on any python interpreter,...

View Article
Browsing all 5783 articles
Browse latest View live