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

Auto-generate Make 2D from Named Position and write to new .3dm file

Hello, After making a Named Position, I’d like to: Select objects of that Named Position Set View to Isometric SW Run Make 2D command (with Projection set to View, Object Properties set to From Input...

View Article


Image may be NSFW.
Clik here to view.

Gh python save only previous variable and compare

Hi all, I’m still very new to python and was wondering if there’s a quick way to be able to check whether the latest variable is greater or smaller than the previous input. I am trying to animate...

View Article


Example of CreateFilletEdges

Is there an example posted somewhere using this command: Brep.CreateFilletEdges Method Goal is to chamfer the edge of a polysurface. Eric 5 posts - 2 participants Read full topic

View Article

Generate IFC file

Hi there, I am developing a minimal sketch plugin and want to provide IFC functionality for that as well. I mean in general it would be useful to export rhino models in IFC file. I think of a simple...

View Article

Image may be NSFW.
Clik here to view.

Trying to create multiple views and clipping planes that clip them, but only...

I am trying to create multiple plan views in my model with each view clipped by two planes,one for hiding objects below level and one for cut level. currently, it creates the right views, but i fail...

View Article


Image may be NSFW.
Clik here to view.

Help, python for Rhino dosen't show the results

Hello there, I’m just start to lern python for Rhino on my Mac. But when I typ the print (“hello world”) in the Rhino python editor, there is no result been shown in the Output field. ps. Rhino...

View Article

rs.GetObject / Rhinocommon Gets

If you do the following: get = rs.GetObject( “Pick”, rs.filter.polysurface | rs.filter.surface) Why does rs.filter.polysurface | rs.filter.surface work, in terms of that style / notation, for being...

View Article

Copy objects independent from group

Hi I’m using CopyObjects and find that they maintain their grouping with the original group or groups. I want an independent copy maintaining their grouping order but within their own independent...

View Article


Image may be NSFW.
Clik here to view.

Script for plug in material to rhino material

Hi all I’m trying to write a script to convert files with V-ray or Octane materials to Rhino Render materials before exporting to real time renders. Basically, I’m trying to script unchecking the...

View Article


Image may be NSFW.
Clik here to view.

List Trouble - Python/Grasshopper

Hi there - I’m hoping to get some help on a script that’s been causing me issues. I’ve been trying to group a list of values into 20 or so groups based on a range of values for each group. For...

View Article

Image may be NSFW.
Clik here to view.

Using SelKeyValue command for BIM purposes

Hi everyone, I have a building (meshes) and I have about 10 Layers corresponding to different results sets. But I also want to be able to filter the vsible meshes by groups corresponding to different...

View Article

Image may be NSFW.
Clik here to view.

Help generating growth algorithm from multiple points

Hi, I am new to python (started last month for class). I am unsure of how to combine my scripts together. I am trying to reproduce a growth algorithm from the points generated from my divided surface,...

View Article

Undo in Rhinoscript

Is there a Rhinoscript version of Python’s RhinoDoc.BeginUndoRecord and RhinoDoc.EndUndoRecord commands? 2 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

How to save an image from ETO?

Hi @dale Do you know how I save out an image from the ETO? I have a script that makes a sunstudy, but I could not figure out how to save that to a JPG or PNG. It’s based on stuff from here github.com...

View Article

Abcdefghijkl

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

Cannot disable redraw in Rhino 6

Hi, I have a script that disables redraw for speed while it creates geometry, then enables it again afterwards: import rhinoscriptsyntax as rs rs.EnableRedraw(False) …do stuff… rs.EnableRedraw(True)...

View Article

Image may be NSFW.
Clik here to view.

Rhino.ReadTextFile command mystery

Hi everyone, I have a little mystery here… The above code is my way to check that when I use Rhino.ReadTextFile I do get an array of text lines (arrText)… and usually it is the case. But sometimes,...

View Article


rs.OffsetCurveOnSurface() doesn't work the same as Rhino.OffsetCurveOnSurface()

While Rhinoscript method would offset the curve and extend it to the edges, python rs method would NOT. Ok, fine, let me just run rs.ExtendCurve(crv, 2, 2, [srf]) with the surface as a border. Nope,...

View Article

Where are the Monkey editor window co-ordinates stored in the registry

This is such a pain… You use two monitors put Rhino on the left Monkey on the right, go home, only have one monitor, can’t see Monkey editor. Can anyone tell me where the window coordinates are...

View Article

Distribute Macro

Looking for a little help on a Macro that set the Gap Spacing to .75 Everything works as it should but It’s not setting the Gap Distance Value. Could I a please get a little help. I’m just not using...

View Article
Browsing all 5777 articles
Browse latest View live