Click on a panel button with Python script
@Milo wrote: Hi, I’m trying to click a button in a Panel of a plugin (it is a my plugin so I know the button’s name and ID) with a script written in Python. I searched in rhynoscriptsyntax but I...
View ArticleIssue with python editor
@ivelin.peychev wrote: issue_with_python_editor.gif868×368 275 KB Any ideas? I have tried resetting the system paths to the default, resetting the PythonEngine as well as restarting Rhino. All failed...
View ArticleIntersections between circles
@falola.yusuf wrote: Hello all, Please, I’m trying to write a script that checks for the intersection between inclined circles on Rhino and calculates the length. I tried using curvecurveintersection,...
View ArticleChange Index of an InstanceObject
@flokart wrote: Hi , I there a way to give a InstanceObject (InstanceRefrences) a Index. I tried the following but it works only for Name not for Index and I dont understand the Error...
View ArticleFillet size script
@DanBayn wrote: I’ve really been pushing our engineering department to think DFM (designing for manufacturability) and one of the issues that surfaces repeatedly is the fillet sizes used on a model....
View ArticleRhino.DimensionStyle(dimID)
@Asterisk wrote: Returns random previous dim dimstyle if dimension properties were manually overridden. Make a dimension of Style A Make a dimension of Style B Make a dimension of Style C Change...
View ArticleBatch Grasshopper Processing of Rhino Files
@a.nigam wrote: Hello all, I have a question about batch processing of DWGs. The logic seems simple enough but I’m not sure where to get started in terms of implementation. Essentially what I’d like...
View ArticleRhinoscript GetObjects() doesn't keep objects selected
@S_L wrote: I’m writing a command that selects two sets of breps. The sets are supposed to be mutually exclusive (can’t pick a brep in set 1 to be part of set 2). I can’t seem to make this happen by...
View ArticleDetail Layers Visibility RhinoScript
@rhorsefield wrote: One of the issues we struggle with is detail layer visibility, which has made it impossible to adopt Rhino as our primary CAD system. When you have 20 layouts with 60 details,...
View ArticleHow to make RhinoViewPort active?
@flokart wrote: Hi all, how can a Rhino.RhinoDoc.ActiveDoc.Views.Find("Top",False) be activated? Or is there a way to get the RhinoViewPort Object directly from RhinoView ? I need the Object from...
View ArticleMove brep edge with RhinoCommon
@S_L wrote: I have some faces from a brep that i can extract either as surfaces or breps. I am assuming I want to extract them as single-faced breps for this operation. Is there a nice way to move...
View ArticleHelp needed to develop a pointcloud script
@Mason wrote: Background: We work a lot with pointclouds at my office, our workflow is changing now. In our previous workflow, when we exported pointclouds, we could decimate the pointcloud when...
View ArticleProblem with empty arguments in function call - Syntax Error: Unexpected...
@nacho_bev wrote: Hello, I expect this is a very basic mistake but I can’t point it out, so I was just running some example scripts from python primer when I ran into this problem, when leaving empty...
View ArticleSurprise surprise, another Rhino 6 bug!
@Mason wrote: https://discourse-cdn-aws1.com/mcneel/uploads/default/original/3X/1/3/138be7c63184b2e8ea18b1646add73c499d384ef.mp4 script uses addaligneddimension in rhinoscript to add dimensions to the...
View ArticleControl Layout visibility with SetPerViewportVisible
@flokart wrote: Hi, to control the layout visibility by layers i tried the following code. import Rhino as rh for i in range(len(x)): PageView = rh.RhinoDoc.ActiveDoc.Views.Find(x[i],False)...
View Article[Python][Eto] Issues making a form modeless
@ivelin.peychev wrote: I took one of the examples and wish to make it modeless. As I understand modeless correctly it allows the form to run without locking Rhino. A very important thing for me....
View Article[python] Why Eto and not WinForms or WPF?
@ivelin.peychev wrote: Something I do not quite understand. Why is Eto chosen as “Recommended” instead using WinForms and/or WPF? Posts: 14 Participants: 3 Read full topic
View ArticleCalling a function from another GHPython component
@pragyagupta171 wrote: When I am coding, I sometimes break the code down in multiple files to improve readability. I am trying to do something similar in Grasshopper. So I have one GHPython component...
View ArticleBatch Scale Curves
@saucerdesigner wrote: Hello everyone. I’m wanting to scale all of the curves individually. I’ve been going through the Designalyze, Mode Lab, Jose Sanchez and Parametric House tutorials, but being...
View ArticleIntersection of Objects
@falola.yusuf wrote: I am trying to get the lengths of intersection of circular surfaces via python rhinoscrypt synthax. But I am getting a an error, below is my code and the error > def...
View Article