World/Cplane
@Cyver wrote: Hi , How to use Cplane coordinate instead world ? In my little example, arrPoint return world coordinate , how can i do the same for any Cplane ? I thougt something like that : arrPoint...
View ArticleRhinoPython script editor not initialising - Windows 10
@nickhwilliams wrote: This seems pretty stupid but I'm hitting a roadblock anyway. I have just upgraded to Win 10 (Home) and am have problems opening the python editor. Simply, the _EditPythonScript...
View ArticleOpen + execute saved PY scripts
@Lindy_Hayter wrote: Hey guys! Is it possible to (within rhino python) open and execute saved scripts? ie - run script: - open + execute script 1 (file path/etc) - open + execute script 2 (file...
View ArticleRhino.Command/ variables input?
@Cyver wrote: HI all, Can we use variables in Rhino.command ? I tried with the code below ( not sure about my syntax) the ID is returned as unknow command. How can i do ? possible ? Thanks. Call...
View ArticleHelp! This pycode does not work
@robinyss wrote: Hi, This pycode does not work,can you help me? import rhinoscriptsyntax as rs srf = rs.GetObject("select Extrude surface",rs.filter.surface) if srf: cmd = "_ExtrudeSrf _Pause S=_Yes "...
View ArticleAuto CurveBoolean question
@AlanGreyjoy wrote: So I have been trying to make a script to accomplish this task. I think pics would best show what I am trying to do. Before CurveBoolean BeforeCB.PNG670x742 5.98 KB Mid...
View ArticleFinding Angle of Rotation on Randomly Rotated Shape
@woxxy wrote: Hi there everyone So to preface I'm working entirely within RhinoPython and I'm attempting to align custom created randomly rotated shapes. To do this I'm trying to calculate the angle...
View ArticleRs.ComboListBox doesn't support double-click select
@Helvetosaur wrote: Just saw this - I'm surprised that it hasn't been noted before - if you use rhinoscriptsyntax method rs.ComboListBox(), you cannot double click on an item in the dialog to select...
View ArticleLooking for a function in RS
@AlanGreyjoy wrote: So I am digging through the api's.... I am trying to find a function that will do the following. Select multiple closed curvesRun some function that will measure all angles in the...
View ArticleInstalling Python Extensions
@loyer3d wrote: Hi! I'm having trouble installing a python extension. I've tried PIP installing to both the following directories and they install correctly, the files are there, but Rhino's Python...
View ArticleExport file from Python command
@sdaitzman wrote: Hi!! I'm writing my first Rhino command! I'd like to be able to run a command, select some objects, and have them open directly in Sketch for Mac. I've got every aspect of this...
View ArticleOpenCurve Centroid
@Cyver wrote: Hi all, How can i determine an open curve or non planar curve centroid ? CurveAreaCentroid work only for planar and closed curves, and i don't find particular methods for the rest. Any...
View ArticleOffset multiple curves Python
@brobes05 wrote: Hi, I am lost. Should I use a for loop to offset multiple curves? I don't understand how to allow a for loop to access each curve in a list sequentially. I am trying to use Python's...
View ArticleTrying to normalise the scale of two shapes of different sizes
@woxxy wrote: Hi there! So I'm attempting to normalise the scale of two shapes that have the exact same geometry (i.e. they're both rectangles) but they are of different sizes. I'm working solely in...
View ArticleEasy way to get an "average" curvature of a given curve?
@Helvetosaur wrote: One way I guess would just be to sample the curve with Curve.CurvatureAt() at a given interval and collect/average the results... Is there a better/faster way via higher math (that...
View ArticleGet String
@djnelson75 wrote: I don't see the rhinoscriptsyntax GetString() in version SR13. I wondering if something missing. Is there a place to look to see if the file is installed? Posts: 2 Participants: 1...
View ArticleHow to print a pdf from python?
@bobbyturban wrote: Hello, I would like to write a python script that prints a pdf without opening the printing window. I just need two variable settings: 1. size of the paper; 2. View/Window/Set...
View ArticleTry to open a file through python
@Freaq wrote: Hey guys, new to Rhino, and running into an issue straight away, been playing around for a while but jsut can;'t seem to get around it, I need to do a batch script to convert a set of...
View ArticleBBox on planar Object
@Cyver wrote: Hi all, I need to create a BBox on any Objects, i use boundingbox and AddBox, that's work on 3D Objects ( curves/Surfaces/polysurfaces) , but if my object is planar (2D) i can't , the...
View ArticleUntrim command available in Python?
@markgtaber wrote: Is it possible to access something like the Untrim command in Python? I want to step through a list of trimmed surfaces and untrim all of them. If not, any suggestions on how to do...
View Article