WinForms: Button EventHandler for GetObject
@stevefuchs wrote: I spent all day methodically piecing code together to make a valid attempt at a user interface for a simple script that pipes surface normals. I'm stuck trying to "GetObject" by...
View ArticleSplitting a closed curve in two places not at start/end
@Helvetosaur wrote: Hi all, I can't figure out how to do this in Python/Rhinocommon - I have a closed 4 segment curve which I need to split in two places, neither of which is the curve start/end...
View ArticleA VB script for generating G-Code from a curve. Need help
@0netech wrote: Hello there! Let me present first some scripting I've done over a couple of weekends. The idea is to use a curve to generate a turning-like toolpath for a 4-axis CNC machine. It cuts...
View ArticleGhpython add recursive boxes
@maiabdelsalam wrote: Hello,Plz I need to add a box extruded from a recursive squares I found a script on Gh website and i would like to modify the script so that it is converted to a 3d recursive...
View ArticleRhino PythonScript commands slower than equivalent VBScript?
@Damien2 wrote: Hi everyone, First of all, I am using Rhino5(64-bit) on Windows 7. To give some background on the problem I am having, I have rewritten a VBScript using Python for Rhino (personal...
View ArticleConvert Vector to Polar Angle (Python)
@beezerlm wrote: I am trying to write a Python script that converts a vector to a polar angle on my current Cplane. For example: [1,0,0] = 0°[0,1,0] = 90°[-1,0,0] = 180°[0,-1,0] = 270° (or -90° would...
View ArticleCustomMeshObject and Python
@zhangyejun wrote: hello,mennoi followed to experience custommeshobject with python. however, encounter a problem with error message 'need public constractor'. can u help to take a look slight_smile:...
View ArticleRhino python equivalent to Matlab 'boundary'
@Cicero wrote: Does anyone have any suggestions on how to produce a polyline boundary from a set of points, much like Matlab's 'boundary' function? It's important that the result is not...
View ArticleRhino Help in EditPythonScript for Mac
@jpteal wrote: Apologies if this has been asked. But I am using Atom to create and run scripts on OSX. This is working very well with autocomplete and help for the specific function being called....
View ArticleGetPoint.OnDynamicDraw with dynamic display within?
@dveenendaal wrote: I was trying to get a dynamic display within Rhino.Input.Custom.GetPoint.OnDynamicDraw. The point would be to include an iterative process dependent on the mouse position, and show...
View ArticleSet CPlane with Script, and back to World again?
@RIL wrote: Q: Is it possible to set, with a Python/VB script a Construction Plane to be used by Grasshopper (and by custom made Script components in GH), and restore back to Word again? I will need...
View ArticleSetting layer "states" of block instances
@wynott wrote: So basically the functionality I'm looking for is to be able to use a single block instance, for example, a "generic" door. So kindof have one block with layers for open/closed, hinge...
View ArticleFun Project: Method for Projecting Custom Objects onto Surface
@Dean_Goldman wrote: Hi all, I am working on a project where I need to cover a form with a set of objects. I am covering a 3d scan of a hand in 3d scans of fruit. The parameters are such that the...
View ArticleAdd line perpedincular to existing line
@gsynetos wrote: Hello all, Probably an easy question regarding rhino.python but after a few hours I am still not able to do it.I have a slanted line and i would like to add line perpendicular to the...
View ArticleInvokeOnMainUiThread
@haerter wrote: I have created a script that set up an UI in the MainTread and listens to a TCPIP server with a TimerThread.On certain TCPIP commands I have to come back to the MainTread and execute a...
View ArticleEnableRedraw Python
@Jack_Perry wrote: Hello, I am using Rhino 6 WIP I have a few "rs.EnableRedraw = False" scattered throughout my program, and none of: "rs.EnableRedraw = True" However, Geometry is still being drawn to...
View ArticleRhino 6 WIP: PropertyListBox not working?
@Michael_Meyer wrote: Hi @dale, the PropertyListBox window from my Python script doesn't popup in Rhino 6 WIP anymore. In Rhino 5 it works. import rhinoscriptsyntax as rs def TestPropertyListBox():...
View ArticleDuplicate Textfields along with corresponding objects
@Benjamin3 wrote: Is it possible to duplicate a curve and text object (with a text field referring to the curve object name), so that the text field of the new text object, refers to the new curve...
View ArticleUppercase in commandline arguments
@Paolo_Acampora wrote: Hello, Rhino runs quite fine on our renderfarm thanks to the runscript option from the commandline. all the text is made lowercase though. This is not a problem with most of the...
View ArticleLayer naming different in Rhino 5
@shanew06 wrote: Hi, It seems that the Layer naming convention between Rhino 4 and Rhino 5 has changed.Is there a way to return only the actual layer name (via script commands such as LayerChildren)...
View Article