Assign Material to Layer
HI, I’m trying to loop through a GH tree and bake each branch to a layer in Rhino with a particular colour and material. The materials are already created in Rhino but aren’t used yet, so are...
View ArticleFuga para fresa em Cut my on Ribs
Gostaria de ajuda para criar uma fuga para ferramenta no script Cut my on Ribs, para corte a laser ele fica bom, mas para corta em router cnc preciso de uma fuga para a ferramenta nos cantos para...
View ArticleSelected objects into list
Hi all, Lately I’ve been learning to script a bit in python and I’ve been trying to create a script that loops through the selected objects (polysurfaces) and puts a minimum boundingbox around each...
View ArticleEditPythonScript add content from Type Library
Hi @Dale, in the EditPythonScript interface, there is the left pane where we can see method entries for , rhinoscriptsyntax, scriptcontext, Rhino and Eto as shown below: grafik766×441 31 KB I would...
View ArticleHow to change the object's Name?
I can get the object name, but can’t change it… [NameProblem.3dm|attachment]NameProblem.3dm (5.3 MB) 2 posts - 2 participants Read full topic
View ArticleDetecting self-intersecting polylines (without the API)
Hi, I’m looking for a clever way to determine whether a polyline is self-intersecting or not! Screenshot 2021-03-30 at 11.18.32740×747 11.3 KB Is there a more clever way than comparing each line...
View ArticleFlipMatrix Python does not work? bug?
Hi everyone flipmatrix Python does not work? bug? Not defined in c # flipmatrix? import ghpythonlib as gh a=gh.components.FlipMatrix(x) flip matrix.gh (10.2 KB) IMG_20210330_234652_884819×574 53.3 KB...
View ArticleModifying geometry in blocks
Hi- Is there a way to modify an objects geometry while it is inside a block definition? I’m trying to clear the NGon list of meshes before they are exported. So far I have: filt =...
View ArticleHow to add multiple text in rhinoscript?
how to add multiple text in rhinoscript? 3 posts - 2 participants Read full topic
View ArticleSorting a list in alphabetical order
Hi, I’ve got the following script: import rhinoscriptsyntax as rs dot = [ ] dot = rs.GetObjects() for i in range (0,len(dot)): a = rs.BlockInstanceInsertPoint(dot[i]) b =...
View ArticleConvert file to 3DM
I’d like to batch convert various file formats to 3DM. Once I load the original file, RhinoDoc.ActiveDoc has all the data I need. But I see several ways to save the data as 3dm. I see SaveAs() and...
View ArticleImproving Panelling Script
Hi, I am trying to implement the VB.net code from Nathan Miller to Python. Thanks for sharing Simple panellings such as Quads or Triangles have been easy, but when it comes to Hexagonal has become a...
View ArticleHelp for BooleanSplit c#
hi everyone HELP FOR BooleanSplit C # I Need This API BoleanSplit is applied a few cutter simultaneously on an issue, not to act separately for each cutter, in fact, I want to take a result like what...
View ArticleRotating and moving an object simultaniously. Total Noob
Hello This is the first time I’ve ventured into scripting so please be overbearing for my novice question. I’m making some custom screw mechanisms and wanted to be able to look inside the screw whilst...
View ArticleRhino Crash with FilePdf.AddPage
Hi All, I have a script that we have been using successfully for a while now outputting a series of drawings. I am finding however that with the latest batch of models that I am running the script on...
View ArticleC# help for shell (access List)
Hi, SHELL, remove holes is the problem of accses list and are red, according to the previous method, but the redhead was red. Why? @Mahdiyar photo_2021-04-02_09-24-261145×596 51.5 KB shell-remove...
View ArticlePlay a sound with Rhino
Hello, We are working on an experimental project with Rhino, and we have an idea for which we would like to have your opinion. The idea would be to have a sound played according to an action in Rhino....
View ArticleSelect newly baked object by ghpython
hi, everyone. m new to ghpython, and trying to bake some geometry to rhino with attributes. after baking ,i want to select the newly baked objects. but i have no idea how to do that. please give me...
View ArticleHow to convert the data tree of curve using AddLoftSrf?
I want to make and loft arbitrarily selected curves from the data tree. But my Grasshopper & GHPython is showing two errors. This is GH data. loft_sample.gh (12.9 KB) 1. I don’t understand Runtime...
View ArticleAnalysing a surface for holes & cutouts
Hi all, I’d like to analyse a shape and identify some ‘shapes’ within it for CNC production. I want to find the shapes that are either rebates/pockets or holes to be drilled. The border is easy enough...
View Article