Extrude curves in RhinoScript Editor
I’m putting together a script and what I want to do is the following. This will be part of a script that imports DXF drawings from a folder, joins the lines, creates a group, extrudes a distance and...
View ArticlePython Script input in grasshopper
noob here! im trying to input a python script from chatgpt to generate an image in grasshopper but when im pasting it said " Cannot edit in read only editor " please help 5 posts - 3 participants Read...
View ArticleDeveloping on Rhino 8, how to test Rhino 7?
Hey all, I’m developing a plugin on Rhino 8. What is the best way to test it on Rhino 7? Do I need to get both license? Thanks! 2 posts - 2 participants Read full topic
View ArticleAddPolyline
How do you add a Polyline to Rhino even if it is not valid? Rhino.RhinoDoc.ActiveDoc.Objects.AddPolyline(polyline) What I specifically refer to are polylines with duplicates points, I need to keep it...
View ArticleScriptEditor Commands order in a toolbar
When creating python command plugin via script editor, how can I define the order of button in a toolbar? 4 posts - 2 participants Read full topic
View ArticleImport Geometry
How can I import a complex STEP file, retain only the outer surface, and convert everything inside into a solid block? Is there a Python script to automate this process for large assemblies? 2 posts -...
View ArticleFitPlaneToPoints for colinear points does not result in 'inconclusive'
If you pass three or more colinear points or points in the same location to Plane.FitPlaneToPoints the FitPlaneResult shows “Success”. Shouldn’t that be “Inconclusive” instead? from Rhino.Geometry...
View ArticleTextEntity.RichText do not seem to support new line from RichTextBox
I am running into problems when trying to add new line using RichTextBox but not with Plane text. I have tested it in Rhino 7 (SR37) and Rhino 8 (SR17) TextEntity text = new TextEntity(); RichTextBox...
View ArticleA script to turn Zebra and Emap on and off
Hello, Could someone give me an alias for turning on Zebra and when it prompts you to select your object to have it select all and then to turn if off? I would really appreciate it. Thank you 3 posts...
View ArticleHow to Change Geometry with ETO Sliders (Without Crashing Rhino)?
I’ve got some scripts I made in Grasshopper that I would like to convert to Python/ETO forms so as to be more user friendly for people who may not be familiar with Grasshopper. I’ve run into a...
View ArticleNatural Curve Extension Bug
Hi there, I just got some issues when using the Rhi7’s curve extension function. When I extend the curve by ‘natural’ method to the boundary, the curve unnaturally looping around as shown in the...
View ArticleIs it possible to access Grasshopper abilities from a standard ETO form?
I’m not sure how to ask this. I’ve made a halo builder in Grasshopper and I would like to replicate its behavior in a custom ETO form. I’ve gotten started, but I’ve run into several issues. One of the...
View ArticleHow to turn off ground plane using python
Hey all, I don’t understand why the following code below will not turn off the ground plane for my rendering. Let me know if I miss anything. Thanks! settings = self.document.RenderSettings...
View ArticleRoll back previous release
Hi, I’m looking for a way to roll back to a previous release of Rhino8. Excecution of my scripts has become much slower recently, and I suspect this is related to rhinoscriptsyntax and rhinocommon API...
View ArticleHow do I change the annotated model space scaling ratio?
How do I change this value in python? 2 posts - 2 participants Read full topic
View ArticleGet Curve IntersectionEvent
Hi, Is there a way to get resulting curves from curve and surface intersection similar to SCX component by scripting? 2 posts - 2 participants Read full topic
View ArticleCommand doesn't work via package manager
Hey all, I published a plugin for my python command. However, after I install it, it doesn’t pop up the form like when I run the script via the ScriptEditor. I installed it via the package manager....
View ArticleHow to turn off ICurrentEnvironment.ForReflectionAndRefraction
Hey all, I’m getting confused on how to turn off the reflection in the current environment using Python for Rhino 7 & 8. I found the RenderEnvironment in...
View ArticleETO form Script Editor Python button with image
Hi, I would like to ask if someone could show how using eto forms create a button that has multiple buttons with images as a button background? Or if it is not possible, is there any example how to...
View ArticleAutomatically reassigning annotation style and dim scale
Hey all, New to scripting so fingers crossed this is a simple fix. The gist of what I’m trying to do is automate a process for taking old architectural details imported from CAD and reassign their...
View Article