RhinoScript Undo reset file parameters
@Niarni wrote: Hi all, I am a beginner in Rhino script. I made a script that explode every block and groups in a 3dm file and copy all the area of all the surface in an excel file. Then I would like...
View ArticleRelative path to install folder of plugin
@mpreisig wrote: I have created a plugin consisting of a set of python scripts. Some of these scripts are linked to commands that create specific objects, and other scripts are linked to commands that...
View ArticleGet layer of an object with rs.ObjectLayer(x) inside Python compnent
@Bogdan_Chipara wrote: I want to get the layer of an object inside grasshopper with Python component using import rhinoscriptsyntax as rs a = rs.ObjectLayer(x) Type hint Brep And I get 1. Solution...
View ArticleRhino 6 com object
@achelon wrote: Hello I have a problem to upgrade my vbscript routine from v5 to v6 here the code that works well with v5 Set objRhino = CreateObject(“Rhino5x64.Application”) If Err.Number <> 0...
View ArticleProblem in Rhino 6 scripting
@roberto.brondolo wrote: testing Rhino 6 automation i have found a new problem in this simple script: Option Explicit ' Run the subroutine defined above Call TestRhinoAutomation Sub...
View ArticleCan't run Command from custom Python Command in Rhino 6
@LasseK wrote: I have previously made some custom Python commands in Rhino 5, but when trying them out in Rhino 6, commands that calls commands in the Rhino Commandline doesn’t work anymore. Calling...
View ArticleExtractIso & RhinoCommand
@Cyver wrote: Hi all, As V6 have History on _ExtractIsoCurve, i’m trying to script this with RhinoCommand, but RhinoCommand still,for me, always a bit confused in writing method. With the Script...
View ArticleDeleting UserText Keys and data from a script
@philshapiro wrote: Hi, I’m a bit stuck I’m trying to clear objects of any keys and data associated through a script. I’ve tried to use the DeleteObjectData method frome Rhino Script but the keys are...
View ArticleEto Form Custom Drawable
@dks5254 wrote: I am trying to make a custom drawable control with python eto. However, when I call the function “SupportsCreateGraphics” it returns falls, and of course calling the CreateGraphics()...
View ArticleProblem with ProjectPointToSurface
@ruy.sevalho wrote: Hi there, I was writting a simple script to model a small boat and at some point tried to used the ProjectPointToSurface command. The projected points get created in the rhino...
View ArticleCurveSurfaceIntersection
@ricardo.eira wrote: I try use “CurveSurfaceIntersection” to detect if the curve is on surface. This line is outside the surface, and the command continues to return that the line is inside the...
View ArticleSeparating Layers into Different Files with Scripting
@owen.francis.long wrote: Can we run a script on a rhino file that can separate 1 file with 3 layers into 3 separate files? Posts: 3 Participants: 3 Read full topic
View ArticleTrim curve
@ricardo.eira wrote: Hello, There is some I am using rs.ExtendCurveLength for extend some curves at start and at end. Now I need to make a trim of a length with the trim command, trim at the “Start”...
View ArticleQuick way to create an alias by script?
@kleerkoat wrote: What would be the best way to make a script to create aliases quickly in python? specifically for mac thank you Posts: 2 Participants: 2 Read full topic
View ArticlePoint location relative to perspective viewport
@J11 wrote: Is there a way to find the location of a point relative to the 2D view of the perspective viewport? I understand cartesian coordinates and how to find the XYZ of a point in Top, Right and...
View ArticleLineLine intersection
@Takeshi_Fujiat wrote: Hi, there (‐^▽^‐) I’m trying rhino’s functions to consider introduction of rhino. For a kickoff, I’m trying to calculate a line-line intersection point, cause I’m ultra...
View ArticleCreate Layers from object properties
@loki wrote: By far not an expert in rhino but required in my line of work to access 3d files for templates, measurements etc. I run Rhinos on mac and problem I constantly run into is that designers...
View ArticleExtendCurve and bounadry objects
@onrender wrote: Hi, Is there a quick solution to get the only the closest boundary object’s ID that the connecting element has been connected ? As we can set number of objects in the boundary object...
View ArticleSplit Merged Edges of a surface at Tangents
@NavArch wrote: Hello, I’m looking for a way to easily split merged edges at tangents/Quad points. I use MergeAllEdges all the time but anywhere I have tangent edges (ie. Interior loop with fillets)...
View ArticleIteration over non-sequence of type Brep for rs.CopyObject
@Katsuya_Obara wrote: I am writing simple script to multiply the zones to specified height (z-axis) specified times. I get error Runtime error (TypeErrorException): iteration over non-sequence of type...
View Article