Create a new layer from the name of part
Goodmorning, I need a script to create a new layer from the name of the parts. I need this to convert the trees of other cad to the layers of RHINO. Could you help me? 2 posts - 2 participants Read...
View ArticleThere is a way to group object by layer? (easy)
Hello, I need to gruop every object on his layer in a single gruop. (be carful: not in parents layers) selcect object layer–>gruop Do someone have a script? Thanks, 5 posts - 2 participants Read...
View ArticlePython code arc thru points by Mitch throws error in v7 solution?
Hi @Helvetosaur having successfully created button with StackObjectsAlongAxis.py by Mitch referencing the path to the .py as suggested I try to avoid coding errors. I then try for another this...
View ArticleWhat code or command for translucency option on ghosted mode?
Hi, @Helvetosaur I have a button that runs the .py file from Mitch (referencing it from a D drive location) what code needs to be added to offer a choice of translucency ? At the moment… I select...
View ArticleRhino.geometry namespace
So I’m trying to write a python script for rhino and when I use the rhinoscriptsyntax namespace everything works well, but when I use rhino.geometry nothing appears on the screen, even tough the code...
View ArticleIs there a way to measure time since last execution of a python/C# script
I essentially wish to have a C# or python component that does the following time_since_last_execution = time_now - time_when_this_component_was_last_executed time_since_last_execution > 10s:...
View ArticleGet Selected UserText
@Trav Is it possible to return the selected key/val pair in the ActiveDoc. Just as it would be done using this method for Layers?: LayerTable.GetSelected Method (rhino3d.com) Thanks, Dan 6 posts - 3...
View ArticleUpdate object when another object changes
Is there a way to link two objects, so that when one object changes another changes, as well? That is have some code run only on that object change (when it’s moved, scaled, changed material, changed...
View ArticleSwap a block in Python?
How would I duplicate ReplaceBlock? Do I have to just delete it and replace? 1 post - 1 participant Read full topic
View ArticleCamera Orbit Pivot command?
Is there already a command to specify camera pivot when orbiting? Sometimes when changing a view and trying to orbit the camera it may move by a large distance, because it’s pivot point is located far...
View ArticleHalf cut Notcher by Pascal gives error in V7 when as button
Hi, V7 what have I done wrong in turning this .rvb code into a button, as it gives error. The code I have is this, (tried uploading word doc then rtf and neither allowed.) see attached txt file...
View ArticleError in documentation?
The Rhinoscript guides are best software guides I’ve read. Easy to read, understandable and funny. Bit puzzled by this page:...
View ArticlePlanarDifference() does not work on NonManifoldMerged breps
Rhino.Geometry.Brep.CreatePlanarDifference does not work with disjoint (non manifold merged) breps. In the following (WIP) file: PLanarDifference.3dm (3.6 MB) If you run this code: import...
View ArticleA Create Outline or Silhouette from a Make 2d object
Hi all, when I take a 3d mesh object and use Make2d to generate a 2d object of it, like the attached Hospital Bed, is there any way to create an outline of it that I can then use to quickly hatch it?...
View ArticleExport stl with py script
Want to export object as stl file with incremental number and specific file location with py script please help 9 posts - 4 participants Read full topic
View ArticleAddExplodedInstancePieces without...adding the instance...pieces?
I’m using AddExplodedInstancePieces to get copies of block geometry to do some stuff with, is there an equivalent to this that doesn’t actually add the geometry to the document, so I don’t have to...
View ArticleJoincurves coplanar
Hi anyone may help me on a c# script? I am trying to create a script which will be able to joincurves which are coplanar and intersect each other… I have tried to use the joinCurves method but i don t...
View ArticleChat.openai.com and python scripting... a good teacher?
So… if you haven’t tested out OpenAI’s chat bot yet then now is a good time. I asked it this: Can you make a python script that randomly makes a string with number, small letters, big letters and...
View ArticlePartial border of combined curves
Hi all, I’m hoping to be able to script the following. Looking at overlaying multiple curves and creating a single curve that represents part of the border. In this example I have the profile of 3 x...
View ArticleGet viewport name as String with c#
How do I get the name of the viewport in c#? I am working on a grasshopper plugin and would like to write it in c#. GetViewNames.gh (11.3 KB) In the case of python import rhinoscriptsyntax as rs a =...
View Article