Put Python eto in a python file
Hi everyone, I am trying to put everything of eto script in a python file so that i can call them back as a module when needed However, rhino is terminated when i am changing the value of sliders on...
View ArticleMesh called back from pickle, not work for rs.projectcurvetomesh
Hello all, I saved a mesh as a .dat file using pickle and call back to a python component in rhino however, I found that the rs.projectcurvetomesh function does not accept the mesh file but when i...
View ArticlePython, GetOneObject - CustomGeometryFilter Exception
import Rhino import rhinoscriptsyntax import scriptcontext #offset_object #soft_edited_curve object, objref = Rhino.Input.RhinoGet.GetOneObject ( "Pick Curve to Offset and Soft Edit" , False ,...
View ArticleArc Orientation, clockwise or counterclockwise
How can I get the orientation of an arc with Python? like rs.ArcOrientation() Thanks 1 post - 1 participant Read full topic
View ArticleThe same script works in Rhino Python Editor yet not in GhPython Component
Hello! A Rhino/GH frequent user but python newbie here was working on a Python script that could fix broken text objects(for example one text object “33.6” breaks into two objects “33” & “6”; the...
View ArticleObjectColor nukes usertext
G’day everyone, A user has exposed my poor scripting skills. I’m just beginning the debugging and can’t see anything that looks to be responsible. A surface has thickness usertext attributed to it,...
View ArticleTurn string from usertext into plane object
Dear all. any suggestions how is can turn the string of a plane object into an actual plan object again? import rhinoscriptsyntax as rs objects = rs.GetObjects(message="Select polysurface ",...
View ArticleInvokeOnUiThread Python Example
I’m trying to run the r.RhinoApp.RunScript method to insert a block from an event handler. I am attempting to use r.RhinoApp.InvokeOnUiThread() function based off of other discussions I have seen in...
View ArticlePreview of line between two points picking
Hello, is it possible with python to have the dinamic preview of line when we pick the second point? like when you create a line in rhino… i would like to create blacks lines, with in entry the X...
View ArticleRhino Scripts Errors in Rhino 6
Dear Sir, This is to inform that im facing problem while clicking on assign materials when working in Rhino 6 Software as the below attached errors are getting displayed repeatedly and as a result...
View Articlers.IsPointOnPlane?
how can i test if a point is on a plane, is it with a distance equal to 0? Python Script please… rs.IsPointOnPlane not exist? 6 posts - 4 participants Read full topic
View ArticleHow to optimize PDF printing? SaveAS or -Print?
Hi guys, we need to optimize our PDF printing and are looking into options. When I use Print I want Rhino to use the layout as default file name, not Rhino’s filename, so I have a script that uses...
View ArticleGHPython: Construct Multiple Layered Data Tree by Filtering
Hi everyone, I’ve looked very hard to try and solve my challenge, and found a lot of good posts. But I cannot find this issue or tips to solve it. I want to build a data tree with about 4 layers. In...
View ArticlePythonEditor Wish: Double click written command to open help
@wim and @pascal when I type in python editor I often wish to quickly go the help for that command to see options and read up on the function. This help automatically pops up once “(” it typed behind...
View Articlers.WindowPick() randomly isn't "grabbing" some objects that completely fall...
Sorry for the quality - had to keep it under 20MB. The gist of an issue is there. It randomly won’t “pick” some objects. Rotating those sometimes fixes it. But that makes no sense in any regard. Also...
View ArticleCan somebody show example/syntax for ObjectTable.FindByWindowRegion Method?
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_DocObjects_Tables_ObjectTable_FindByWindowRegion.htm 2 posts - 2 participants Read full topic
View ArticleSwitching back to Topview
Hi there, I am able to activate a pageview without any problems. If I want to switch back to the topview I cannot find any documentation for that. I know that it’s in sc.doc.views but I am stuck here....
View ArticleCall Clipper from Python script
Is there a way of calling Clipper’s OffsetPolyline from a Python script, without using rs.Command()? Thank you 3 posts - 2 participants Read full topic
View ArticleRhinoscript EVAL function
I found a partial description of Rhinoscript’s EVAL function here: https://wiki.mcneel.com/developer/scriptsamples/eval BUT, I cannot seem to find any formal documentation of EVAL, such as input...
View ArticleThe most common tools used
Hello, I have a question: Is it possible to extract the data from rhino of tools that i use the most? I have connected an xbox 360 controller to my pc using JoyToKey - and would like to figure out the...
View Article