How to get centroid of open curve?
@lqchinh wrote: In rhino or vb script how to get center of OPEN curve? Posts: 2 Participants: 2 Read full topic
View ArticleProblem in RVB Method GetPoints
@eddi wrote: Hallo, please help,why Method GetPoints raises Error when used in Loop ?LoopBug_GetPoints.rvb (955 Bytes)ThanksEdit: it's done Posts: 1 Participants: 1 Read full topic
View ArticleDynamic draw crash with interpolatedcurveonsurface
@Gijs wrote: In trying to get a feel for the working of dynamic draw, I have am mimicing interpolated curve on surface. sometimes rhino will crash after picking the first point already, sometimes just...
View ArticleRtree Insert\Remove
@powerpp wrote: Hi, i have difficulties in understanding the insert\remove mechanism of Rtrees in Rhino. Why do I need an index AND a point position to remove a point? And what is this pointposition...
View ArticleHow can I use python code for adding new environment?
@robinyss wrote: Hi,How can i do for this?I want to use python code made rhino environment panel ( _-EnvironmentEditor), New environment then Add HDR Light Studio environment,How can I write the...
View ArticleAtom and Git issue
@KlikOSx wrote: Hi Mac'ers After installing Atom editor on my EMAC (10.8.5 lion), it returns this message after attempting to install the Rhino-Python package. Failed to install rhino-python because...
View ArticleCurve On Surface with rebuild (how to solve preview interruption?)[solved]
@Gijs wrote: as an exercise, I've made a curve on surface script that rebuilds the curve while drawing, and gives the user the option to change number of points during the command.I've taken the...
View ArticleScript won't run in a button, but works fine in editor
@Holo wrote: Hi @stevebaer Do you have any idea why this works fine in the editor, but won't work in a button with -_RunPythonScript () ?Is import rhinoscriptsyntax as rs import scriptcontext def...
View ArticleRhinoScript vs. Python?
@Aaron_Clark wrote: Hey guys, total noob to scripting here.I want to start getting my feet wet, and was hoping for some advice on which path to follow - RhinoScript vs. Python.I understand that Python...
View ArticleAffecting input vs producing output
@lawrenceyy wrote: I have always wondered about this so I thought I would ask the forum. 1- How do you know when a command changes the input as opposed to producing an output? I usually expect an...
View ArticlePattern maker with dynamic preview
@Gijs wrote: I picked up this script that I once made in rhino script and enhanced it with new options and dynamic preview.I think the usage is quite self explanatory. There are a few more things I...
View ArticleArray between with dynamic preview
@Gijs wrote: The script below allows you to make an array of curves or poly(surfaces) linearly. Where ArrayLinear will make an array where you set the distance between items, this script will...
View ArticlePython variables and arguments best practices
@lawrenceyy wrote: I've gotten my fair share of the error: var referenced before assignment, so I wanted to know what is the best way to deal with global and local variables as well as when and when...
View ArticleHow to know what the default linetype name is?
@Willem wrote: Hi, I just found that the linetypes listed via rhinoscriptsyntax.LinetypeNames(), omits the linetype 'Continuous'.This appears to be the default, hardcoded linetype. Is there a way to...
View ArticleFloor generator script (work in progress)
@Gijs wrote: floormaker-01.jpg800x600 80.5 KB see script below for explanation """ floor maker script *** work in progress *** goal is to make something that looks like floor generator for 3dsmax...
View ArticleHow to convert surface or polysurface to mesh and save as .stl file?
@leonzhu211 wrote: hi, What I want to do is:S1. In Rhino1) get all the points data, such as coordinates, uuid2) get all the surface and convert them to triangleS2. Send all the data to serverS3....
View ArticleKeyboard Event handler for RhinoPython (RhinoApp.KeyboardEvent)
@Mr_Sinter wrote: Hi @ all, i was wondering how i can define a function or if-statement which is called or proceded when a defined keyboard button (lets say "esc") is hit? something like: import...
View ArticleClippingplane evaluates as a Surface
@Willem wrote: Hi, I just found that rhinoscriptsyntax.IsSurface() evaluates True for a clippingplane.Is that per intention, or an oversight? import rhinoscriptsyntax as rs clipping_plane =...
View ArticleCount surface edges with Python
@DanBayn wrote: Is there a method to count the number of edges in a surface? I would like to find surfaces that are circular, with only a single edge. Or maybe there is a better way to select surfaces...
View ArticleHow to get hold of referenced objects in a worksession
@Willem wrote: Hi, In python I cannot find a way to get access to the objects in a referenced file in a worksession.Any pointers to how to find existing references or the objects regerenced would be...
View Article