Polysurface - Obtaining sub-objects (surfaces / faces) (Python)
I know how to see the sub-objects (surfaces / faces) after getting a polysurface using Python. I have the GUID of the polysurface. How to I change the color of a sub-object (face / surface)? Are there...
View ArticleCreateFromSweep difference in GUI and Rhinocommon
The original curves. This is the result of Sweep1 from GUI button And this is the result of rg.Brep.CreateFromSweep() I’m wondering how to modify so it’s the same as the above one. 3 posts - 2...
View ArticleNew translate command
I couldn’t do it… copy move and scale . !! we need these operation 1 command. please edit under codes as run. or add new command rhino. thanks. +++++++++++ import rhinoscriptsyntax as rs def...
View ArticleScript help for Viewport toggle button
I don’t know scripting so I’m hoping someone can help he out here. I just purchased a 3D connexion space mouse and want to assign the right mouse button to toggle between perspective view and plan...
View ArticleTrying to expand the Easu_cut script with area
I’m trying to add two measurements /surface area and boundingbox area)to the Easy_Cut Python script, but I get a formatting error "ValueError: Unknown format code ‘f’ for object of type ‘str’ "…I may...
View ArticlePython - How to implement custom input of objects similar to Rhino
How do I implement Rhino.Input.Custom.GetObject to allow the user select multiple surfaces and/or polysurfaces. They need to be allowed to select groups and also allowed to select individual surfaces...
View ArticleHow is it possible to edit editpoints in Rhino common?
Hi @pascal and @stevebaer I am working on a script where I make a simplified offset of a 3D curve and I need to adjust the location of the new curve editpoints, but I have not figured out how, so I...
View ArticleScript not working in V8
I am using the attached script by Clement Greiner to numerize the vertices of a mesh. Since switching to rhino 8 the script is not longer working, instead I get this error message. Any ideas how to...
View ArticleWith Pyhton Script Model Space Scale Change
How to change Model Space Scale value with Python Script? Model Space Scale: 1 1 post - 1 participant Read full topic
View ArticleRhino 9 wip bug
the script editor in rhino 9 wip doesn’t works 2 posts - 1 participant Read full topic
View ArticlePDF by python script ignores Japanese text in Rhino 8
Hi. I have a Python script to export a Rhino layout to PDF. In the script, I add some text to PDF page. It works fine in Rhino7 both with alphabet and with Japanese font. However, in Rhino8 Japanese...
View ArticleMatch 3D curve length
Hello, I have a list of curves that need to be matched according to the length of the longest curve. In the file the longest curve is 962mm and I need all the curves to be of the same length. Does...
View ArticleRhino.Input.Custom.GetObject - Surfaces vs Faces Indexing (Python)
Using Rhino.Input.Custom.GetObject. Filtering by surface and polysurface. When the user selects a single surface within a polysurface, the GeometryComponentIndex.Index is returned as a number > -1....
View ArticleSelect objects that intersect
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleUsing Python Stubs in VSCode?
Hi, I am wondering about the correct usage of the Rhino-Stubs within an outside IDE when writing Python? Specifically, VSCode. I am able to pip install the stubs just fine, and they are mostly...
View ArticlePersistent Object Info Window?
Hi all, Anybody have a script (thinking Eto maybe?) that could keep a persistent (option: Docked) ObjectInfo window open? Current reason: See continuous info about objects’ surface degrees. Thanks,...
View ArticleWay to fire a command without it adding to the undo stack?
Hi there, As the title says, is there a way to fire a command without it being recorded in the undo-stack? I use a custom command SetTargetToCursor quite frequently: CommandTracker shows I’ve used it...
View ArticleHelp with ghpython
I have installed python3.10,vscode,and use pip install rhino-stubs.but i can only ‘‘import rhinoscript’’,‘‘import rhinoscriptsyntax’’,can’t “import Rhino” 2 posts - 2 participants Read full topic
View ArticleIssue: RH8 rs.TransformObjects() makes object attributes disappear
Hi There, I am using a mechanism in my scripts that goes down the block tree recursively and executes a function on each object. When I create copies of objects that are children of linked blocks,...
View ArticleProblem on importing numpy on GHPython (RH8)
I got this issue when trying to import numpy. I was able to use the numpy library for Python3 on Rh8 but isn’t working anymore. The reported error message is this: " 1. Error running script: Error...
View Article