ExtrudeCrv apply this command to circle
Hi All, Please help me for below query, i have two circle which i want to apply ExtrudeCrv as below , in rhino python first image is 2D image which is need to convert as second image need rhino python...
View ArticleHow to set Hatch Background via script? (Pref Python)
Updating some scripts in Rhino 8, including ones that create hatches for numerous scenarios. I’d like to control the new ability to set Hatch Backgrounds, but I haven’t found an API reference to go...
View ArticleWindows app that includes Python API
Sorry all, this is a bit of a weird one to express in writing, but I used to have an app that was basically a vessel for all sorts of downloadable Documentation Libraries, including a...
View ArticleViewCapture differ from different computers/monitors
HI. I am using python coding to do view capture. But when my script run in different PCs/monitors (A and B), the pics that I exported is always different. Is there a way to view capture my viewport...
View ArticlePython 3 components in SDK mode don't output Grasshopper lists
Tested in Rhino 8.6 on Windows 11. I couldn’t log into the jetbrains youtrack page to make a bug report there. From a Python3 component in SDK mode, the code: #! python3 import System import Rhino...
View ArticleImporting ghpythonlib induces "Grasshopper breakpoint"
For some reason when I try to do import ghpythonlib I get the following error/warning message: If I click “Do not show this message again” it won’t appear again during that session, but if any of the...
View ArticleGH component attributes not accessible from CPython 3 components
I’ve noticed another quirk between Iron Python components and CPython 3 components. This is much more impactful, than having to adjust for types when returning a list. I don’t know how the internals...
View ArticleSurfaceEditPoints
Hello! I am trying to find the min and max Z values for points in the polysurface that are the result of a boolean operation. First I use ExplodePolysurfaces, then SurfaceEditPoints or SurfacePoints...
View ArticleHow to set, modify a mesh texture coordinates using RVB script
As the title says, is there a way to set, modify (make a new array and set a mesh object to) in Rhino script? If not, why not? A Work around? From a previous question, I find this Edit: For...
View ArticleUnable to access input parameter value with Python 3 in Rhino 8
I’m trying to use an old code example to rename a component’s input Name/NickName. It fails in Python 3 but works fine in Python 2: vd = ghenv.Component.Params.Input[0].VolatileData firstItem =...
View ArticleRhino 8 - rs.CloseCurve( obj ) does not close curve
Copy-Paste from the examples : import rhinoscriptsyntax as rs obj = rs.GetObject("Select curve", rs.filter.curve) if not rs.IsCurveClosed(obj) and rs.IsCurveClosable(obj): my_crv = rs.CloseCurve( obj...
View ArticleInterlocking Puzzle Script
Is there a script that creates interlocking puzzles as seen in the pictures? Is there a script that creates interlocking puzzles as seen in the pictures? 1 post - 1 participant Read full topic
View ArticleHelp needed: Eto GridItem does not have attribute 'Tag'
Hi There, I am trying to migrate my python scripts from py2 to py3. In my old python2 script I was able to capture an .Expanded event on an Eto.Gridview. In Rh8 python 3 I, get an AttributeError on...
View ArticleEnhancement request - rs.XformScale optional argument "Plane"
Currently rs.XformScale only allows scaling in the world coordinate system. There is a RhinoCommon transform method that allows scaling based on an arbitrary plane....
View ArticleNumber of Ngons vs mesh faces conflict
I wrote a script back in 2021 that converts Breps / polysurfaces into ascii data. This has now ceased to function. The script simply takes a brep/polysurface, checks if the faces are planar, meshes it...
View ArticleCreating a custom command with python SelDimLess
Hi, I am new to Python. I am trying to see if I can come up with a script for a command that selects any Dimensions that are less than a certain value (layout unit). I am not sure what went wrong here...
View ArticleRhino Python - Extract multi SubSurf and delete the originals
Hello everyone, I’ve been looking for a long time, but I can’t find the solution. I really hope you can help me. I want to delete some subsurfaces from a polysurface. But I want to be able to make a...
View ArticleUser interface - DialogBox Document User Text Key/Value
Hello! Is there rhinoscriptsyntax command accessible by phyton that can initiate DialogBox for key/value -adding new keys and values or changing existing ones? Thanks! Igor 2 posts - 2 participants...
View ArticleScript C# boundary surface
Hello, I’m trying to create a surface from a given closed curve in the GH C# component. I used Brep.CreatePlanerBreps method but it gives me a rectangular untrimmed surface rather than the surface...
View ArticleRunPythonScript first call is slow
_RunPythonScript takes up to 20 seconds to react on first call. This is when the PC was rebooted, or Rhino slept overnight. After the first call the reaction time is normal. The irritating thing is on...
View Article