Scripting problem - custom filter - solid objects
@Helvetosaur wrote: When I have closed extrusions, the following custom filter does not let me pick the extrusions one-by one, but it does allow me to window select them... import rhinoscriptsyntax as...
View ArticlePython: preselected mesh face or edge
@Holo wrote: Hi, I am working on some mesh tools in python and have not found any ways to handle preselected mesh edges or faces, Is it possible? Posts: 6 Participants: 4 Read full topic
View ArticleSimplified geometries in OBJ exported files
@Frederic_Trastour wrote: Hi All, in a rhino script, I do batch export of objects into obj files. Some geometries are over simplified.Left shows object in Rhino, Right is exported OBJ file :...
View ArticleRhinoScript "PlugInInfo" get no value
@UtsMicke wrote: I want to know the version of the plug-in, but the bet for Rhino.PlugInInfoElement 3 missing Posts: 1 Participants: 1 Read full topic
View ArticleRs.AddText() cannot alter justification for short text
@Edmark wrote: I've would like to change the justification of a 1 or 2 character word, and am finding that I can't get it to work. As soon as I go to three characters or more it works fine. Here's the...
View ArticleMove group & export to dxf in Python
@siemen wrote: Hi all, I'm trying to make a script for moving and exporting a group of objects but I get stuck. I did a few tutorials on rhino python but am not completely common with it. What I want...
View ArticleScript for multiple PictureFrame imports at once
@MuseumDesigner wrote: Hi, this is my first foray into Python scripting. I learn best when I have a specific task i'm trying to achieve. I've installed Atom editor & the Rhino-Python package. I've...
View ArticlePerforated Metal Screen- Curves to Circles
@AlexPolo wrote: Hi All, I use this script written by Pascal many years to convert a Illustrator Circle to a Rhino Circle use it for creating perforated images in steel created on a CNC punch. The...
View ArticleTrying to write to REG_MULTI_SZ ( ClosedRuiFileList )
@Keith1634 wrote: In RhinoScript I am having trouble writing to a REG_MULTI_SZ ( ClosedRuiFileList ) I have followed the example from here:...
View ArticleRemoving curve grips within python
@Telfer_Scott wrote: I want to be able to automatically select and delete grips from a curve object using a python script, i.e. if two grips were very close together. The example below seems to fall...
View ArticleImport command with file name
@gideon wrote: I have several STL files that I sometime need to read into Rhino and I don't want to do it manually.How can I supply a file name to the import command in vbscript it will do it...
View ArticleRs.Command(_Insert) is losing object names
@Edmark wrote: I'm revisiting some code I wrote in 2013 for Mac Rhino, which worked fine at the time, but no longer works. . One problem I've isolated is that after I make this...
View ArticleTrying to create a rectangle at a given point.. failing hard at it
@AlanGreyjoy wrote: Hey guys. New to python and rhino, but not new to programming. I have been programming in C# in unity3D for the past 4 years now as a hobby. Got a job where they use rhino and...
View ArticlePython Automation
@Jess wrote: Hi All, @stevebaeris there a python sample for external automation?Like this: https://github.com/mcneel/rhinocommon/tree/master/examples/AutomationSample That way it would be possible to...
View ArticleImport utility error
@CADence wrote: Hello community, I am getting an error when I try to import the utility library. Is there a reason why it is not working? import utility Error: "Message: No module named utility"...
View ArticleRhinoObject.SelectSubObject Method
@clement wrote: @dale, i am trying to perform a persistent sub-object selection in a script using RhinoObject.SelectSubObject method, but cannot get a persistent selection of a mesh edge. Here is my...
View ArticleFile extension for RhinoScript
@menno wrote: There is an extension for Rhino VBScript, which is .rvb, but I'm wondering if there is a similar extension for plain RhinoScript. In other words, if I have a script like: _-Circle 0 10...
View ArticleWhere to report typos in rhinoscript documentation?
@mgi wrote: Every once in a while I come across typos in the inline docs or example snippets, where should I be submitting these for correction (GitHub, Discourse, Youtrack, etc.)? For example: In the...
View ArticleExtracting the sun azimuth angle
@juancarreras wrote: I need some python code for extracting the azimuth angle of a scene sun light without having to open the sun panel, ideally not even selecting the light but rather using a...
View ArticlePython Script use verry high amounts of RAM
@SmallChief wrote: Hi again, I have a python script that distributes Geometry over a model. As an input I take roughly 4000 surfaces and as an output I get about 2000 class instances where each one...
View Article