Need help on changing eto table value NumericUpDown
Hi everybody. i am finishing my explodeview script. but i want to add the function that when i change the value without pressing ok in the eto panel, the display on rhino will also change. According...
View ArticleInserting Values during command sequence with Scripted return value
Sometimes when one uses a command there might be a few steps before getting the result. One of those steps might be entering a numerical value. ‘Playing’ around with formulas during one of those steps...
View ArticleOSX Python editor - Atom replacement
As you might have seen, the Atom editor has been discontinued and can no longer be downloaded or used. I had been using it on my OSX Rhino for python coding as I find it much faster to code with than...
View ArticleLost in Python - rhinoscriptsyntax
Hi, I must be really dumb but something here just evades me. I want to define a vector in a python script. I literally copied this line from here import rhinoscriptsyntax as rs vec =...
View ArticleLock/unlock grasshopper solver
Probably a noob question… I built a small interface with RCP, but GRASSHOPPER slows rhino down a lot, So I think of a button that executes RunPythonScript(…) that locks/unlocks the solver. I believe...
View ArticleModifying object properties efficiently
Hi, I am trying to change the object properties like Layer, Display Color, etc. but I want to keep some properties stay same. So, I cannot use MatchObjectProperties Method because it will change all...
View ArticleMoving Objects to Layer with Button, Selecting Layer Objects with Button
Hello, I want to add a property to a button. When I left click on the button, I want it to move the selected objects to the layer named “SAMPLE”. When I right-click the button, I want it to select the...
View ArticleGeometry.SubD.CreateFromLoft not being affected by addCreases parameter
I’m trying to do a SubDLoft in grasshopper using Python as there is no grasshopper command for that. I have 3 curves I’m using for the loft and I’m baking those 3 lines in Rhino and using the SubDLoft...
View ArticleDoes not execute method
Hi All, def Sel_Ln(): rt, obj_ref2 = RhinoGet.GetOneObject("Sel Ln", False, ObjectType.Curve) print "sel_rtt" def Sel_Crv_Cls(): cc, obj_ref1 = RhinoGet.GetOneObject("Sel Crv Cls", False,...
View ArticleHow to print point's GUID & coordinates rhinoscript
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleRead MatrixGold file by python
Hey there, I use MatrixGold, I want to read the file .3dm or any extension by python or any programming language. I tried to read .ghx by python and it worked, but when I tried to export my design as...
View ArticleError module rhinoscriptsyntax not found
my code test is : import rhinoscriptsyntax as rs centerpoint = [1, 2, 4] rs.AddCircle( centerpoint, 5.0 ) I get this error : Traceback (most recent call last): File “C:\Users\User\Desktop\test.py”,...
View ArticleGH Python Remote can't install
Hey There, I am trying to install GH Python Remote, but just having a hard time. I installed the Python 2.7, and open the Windows CMD and Python (Command Line) and paste the code below based on the...
View ArticleIronPython is super slow on sets and dicts with wide spanned integers
Could someone please verify that the following code takes superlong in Rhinos IronPython: offset = int(1E6) array = range(100000) + [n + offset for n in range(100000)] set(array) Please note that: the...
View ArticleRhinoScript vs. Python Scripting
I was wondering if someone could suggest which scripting I should research for my purposes. I’ve able to write a macro that gives me tangent/perpendicular lines to a curve at specific point. But I am...
View ArticleModify script to remove trailing Zeros
I do have the following script that generates a cutting list and I need to modify so that the generated values to remove the trailing Zeros from the values. I do need 100.5 if it that is the result...
View ArticleXML camera settings
hi Guys i am trying to import xml camera settings, but not sure how the values would convert in the rhino camera settings can anybody give some advice? 1 post - 1 participant Read full topic
View ArticlePython CurveCurveIntersection on list finds less than CollisionManyMany
I need to test a list of many co-planar curves to see if any of them intersect with any other curve in the same list and return True/False values that I am feeding into a Python Script. I was using...
View ArticlePython scripts on Mac
Hello Everyone, I am trying to run python scripts on Mac against Rhino files and nothing works. It only might work if I am using builtin editor and run lines there (and execute them there). I don’t...
View ArticlePoints Polar in c#
Hi is there api for point Polar in c# If not ! We can create point by vectors // <Custom additional code> Point3d polar (Point3d bas, double ang, double offset){ var t =...
View Article