Get 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 ArticleComo juntar dois ou mais Scripts
Olá pessoal, gostaria de saber como eu poderia juntar dois ou mais scipts para que rodassem um após o outro, sendo que entre cada intervalo eu adicionaria uma informação. 2 posts - 2 participants Read...
View ArticleFor loop works, but not if 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 ArticleRhino 7.0 Plug in compiler
In Rhino V7 how do you create a Rhino installation file for a plug in ? in previous versions of the compiler we used to get asked if we wanted an installation file but no choice in V7. I have compiled...
View ArticleDetermine the size of a detail view
Hi and Happy New Year, Is there a way to determine the actual size of a detail view in a layout. The size of the view as if you were to measure it. Thanks in advance, Eric 2 posts - 2 participants...
View ArticleRhino Command Script
Hello, I just started writing scripts and I thought it would be good to see the scripts of rhino commands to learn better. Is there a way to view the script for these commands? Thanks in advance 1...
View ArticlePython not able to find existing file?
Hello all, I have a whole load of files where a particular layer has to be deleted and placed into a new folder as a DXF. The odd thing is I had it working perfectly earlier however when I went back...
View ArticleCreate Surface from Points in Rhino Python, Message: expected...
I am trying to create a surface in rhino from points (x,y,z) usually from 3 or 4 for a surface from a citygml file. After a lot of research I found AddPlanarSrf() method does this job from curves, but...
View ArticleAppend text to end of selected layer
I want to create a button that will add some text to the end of whichever layer is highlighted. Keyshot lets you apply materials by layer using an automated tool based on layer name. So I figured that...
View Article