Trying to split a mesh into single undwelded faces
Hi Guys, I try to split a mesh into single faces. Is there a simple way? I tried a lot with chatgpt and the documents provided but i failed totally… this was my last attemp: I wanted to explode the...
View ArticleRequest: filename argument for ExportLinkedBlocks command
Hi there, i’d like to export all linked blocks to a folder using a python script. The command “-ExportLinkedBlocks” would do the trick, however it doesn’t take any arguments for filename. Could...
View ArticleScriptEditor Wish
@eirannejad I have two wishes for script editor Co-pilot for script editor. I guess a lot of people are spoiled in Visual Studio code using Github Copilot option. Is there any chance to implement in...
View ArticleDuplicating rhino breps in python
Edit: This question is based on a mistake and the assumptions in it abut which methods work are not true. Duplicate() does work for breps. DuplicateGeometry() works specifically for docobjects. Python...
View ArticleDealing with escaped characters when opening file
Hello, I’ve spent the last two hours becoming more frustrated with this… I read a string in from a INI file and it looks like this: 'C:\Temp\Junk\08 Folder\Whatever.3dm' The \0 is causing so much...
View ArticleScriptEditor pip needs to be upgraded
@eirannejad We are using pyproject.toml instead of setup.py files to build and install packages. This is the new and better way to install packages. Could you please distribute Rhino Python editor...
View ArticleSwitch layer visibility On/Off
Hi all. I do want to create a simple script to switch the visibility of the layer Default between On/Off running the same command. So if the layer Default is On when I do run this script, to switch...
View ArticlePYTHON print Format ou F string?
Hello, My python code, works great from the script editor using f string, but when loading the file from rhino (a button) only the old type “format” is allowed… Is it a bug, or something that is...
View ArticleTrouble running a python script
Hello, I was looking for a turntable script and came accross this wonderful script from Mark Wright that also exports as gif which is amazing but I can’t find out how to make those scripts work inside...
View ArticleRemove normals from single mesh face
Hi, my progress stopped understanding the rhino behavoir as i’m unable to remove normals from a mesh i have exploded into single faces. In the example file the explode is done on the left with a...
View ArticlePlugins built in 8 SR11 don't unpack python libs correctly
The other day I updated to Version 8.11.24254.15001. Until now, I was able to bundle python libraries inside of the plugin project in the ScriptEditor. When a Python 3 command was run, it would unpack...
View ArticleSorting an array of objects in Rhinoscript
I’m solving following issue. I have a set of objects (in my case 3 dimensional points) where I need to add some custom information to the object, measure the distance in Z axis from 0 and make a text...
View ArticleThe necessity of python.exe for non-Python 3 scripts
8.11.24254.15001, 2024-09-10 Continuing working on this problem, I noticed that python.exe appears in Task Manager - Details when any of the following is done (after starting a new and only instance...
View ArticleRhino 8 change Python 3.9 installation path
Hello, We have updated to Rhino 8 at our company, however our coworkers can’t use the new Python 3 scripts feature. When they try it, they get the following error message: Language Python 3.9.10...
View Article-ScriptEditor Run scripts not printing to command history
8.11.24254.15001, 2024-09-10 Save a script such as #! python3 print("Hello, World!") When executed from the Script Editor, Hello, World! is printed to both the Script Editor’s Terminal and Rhino’s...
View ArticleWhat's the best way to integrate with Rhino
Hey all, I’m interested in developing a plugin/scripting for Rhino in Python on macOS and Windows. Add custom properties(enum) for each object in the Rhino UI. Add a button some where to render each...
View ArticleInput type hints not working on RhinoCode
Hello! In the current version of Rhino on Mac (8.11.24254.15002, 2024-09-10) I can’t set the input types hint on the dropdown list. I have the same problem on the C# and Python RhinoCode components. A...
View ArticleBUG system.Data.ODBC is not supported
Hi, just update to 8.11.2425415001 2024-09-10 and my python script doesn’t work anymore. 2 posts - 1 participant Read full topic
View ArticleGet Polyline Curve from Polyline[]
Hi, How do I get the PolylineCurve from Polyline? In C# component, it returns a Polyline Curve object when using the GetNakedEdges() method from Rhino.Geometry.Mesh Thanks 5 posts - 2 participants...
View ArticleSetControlNetPoint issue
Hi, I have a problem when using the ControlNetPoint function on a SubD in C#. I’m probably doing something wrong, but I can’t figure it out. I found in the discussion that the procedure should be as...
View Article