Undo recording in Python
@Nathan_Clero wrote: Hi everyone ! I realized that when I run a Python script, I cannot use an Undo command: rs.Command("-_Undo") To situate, I am trying to do successive boolean differences, and if...
View ArticleGET displayModeOverride for a specific object? [RhinoCommon python]
@vincentfs wrote: I am trying to create a shortcut that does three things: match Layer, match displayMode, and match mapping. I am able to get the first one done. However, for the last two, I don't...
View ArticleAdd favicon to htmlbox
@Keith1634 wrote: How can I add a favicon to my rhino htmlbox ? I have tried this in the header but had no luck yet: <link rel="icon" href="files/favicon.ico" type="image/x-icon"> Thanks,Keith...
View ArticleThis script does not work inflate polisurfaces
@vikthor wrote: Can somebody help me, gg.png997x483 73.8 KB It was great to create these shapes: Option Explicit 'Script written and copyrighted by Gelfling '04 aka David Rutten 'http://www.nurbs.tk...
View ArticleSelect intersecting surfaces
@rcmcdougle wrote: I have a large number of simple surfaces - some of which intersect. I need to select just those that intersect and hide the others. Any thoughts - Python or Grasshopper? Posts: 1...
View ArticleDifference between Objref and RhinoObjects
@vincentfs wrote: Hello. Could anyone here explain to me the difference between Objref and RhinoObject. It seems to me that rhinoscriptsyntax can coerce GUID into RhinoObject, but what is the point to...
View ArticleHow to shorten a curve by a given length in Rhino Python
@Jonathan1 wrote: Hi, I'am new to Rhino Python.I'm trying to shorten a curve by a given length. (More specifically cut the first 5 cm form a given curve.)I am able to find the cutting point by using...
View ArticleMultiple parameters and options in one command line with Python
@Jonathan1 wrote: Is there a way in Rhino python to address multiple dimensions or options in one single the Rhino command line?Like in a normal Rhino command where you for example have to define the...
View ArticleChange UserDictionary directly from Rhino UI [Python]
@vincentfs wrote: Hi everyone, I'm working on a job which requires storing persistent values to an rhino object and later do some calculation using these values. However, my team members do not know...
View ArticlePut RhinoScript Boolean in a Loop
@Clive wrote: Hello Everyone,I am stuck with The following code that is supposed to1. Take two curves within two separate procedures and make solid objects out of them.2. Draw a bounding CagEedit for...
View ArticleHelp: How to get distance with optional specific length?
@Holo wrote: Hi, I need the ability to get two points that define a distance but also let a user specify a length. It will be used to extrude a meshface, so the direction is set, so what I need is...
View ArticleExtract surface?
@Cyver wrote: Hey all, I' m trying to extract surface based on mouse click . it tried code below, but something is wrong, if i click on cube face, the face is extracted, but another one too, i got 2...
View Articlers.DeleteObject with object in locked layer?
@vincentfs wrote: I've found that rs.DeleteObject won't delete object in locked layer. Do I always have to programmatically check whether a layer is locked? It gets quite complex when the layer is...
View ArticleDifference between MeshBooleanDifference and BooleanDifference+Meshing [both...
@Nathan_Clero wrote: Hi everybody, Can someone tell me the difference between using MeshBooleanDifference and using BooleanDifference and then meshing the result ? When I'm doing MeshBooleanDifference...
View Articlers.AddSweep2 unexpeted results
@bkassel wrote: The surface being created does not follow the rails noseRail1 = rs.AddCurve(noseOffsets) cLplane = Rhino.Geometry.Plane.WorldZXcLxform =...
View ArticleNeed someone to write a script for resizing many files by same amount URGENT!
@Jonathan_Silva wrote: Hey there Rhino Community, I need someone to write me a simple script that will enable me to automatically resize many files by the same percentage. Someone please reach out...
View ArticleRhinoScript IsArc
@Tom_ wrote: There is an old unanswered thread: Rhinoscript IsCircle and IsArc methods Scripting I see that a tolerance argument has been added to the Rhinoscript version of these methods. We now have...
View ArticleCurve doesn't get selected in the loop
@Clive wrote: Hi,Can someone please help with this?Two separate functions generate 2 3D objects,The third function runs Boolintersection over them.The 1st curve is expected to be updated by...
View ArticleBatch Import/ insert 3dm or gf file objects
@Yang_Cao wrote: I plan to import around 100 3dm objects. I have an csv file that contains all the names of the objects and the coordinates that I want to insert of the files. Is there a way to batch...
View ArticleSet an expire date to a Ghpython Node
@Jack_Zeng wrote: Dear all, Does any one know how to set an expire date to a Ghpython node? After this date the Ghpython node won't work/process data any more. Cheers, Jack Posts: 1 Participants: 1...
View Article