Rhino.WriteTextFile can no longer create a file?
@Asterisk wrote: If yes, was R5 bugged all that time? It was a good bug… RIP. Posts: 7 Participants: 2 Read full topic
View ArticleWorking script to create metric bolts on the fly as block items (but some...
@Gijs wrote: addBolt.jpg790×461 55.5 KB addBolt.py (10.7 KB) Attached is a working script that adds metric bolts (hex, flat head, socket allen, M3 - M8). I wrote this mainly as a coding exercise....
View ArticleHow to use Rhino.DocObjects.ObjectEnumeratorSettings.ObjectTypeFilter?
@ivelin.peychev wrote: def GetEmAll(select=False, include_lights=False, include_grips=False, include_references=False): selection_settings = Rhino.DocObjects.ObjectEnumeratorSettings()...
View ArticleExtrude Mesh script
@Holo wrote: Hi guys, are there any fast ways to extrude a mesh similar to gumballdrag+Alt a mesh in Rhino? I have made a script that extrudes a mesh in the Z direction with a given distance, but...
View ArticleDo users have the power to re-assign uuids?
@ivelin.peychev wrote: I understand that objects when moved are deleted and recreated, and their ID is being copied. Can I do this from python? Getting the id before deleting an object and assigning...
View ArticleGet unique mesh edges in GHPython with rhinocommon?
@p1r4t3b0y wrote: Hi, Is there a way to get the unique mesh edges in rhinocommon, without duplicate edges. I currently construct the mesh edges for each face, from the face vertices. result =...
View ArticleI made a Python script error that crashes the nvidia display driver :/
@Holo wrote: Hi @jeff I managed to wrongly call a definition into another definition (instead of the result of the first definition) and this resulted in a total nVidia driver crash, but only on the...
View ArticleTrimmed Surface type?
@ivelin.peychev wrote: For some reason I cannot get trimmed surfaces with selection_settings.ObjectTypeFilter = Rhino.DocObjects.ObjectType.Surface What is its type then? Brep? issue_unroll.3dm (168.0...
View ArticleExport line with a name from Rhino to AutoCAD
@cotoc_george wrote: Hey there, I’m currently working on a script which does a intersection of a surface with other surfaces that are stored on a layer(Surfaces4intersection). The surfaces from the...
View Article[python] text edit
@ivelin.peychev wrote: How do I find text by uuid and edit it with python? not TextObject, just Text Posts: 9 Participants: 2 Read full topic
View ArticleImport rhino objects into rhino by groups
@flokart wrote: Hello, when i read a rhino file with a = Rhino.FileIO.File3dm.Read(x).Objects how can i filter these objects by group or better how can i import a group of geometry objects to rhino by...
View ArticleRhino script change selected objects variables
@bigonethegod wrote: I am new to rhinosrcipt and i am trying to create small script that changes attributes of selected blocks objects. That is how i see this but it didnt work out) arrObjects =...
View ArticleDifference between Attribute user text and Geometry user text?
@ivelin.peychev wrote: Could anyone explain to me what is the difference? taken from here: https://developer.rhino3d.com/api/RhinoScriptSyntax/#collapse-IsUserText Posts: 3 Participants: 2 Read full...
View Article[question/wish] UserText value types?
@ivelin.peychev wrote: I remember bring this up a while ago but I do not remember the thread. Question: What kind of types are used for values in user text? string integer float dictionary tuple list...
View Article[Question / Issue] Rhino.Geometry.Surface.GetSurfaceSize
@ivelin.peychev wrote: I am talking about this: https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Surface_GetSurfaceSize.htm The description says it should give the main / gauge...
View Article[question / wish] additional option for scripted "squish" / "unroll"
@ivelin.peychev wrote: I wish it was possible when creating the flattened surfaces to avoid placing them overlapping one another. Posts: 11 Participants: 4 Read full topic
View Article[Issue] Rhino.Geometry.Mesh.Append.Overloads is missing
@ivelin.peychev wrote: I get an error: Posts: 3 Participants: 2 Read full topic
View ArticlePython testing in Rhino
@Dancergraham wrote: Hello all, Has anyone got recommendations for methods / frameworks to use in automated testing of python scripts (Rhino 5)? I have a small, growing, library of python scripts...
View ArticleHow to import a block object
@flokart wrote: Hi all, i try to import a block object from one 3dm file to another via rhino api but i had no success. has anyone any tip how i get accsess not only to the block but also to the...
View ArticleDelete command and importing other libraries
@cotoc_george wrote: Hello scripters, I need a bit of help. I have 2 questions. First question: How could I delete a command that I created in Python? And I observed that even I created a plug in, the...
View Article