Quantcast
Browsing all 4120 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

With which Command(api), make reverse the SplitKinty process? Convert...

With which Command(api), make reverse the SplitKinty process? {Convert Openbrep to Untrimsrf} rail!=null1628×653 121 KB For example, I want Sweep1 output asEdge SurfaceUnsplitof Untrimsurface type How...

View Article


Image may be NSFW.
Clik here to view.

Show draw icon by python(c#)

Hi, which is a code that when Run comes components to Nicknam, I wanted to activate the DRAWICON option, but did not find his command? How is it? drow1339×724 182 KB @Mahdiyar import Grasshopper if...

View Article


Image may be NSFW.
Clik here to view.

Layer name to material name?

Hi. I have 1 question to answer. I have a lot of “layers” how can I convert “layer” name to “material” name image501×970 39.7 KB 4 posts - 2 participants Read full topic

View Article

Font Justification Script

I have to make a “BottomCenter” justification change to a “Simplex” font (with size of 2) and was hoping to use a script to do it. I have thousands of files that require this update. My coding...

View Article

Script to give a bunck of layers random color

Hello! Is there a way to create a script that, once i’ve opened a file with a bunch of layers, give them a randomized color? I’ve tried to read some documentation but my skills in programming are...

View Article


Function definition gives error, running code outside function works

Hi, As the title says, I have a function sigmadef() that gives an error. The error is " object_2$2 is not callabe ", which google only links to Ladybug, but I’m not using that. However, when I comment...

View Article

Bug? ObjectLayout() always changes layer, even if layout parameter is omitted

Or am I just mis-understanding how to use an optional parameter? The line in question seems to always change the object to model space, with very unfortunate consequences if the user doesn’t realize...

View Article

Script to automate a list of layers to rename

Hi. We are using rhino to nest parts on stock material. The problem is that we have to manually change layer names before sending them to the CNC cutter. Is there anyway to automate this layer rename?...

View Article


Image may be NSFW.
Clik here to view.

Can I invoke Python script when develop GH component with C# and VSStudio?

I used to use ghpythonlib.components to invoke some Grasshopper functions when they are not offered by rhinoscriptssyntax, which is efficient. Recently I am trying to develop scripts using C# with...

View Article


Open Pdf file programmatically on Mac os

Hi there, i want to open a pdf file from a Python script on Mac os. Under Windows i can simply use: cmd = "_Run {}".format(pdf_file_path_name) rs.Command(cmd, True) Unfortunately, this does not work...

View Article

Image may be NSFW.
Clik here to view.

Eto form - Select and store objects with Button

Hi all. I want to select a bunch of Rhino objects when i click on the “Select objects” button, then I want the dialog form to come back before I click on the “Export” button. The export button will...

View Article

Image may be NSFW.
Clik here to view.

Surface normal

I have a problem. when I run my cod on a surface normal points are true but when I run cod on one of the surface of my geometry when I explode it normal points runs away. 2 posts - 2 participants Read...

View Article

Importing mesh from eto form doesn't show up in rhino view till window is closed

(topic deleted by author) 1 post - 1 participant Read full topic

View Article


Problem with undoing material changes made via script

Hello, There seems to be an issue with undo not working properly for material changes made via a script. For example, when running a script that changes material color of a selected layer, and then...

View Article

What's the format for RichText text?

If I wanted to script portion of text object’s text bold for example. 4 posts - 4 participants Read full topic

View Article


Rhino start and _LoadPython

Hello Every time when Rhino5 start _LoadPython running. In the R7 it doesn’t work (Unknown command) What should I do? 2 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Is it possible to disable radiobuttons in an ETO form?

I would like to disable certain radiobuttons based off of other selections. Is this possible? Something like this: Thanks, Dan 3 posts - 2 participants Read full topic

View Article


Open webpage with python on mac

I’m wanting my python script to open a browser window. The following works fine on Windows, but not on the one mac that I have access to. Is there a way that would work on both platforms? "rs.Command...

View Article

Visualization the results in the CityGML data by using Rhino and Python

Hello, According to the energy demand values that I calculated and parsed into an XML file (GML file), I need to visualize my results using Python and Rhino. Basically, what I need to do is to color...

View Article

Returning new nodes on import doesn't work through eto window

Working off of this solution Import 3dm or stl and return new nodes - #2 by dale I tried calling this from a button in a Eto.Forms.Dialog window. When I query for the serial number it is the same from...

View Article
Browsing all 4120 articles
Browse latest View live