Trouble with creating silhouette outlines of solids with Python
I’ve had a lot of help in the past (thanks mainly to Helvetosaur) in writing a script which splits a solid into layers of constant thickness. Then it creates a silhouette outline on each layer from...
View ArticleRhino 8 - Importing Python 3 Libraries
Hi, I am having a problem importing python libraries (e.g. pandas) into the script editor. Importing libraries produces the following error: Traceback (most recent call last): File...
View ArticleReset Block Transformation Matrix
@dale I am trying to reset the transform of a block instance - the matrix highlighted in the screenshot below. I tried a mix of the following. Rest Block Transformations? Rhino for Windows Hi! Thank...
View ArticleImporting libraries for specific Python versions
I was trying to install ifcopenshell using the new script editor in Rhino 8, but ran into this problem. https://blenderbim.org/docs-python/ifcopenshell-python/installation.html The question: should...
View ArticleObject Dimensions OnSelect Script
To see the dimensions of a clicked object without entering a command. Is it possible? Select Object OnSelect Event Rhino.StatusBarMessage Object.Width Height Length Debth 5 posts - 2 participants Read...
View ArticleIssue with rs.DuplicateMeshBorder
Hi! Here is an issue I have with Rhino8 version of DuplicateMeshBorder, using IronPython for scripting. Here is what I get: The contour is shown in purple. Instead of having one closed contour, i get...
View ArticleJoin thousands of single meshes by layer
I’m having trouble with a script that helps me to simplify some sketchup files that we get from time to time in the office. Hundreds of thousands of individual meshes that I want to join by layer. I...
View ArticleGetting empty object Id from NewRhinoObject parameter
Created an extrusion in Rhino 7 and gets the ID for same and when we add a hole to that extrusion, the geometry turns into Brep geometry. resulting ReplaceRhinoObject event is triggered, providing...
View ArticlePython and matplotlib
I first tried to install matplotlib using Windows cmd, but after entering the code I got from GPT chat, I encountered the following error. Solution exception: No module named matplotlib.pyplot which...
View ArticleConversion from string to float
’ <’ not supported between ‘str’ and ‘float’ . And there is no option to change the input data type to float. And cannot change the data type in python also 5 posts - 3 participants Read full topic
View ArticleConvert Python to c# in Grasshopper-help
Hello everyone, I need help to convert THIS python Script to c# in Grasshopper(this script shows all the plugins and cluster and component used in the algorithm in the panel) i try it but get this...
View ArticleNew Script editor c# grasshopper show error in out
In the new script editor, how to display the list of errors in the Out output (params)? Same as old C# Components in Rhino7( grasshopper )(to convert all errors to text 1 post - 1 participant Read...
View ArticleHelp: Strange super slow scripting of make 2D python bug
Hi @pascal and @Helvetosaur I am working on some 2D tools (this is a small part that cleans up the data) and encountered a strange bug. Making 2D of this tree takes in top view takes 4 seconds, and...
View ArticleBest Methods to Navigate DataTrees in Python?
Hi, This is a general question on working with Grasshopper DataTrees using Python. Assuming that I have a DataTree with multiple levels in the path (is ‘levels’ the right word?), is there a good...
View ArticlePython 3.9 script engine cannot load properly
Hello everyone, I’m using grasshopper new python script component to import and use my custom python libraries inside grasshopper. At first launch of rhino everything goes smoothly and I can use my...
View ArticleBUG? Rhino 8.5 Opening ScriptEditor switches the file to ReadOnly
Following the update to Version 8.5.24051.15001, opening the ScriptEditor switches the open file to ReadOnly mode. This prevents the file from being saved, prompting the user to “Save As”. This only...
View ArticleAll files become "read only" with self compiled plugin
Greetings, I recently upgraded to Rhino 8 and found a strange and - at least for me - quite annoying behaviour. I assembled with the Script Editor a few scripts in Iron Python (they all work if they...
View ArticleCall is ambiguous... Curve.TryGetPolyline(...)
Dear all, i am trying to re-write a script from ironpython for python3: obj = rs.GetObject() if rs.IsPolyline(obj): points = rs.PolylineVertices(obj) if points: for k, point in enumerate(points,...
View ArticleSimple Python Scripts For Architecture
Hi There, I would like to start a discussion about what I perceive to be low hanging fruit problems that can exponentially help the base users with getting their work done. In particular simple...
View ArticleAutomate the Script Compiler?
Is there a way to automate the Script Compiler app (for Python and RhinoScripts), so we can have it open a project and compile it, without manually opening the compiler? Any command-line arguments...
View Article