Quantcast
Channel: Scripting - McNeel Forum
Browsing all 5806 articles
Browse latest View live
↧

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 Article


GET 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 Article


Add 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 Article

Image may be NSFW.
Clik here to view.

This 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 Article

Select 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 Article


Difference 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 Article

How 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 Article

Multiple 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 Article


Change 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 Article


Put 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 Article

Help: 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 Article

Extract 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 Article

rs.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 Article


Difference 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 Article

rs.AddSweep2 unexpeted results

@bkassel wrote: The surface being created does not follow the rails noseRail1 = rs.AddCurve(noseOffsets) cLplane = Rhino.Geometry.Plane.WorldZXcLxform =...

View Article


Need 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 Article

Image may be NSFW.
Clik here to view.

RhinoScript 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 Article


Image may be NSFW.
Clik here to view.

Curve 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 Article

Image may be NSFW.
Clik here to view.

Batch 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 Article

Set 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
Browsing all 5806 articles
Browse latest View live