Layer by object color
Hi, I have a problem with a model that I imported in Rhino: all the meshes are on the same layer and I need to divide the model into different layer, based on the objects colors. It’s pretty simple:...
View ArticleRhino crashes while import OPCUA bib without any error message
Hey there, i am trying to automate the process of creating G-Code with the RhinoCAM2023 PlugIn with Rhino7. First i tried to do this with Rhino8, but there are problems in the communication to the...
View ArticleGet world point from detail, need help
Hi guys, (@pascal) I am trying to get a point’s world coordinates by picking it on a detail. I found a way to get a point, check if it is within a detail, get the details PageToWorldTransform, but...
View ArticleCpython crash
Running this script from with ScriptEditor with a seleceted simple mesh crashes rhino silently remeshing.py (1.4 KB) 2 posts - 2 participants Read full topic
View ArticleA Student's Apporach to Rhino for Architecture
Greetings, I’ve been developing a personal tool to allow me to only use Rhino to designing architecture. This post is both to ask for feedback on the idea/approach and the possibility to help someone...
View ArticleRhinoCommon: unable to get RenderMaterial of object
Hi all, In a python script I’m trying to retrieve the renderMaterial of an object, but it seems I’m not doing it right. This returns an error: import Rhino objTypesFilter =...
View ArticleRtree methods for diagonal paths
I’ve been working on a pathfinder algorithm that finds the shortest path between 2 points through a given point cloud. For the most part it is working as intended but I noticed a weird behaviour that...
View ArticleProject objects to surface
Hi Guys ive been looking everywhere for a script that makes it possible to project and object or multiple objects onto a surface. The “projectobjects” from pascal golay kind of works except it makes...
View ArticleSetScale method is broken in Rhino 8
Hi, I used “SetScale” method in rhino 7. It worked fine. In rhino 8 it does not set the scale anymore. https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.detailview/setscale You can see the...
View ArticleRhino 3 Script Anatomy, 3.1 Programming in Rhino—wrong image
In the pdf you can download the image is correct (first below), but online it is different and not what is explained in the text (second below) correct image in pdf incorrect image on website (Rhino -...
View ArticleAutomate process
Hi all, I am working in 2d DXF files. Can i get a script to do these steps to every file in a folder? Join all Get X and Y dimension. Count curves Get total inches around perimeter Get total inches of...
View ArticleAdding options to a custom command in Python
Hi all - I’m looking for a pointer or an example of using command line options in a custom command. I’m sure it is out there - I just can’t seem to find it! In the Rhino Python Editor I used...
View ArticleWhat determines the order of buttons in a toolbar?
Hey guys! As the title suggested - what determines the order of buttons in a toolbar and how this can be modified? I created, with the help of the new Rhino8 Scripteditor, a Rhino Package with some...
View ArticleNot a polyline curve. Type received:
I have been trying to make a python script in Grasshopper with chatGPT, be we don’t seem to be able to solve a problem with an input. I have made some grasshopper scripts, but I don’t really know...
View ArticleBest solution to run async python scripts from C# plugin
Hello, I’ve been wrapping my head around calling custom python code from my C# Rhino plugin asynchronously. To explain the setup, I want to launch from a C# Rhino Command some piece of python code...
View ArticleMaking clickable icons through the display pipeline
I wish to be able to show icons in my Rhino Viewport and when I click on the icon a text box (or similar appears). I want to use this to show warnings in a model and only when the user clicks the...
View ArticleSelect profile of 2d drawing
Can someone give me a script to select the outside profile of a 2d part? 2 posts - 2 participants Read full topic
View ArticlePython script
Hi, What does COM is not supported mean for the last line of my script: if (run): write_members_to_excel(filePath). If I alter my script to: …if (run): …write_members_to_excel(filePath). I dont see...
View ArticleHow do I remove edges and join them?
How do I remove edges and join them? I would appreciate it if you could let me know the problem. Please correct it. import rhinoscriptsyntax as rs def create_fillet_rectangle(): # Define the points of...
View ArticleUnable to import Treehelpers in GhPython
Hello there! I am facing this issue while importing ghpython.lib treehelpers in ghpython. Any ideas about how to resolve this…? Many thanks for considering my request. 2 posts - 2 participants Read...
View Article