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

Image may be NSFW.
Clik here to view.

Move Lines until it touches the curve

Hi, I would like to move all the blocks until it touches the curve ( Upper block to upper curve, lower blocks to lower curves), is there any way to do that in rhino, maybe using grasshopper?p.3dm...

View Article


Image may be NSFW.
Clik here to view.

OrientOnSrf

Hello. sorry for the stupid question. I’m a newbie. OrientOnSrf how to add turn on a Scale? (is it possible to add hotkeys? to scale + 0.1 - 0.1 from 1) how to add turn on a Copy? how to add turn on a...

View Article


Image may be NSFW.
Clik here to view.

Unrolling reverses the additional geometry order

Hello, I have two surfaces: one flat, one curved, with the similar UV direction. I would like to unroll them, and unrolled the points on them as well: image906×399 10.4 KB For the curved surface,...

View Article

Image may be NSFW.
Clik here to view.

Load cluster in my Python code

Hello i created a cluster with C # if I want to load this cluster in my Python code? Is it possible? I wrote such a line, but it got an error and the cluster was not found at all(for example this...

View Article

Script to export drawings to dxf - color error (converts black lines to white)

I have written a c# script that exports a bunch of geometries on assigned layers to separate dxf files for fabrication. Key is to have specifi geos on specific layers with assigned colours. All works...

View Article


Image may be NSFW.
Clik here to view.

Workflow for testing when using VS Code?

Hello everyone, I am wondering if anyone has a good workflow for doing Unit-Tests on Python modules which are used by GHPython components when I am creating those modules in VS Code or similar...

View Article

Image may be NSFW.
Clik here to view.

Radial symmetry (Reflect) need а macro

Hello! I am trying to automate the process a bit. I have a model with 3-sided symmetry. The model is in the center of coordinates. After making some minor adjustments, I use Reflect And I make...

View Article

Stamp with python

hello… on layouts, sometimes i need to add a symbol, i would like to make a python scipt, that it make the polyline and i’ve just to click to put it where i want. there is two versions of this symbol,...

View Article


Data type in python

(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.

Script - Change Block's+Dependencies layer but Maintain All Colors

Hi All, When importing some autocad drawings i want to move them on a specific layer. Usually there are many nested blocks which are making my layer layout look messy every time i import an autocad...

View Article

Eto Slider - Showing current Value

Hi! I’m using Eto in a Python script to get user input. I am using the slider to choose a value, but since the slider only shows ‘ticks’ it’s hard to be sure which value was chosen. I managed to show...

View Article

Automatically annotate a set of points with X,Y,Z coordinates

Hi All, I’m trying to find way to automatically annotate multiple points specifically to show the XYZ coordinates. point set.3dm (52.8 KB) 5 posts - 2 participants Read full topic

View Article

Rhino.Input.Custom.OptionInteger

hello, in a script i would like to use Rhino.Input.Custom.Option but with a string and not integer or other. for example the custom option default is Up, so the command line offers three other choice:...

View Article


Line Width and color... RhinoCommon

hello, i search to find by myself in the API DOC Rhino Common, but it’s really hard… some times i found, but there must be a method to search in this document… if i want to know the method to modify...

View Article

Generate name Callout for multiple objects

Hi All, I’m wondering if anyone has published a tool to automatically generate object name callout for multiple objects. Perimeter.3dm (2.4 MB) 1 post - 1 participant Read full topic

View Article


RhinoCommon equivalents of PlanarUnion, PlanarDifference, PlanarIntersection?

As per the title - are there any yet? 2 posts - 2 participants Read full topic

View Article

Apply "planner curve" command to multiple object but one by one,not all together

Hi everyone! is there a way to Apply “planner curve” command to multiple object but one by one,not all together in order to avoid the self intersect error message? all curves are planner and closed,...

View Article


Image may be NSFW.
Clik here to view.

Mondrian Subdivision Through Points

I have a python script which does a mondrian subdivision. This is where an initial rectangle is split into two or more rectangles - then those rectangles are split into two or more rectangles, etc....

View Article

Image may be NSFW.
Clik here to view.

Rhino 7 error - RhinoScript AddMesh method

Hi everyone, I would like to bring to your attention an orror on AddMesh method that has appeared with rhino7. The error does’nt exist in rhino5. Some more description strMesh = rhino.AddMesh(arrNode,...

View Article

Can't import filenames with blanks in - Rhino7, python

Hi Hope everyone is doing well. Running Python script in Rhino 7. I can’t get import to accept blanks as part of the file name. No matter what I do it uses first blank as an enter and chops the the...

View Article
Browsing all 4120 articles
Browse latest View live