Shared ETO dialog
I have a non-modal ETO dialog which contains various tools for modeling, layouts etc… I often have several Rhino files open and have to open a new instance of the dialog for each instance of Rhino. Is...
View ArticleCircle Packing on surface in Python
Greetings, I was looking for a Python solution for circle packing on surface, or at least on a boundary. Most useful seems to be the VBscript written by Steven Janssen, which I translated to Python...
View ArticleHelp: Scripting mouse press and release events? (Sketch)
Hi, I’m working on a tool that lets you draw ‘freehand’ more precisely and with more control than the sketch tool. Certain posts in the forum require it: Sketch tool settings Sketch tool smoothness...
View ArticleNetworkX/ Grasshopper/ file name or extension is too long error
Hi, I’m working on a Python script that uses NetworkX, and I’m encountering an intermittent error: Error running script: [WinError 206] The filename or extension is too long:...
View ArticlePython Module Import Error Ctypes
Hi, I just updated Rhino 8 and am now getting the following errors: Traceback (most recent call last): File...
View Article[python] Can't scale breps non-uniformly?
I was unable to scale a brep. And I can’t tell if it is a bug or by design. It was very unexpected, though. The code below did NOT work. #! python 2 import Rhino.Geometry as rg import Rhino import...
View ArticleInefficient selecting script
hey, I want to select duplicate lines within a certain tolerance in Rhino and wrote the following script for that: import rhinoscriptsyntax as rs toleranz = rs.GetReal("tolerance in mm", 0.1, 0.001)...
View ArticleHow I can use preselected objects in scripts?
How I can make the following code to work with multiple preselected objects instead to ask-me to select an object? obj = rs.GetObject("Select object") if obj: rs.SetUserText( obj, "Key1", "0" )...
View ArticleSimplify the script using CurveBoolean command
Hi all, I have a code for connecting two closed curves with a bridge by picking two points on closed curves. However it seems code is very complicated and gives error sometimes. Would like to use...
View ArticleChange the colormode of ViewCapturetoFile
Is there a way to change the colormode of command “ViewCapturetoFile” ? So that I can choose to output a BlackAndWhite, PrintColor or DisplayColor? Colormode setting is currently unaccessible through...
View ArticleSetting HatchPatternFillType not working for Gradient?
Hi, I am trying to code some patterns and I am stuck at gradients. Somehow, I cannot set the FillType to “Gradient”, Solid and Lines work though (see...
View ArticleConnecting two closed curves
Hi all, I need help for a script for connecting two closed curves by adding small bridge curves… Here is the example; Select 1st object by clicking 1st Point, select 2nd object by clicking 2nd Points...
View ArticleRhino 8 ScriptEditor file tabs window feature missings
Hi @eirannejad, if you open more files in the ScriptEditor than fit in the file tab window size, you can do this, but you cannot access these files directly. You have to resize the window or close...
View ArticleRhino 8 ScriptEditor feature requests
Hello all, I opened this topic because the other design feedback topic is restricted to Grasshopper and I think a couple of features make more sense for the use case of the ScriptEditor directly in...
View ArticlePycharm_auto sync instead of trigger?
Hi all, I’m just using an old image from a different question that I didn’t get an answer to. Anyway… Recently, I came across with this topic I saw that by using VS Code it automatically syncs the the...
View ArticleHow to open unsafe mode in C# for grasshopper
Trying to use pointer in C# for grasshopper, but it seems that Script Editor doesn’t have a unsafe mode button like VS Studio, and it is a failure to add “unsafe” before using pointer. So how can I...
View ArticleConnecting two closed curves
Hi all, I need help for a script for connecting two closed curves by adding small bridge curves… Here is the example; Select 1st object by clicking 1st Point, select 2nd object by clicking 2nd Points...
View ArticleRhino.FileIO.File3dm.Read problem
Hi there, i’m trying to import a named mesh object from a file using: f = Rhino.FileIO.File3dm.Read(file_name) If i query eg. f.Objects.Count it gives the right amount of objects in the file. However...
View ArticleResult Split Brep with Curves in RhinoCommon
Dear community members, i am trying to project a text on brep and split it. instead of projecting or pulling i found that Rhino Common command Brep split works well....
View ArticleCaptureToBitmap not working in new Python in R8
I made python script for create picture from rectangle. It works in old python. But not in new one. Can you help me please guys ? printscreen.gh (278.3 KB) 1 post - 1 participant Read full topic
View Article