How can I replace a nested "Instance Definition" Object in C#?
I have library of blocks and inside my blocks I have others (a few hundred). I’d like to add something to a C# script I’m already running on the Instance Definitions, to swap out the nested blocks...
View ArticleDuplicating a series of mesh faces
Hi all, If I want to duplicate a certain series of connected mesh faces from an existing mesh (I have the indicies) without actually extracting them from the original, is the easiest way to just...
View ArticleCreating a mesh object via GUID
I was wondering if someone could clear up something conceptually for me. I have been scripting in Rhino for a while via python but strictly within the rhinoscriptsyntax space. When venturing into the...
View ArticlePython script command for creating an Arc using Centre,Start,Angle
Hello, Is there a rhinoscriptsyntax command that replicates the _Arc command using the Centre, Start and Angle option through the interface or will I have to use Rhino.Command? The only 3 methods I...
View ArticleUnwrapping Mesh Texture to 2D
Hello all, I am continuing through on a personal project trying to unfold meshes with texture from 3d to 2D inspired by Jarke J. van Wijk’s Unfolding the Earth: Myriahedral Projections I have figured...
View ArticleName automatically paste To Clusters input(outPut)
i need Scripts(pythons or c#) name automatically paste To Clusters input(outPut)in grasshopper (when ClusterInput connect to entrance of component) Can someone help me? 1 post - 1 participant Read...
View ArticleGet unique planes from mesh object
In the file below, there is a mess-h… Composed of 26 faces, some overlapping, some inverted normals. In a few seconds I can draw four 3 and 4 point surfaces to create the clean planar surfaces that...
View ArticleRedrawing Material UI
Hello All, I am fairly new to Rhino.Render.RenderMaterials and am wondering after changing a material’s parameters is there a command to Update the Material UI. I have tried...
View ArticleAutocad scr file in Rhino
Hello, Is it possible to use AutoCAD SCR script in Rhino? I have a script that places the orthoimage in the correct position in Autocad and I would like to achieve the same in Rhino. 1 post - 1...
View ArticleBest way to get mesh out of a Trimmed Surface
Hello, I would like to ask about the best way to get a mesh approximating a trimmed surface (so, not the underlying surface) created in Grasshopper. I thought about either using the render mesh or...
View ArticlePDF Import: "Embedded PDF fonts cannot be loaded"
I’m running an automated script that uses the command _-Import "filename.pdf" _enter When encountering certain PDF files I get this messagebox that blocks the scripts. I thought the hypen (-) should...
View ArticleRhino script - multiple sections by selecting multiple reference curves
Hello, Just wanting to know if there is any type of rhinoscript available that can produce multiple sections through a mesh by selecting just the mesh and then a series of reference curve for the...
View ArticleMultiple layer filters and adding a new column in layers
Hi, What i am trying to solve is that we can give layers a tag then you can filter the layers based on that tag and have multiple tags. Is it possible to add a tag colmn that shows under layers panel?...
View ArticleBest fit 2D points to closed curve
In the pic below I want to keep the extruded object in the same position and I want to automatically align / best fit the Blue points with the edges and at the same time take the red points with it as...
View ArticlePlacing the intersection point between two lines using rhino python vsc
I use this code to select two lines. Then I am trying to place a point in the middle of each line and a point in the intersection between those two lines. Also, is there any option to offset a point...
View ArticleSave multiple polysurface to individual obj file with batch script?
Hi! I have multiple buildings in one file, and I’d like to export them into individual files, each containing one building. Is that feasible in Rhinoscript? Many thanks! 1 post - 1 participant Read...
View ArticleView Capture Class ScaleScreenItems Property not working?
So I have created some text on screen using Render Text to Screen. When I run the View Capture Plugin I made, the image looks like this however The text on the screen are not scaled properly. Here is...
View Article[GH Attached] make the script runs multiple times for View Capture?
Bug.gh (11.3 KB) However, it didn’t create 13 jpgs with testing1,testing2,testing3…etc as I expected. I asked this before on this forum separately but I didn’t get any answers. So I created a example...
View ArticleSpecifying the distance between points in the row and the column
how to specify the distance between points in the row and points in the column at a grid. Also, how to change the placement or specify the placement of the starting point, which always starts the grid...
View ArticleIEnumerableList.duplicate(deepCop) when Transform?
var list = x.ToList(); var list2 = new List<Curve>(x); var w = new List<Curve>(); dynamic t ; for(int i = 0;i < x.Count;i++){ t = Rhino.Geometry.Transform.Translation(y);...
View Article