Quick covert the enclosed curve to planarSrf inside the block
I need to input dwg with lots of blocks in rhino. the block always consist of enclosed polyline, polyline and single line. is it possible to convert the enclosed polyline to plannar surface quickly? 1...
View ArticleHow to extract "Visible Index" in RhinoCommon HiddenLineDrawingSegments
Hi Does anyone know how to extract the "Visible Index " for each visible curve like the Make2D component , this for further branching retrieving in the “flatten” Make2DFlatten scripted make2D...
View ArticleSort Points by x or y in C#
Hello all! I am just beginning to learn the very basics of C#. I made an arbitrary curve and placed points on it at regular intervals, now I would like to sort these points and connect them with a...
View ArticleFinding point coordinates / location
My code (“obj” is a valid Guid): bb = rs.BoundingBox(obj) result = rs.PointDivide(rs.PointAdd(bb[6], bb[0]), 2.0) According to the documentation this returns a point. rs.IsPoint(result) returns False...
View ArticleQuestion about using DrRacket as a front end and Rhino as a backend with the...
Hello there, To Whom It May Concern: I am working along with a book titled “Programming for Architects”, it uses DrRacket as a frontend and Rhino or AutoCAD as a backend, right now I am on section 3.3...
View ArticleHow to get bottom surface of a closed extrusion geometry?
How can I get the bottom surface of a selected geometry? Thank you 4 posts - 3 participants Read full topic
View ArticleHow to create pipe using grasshopper python(tree growth truck thickness)
Hi all, I am trying to add thickness to the tree growth script i just developed, however I cannot figure out how to create a thickness(pipe) around the lines I created, I tried with the...
View ArticleGet plane-aligned flatbox of a triangular mesh face in GHPython?
Hi, I’m purposfully trying to get the plane-aligned flatbox (bounding box of no volume) of a triangular mesh face. This turned out to be far more challenging than expected! import Rhino.Geometry as rg...
View ArticleCreateBooleanUnion returns a boolean difference?
Hi All I’m new to c# and rhinocommon and am working my way through some of the functions to get some practice. I’m having a problem with one particular case of Brep.CreateBooleanUnion- it seems to...
View ArticleQuickly select the outline of objects?
Hello. I want to know. There is a “script” that quickly selects the outlines of objects. I have a lot of objects that need to be contoured. image927×736 5.63 KB 1 post - 1 participant Read full topic
View ArticleRunScript and MRU
Hi, I want a script to execute a command and show it in the mru popup menu. For the moment RunScript seems to be invisible to mru. When I run : import Rhino Rhino.RhinoApp.RunScript(‘ze’,...
View ArticleWriting a Rhino Script / Modelling help
Hello, I work as a kitchen designer and create a lot of kitchen cabinets in Rhino. we often use the same design of unit in different measurements so I have been using Solidpt to stretch the unit to...
View ArticleCollatz Conjecture Python Script
Hi all I am trying to learn Python and decided to try making a script to visualise the Collatz Conjecture as a study exercise. I somewhat succeeded in generating the branching lines I was going for,...
View ArticleDots from object name
Hi everybody! I have a monotonous process that I would like to automate a little Gemstones have different names and I have to create a dots and write there from “object name” for each stone Can anyone...
View ArticleTypo in the documentation
I don’t know enough about coding to know if this will cause a problem for someone or not, but I came across the following, in which ‘local’ gets some characters reversed:...
View ArticleSplitBrep works, but not when inside another for loop
I am new to Python, and I feel like I am missing something basic. Forgive me if that is true, but please point me toward something that explains the concept because I have been trying to work around...
View ArticleEquality Bug Grasshopper and C#?
EqualityBug.gh (17.6 KB) Hello Rhinoceros Forum! I do not understand the behavior of equality in this script: if (two vectors are perpendicular to each other) { the dot Product is equal to 0 and the...
View ArticleWhere are named selections stored? Access via RhinoCommon?
In the API docs, in Rhino.DocObjects.Tables, I see these guys: but no NamedSelectionTable Class. A search for NamedSelection or even just named or selection does not reveal anything having to do with...
View ArticleRotate multiple text objects
Hello, I am using Rhino 6 to prepare nesting files to cut Aluminium sheets of 6x2 meters and we are able to print text on these plates, but only 0-90-180-270 degrees. A typical sheet has +/- 100 texts...
View ArticleRhinopython report error
Hi guys, I am a beginner of rhino python. I tried to use python to generate a polygon, but the script didn’t work well and report the following error.I have no idea which part of my script wrong....
View Article