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

GetOptionDouble - 2 inter-related numbers

@Helvetosaur wrote: The goal was to have an upper and lower bound to choose simultaneously on the command line, rather than one after the other. The idea is that the user cannot input an upper bound...

View Article


Cull Both Duplicates

@ZweiP wrote: Is there any way to erase both duplicates (when 2 points are duplicate) of a point list? Just like:newpointlist = Rhino.Geometry.Point3d.CullDuplicates(points,tol) but only where both...

View Article


ViewRadius not working as expected

@krsnadas wrote: Why does ViewRadius not work as it is defined in the help files? I tried rs.ViewRadius(view= 'Front', radius= 10.0) and I get the following error message: "Magnify() takes at least 2...

View Article

Pandas in Ironpython

@Zita wrote: Hi All,I am trying to import pandas into rhino , does anyone have any experience in it? I have seen @P_Thon's similar topic about numpy...

View Article

Complete new to python

@amy wrote: hi, today is my first day working with python I got this message while running a script done by my instructor Message: Could not find file "" Traceback (most recent call last):IOError:...

View Article


Rendering object reflection/shadow without object?

@krsnadas wrote: How do I get a render output where the objects in the model are essentially not visible/hidden but their shadow and reflection on the ground plane are showing in a separate channel?...

View Article

Python - replace backslash in string - rs.documentpath()

@isvflorin wrote: Trying to replace the backslash character in a string obtained with the rs.documentpath() method. The string replace function will not work since the backslash is an escape...

View Article

Project to plane with projection vector

@Helvetosaur wrote: I seem to recall having asked for this sometime back, but my memory is failing me here... I would like to project some curves or surfaces to a plane along a direction vector that...

View Article


Arc Direction in Rhinoscript

@Hughes_Tooling wrote: How can you find the direction an arc is drawn. If you run this script and select either of the 2 arcs in the attached file you get the same answer. Option Explicit 'Script...

View Article


Image may be NSFW.
Clik here to view.

SHADOW GETTER 2 script

@petumatr wrote: Hi! A few months ago i downloaded script shadow getter 2 made by Pascal. It had worked great for some time, but suddenly - i see some fail note on my screen. Beacause Iam not neither...

View Article

BoundingBox incorrect for Sphere object in wireframe

@Helvetosaur wrote: The attached 3dm file has a full sphere in wireframe - that looks like an arc because isocurves are turned off and it has not yet been display meshed. Do not shade any views, run...

View Article

Curve segment info

@Hughes_Tooling wrote: What's the easiest way to get information on sub curves in a polycurve. Is using ExtractPolyCurveSegment to get a copy then deleting the copy like in the script below the only...

View Article

MaterialTable.Find not working as expected?

@krsnadas wrote: When I try this Rhino.DocObjects.Tables.MaterialTable.Find(material_name, True) I get this Find() takes exactly 3 arguments (2 given). But documentation here specifies only two...

View Article


Make 2D with color information

@Omer_Pekin wrote: Hello, I am trying to use Make 2D with colored objects. I dont have them in different layers so my Make 2D drawing is always black. I have too many geometry and each has a different...

View Article

Eto support in all Rhinos

@Jess wrote: Continuing the discussion from User data entry in scripts: Eto appears to be part of Mac-Rhino and Win-Rhino WIP. It would be great if Eto will also be supported from Win Rhino V5 in...

View Article


Image may be NSFW.
Clik here to view.

File import silent

@eddi wrote: Hi,Is there a way for silent import through ComObject/AcX ---> Rhino.Application or .Interface ? So without MsgBox -Best RegardsEddi Posts: 1 Participants: 1 Read full topic

View Article

How to visualize normals of point clouds with normals?

@bmartin wrote: Hello, I have a point clouds in a very simple text format where each line is composed of the following informations (separated by ,): x, y, z, Nx, Ny, Nz I can import this point cloud...

View Article


Image may be NSFW.
Clik here to view.

Scripting deselection

@Willem wrote: Hi, The situation:I want to create geometry on certain sub-curves of a polycurve.What I would like to do is 1 - select the polycurve2 - explode the curve3 - let the user edit the...

View Article

Create hatches from section curves

@BaptisteC wrote: Hi there,I'd like to ask you for comment.Here is a small script that I wrote in python which allows to run the "Section" Rhino Command and create hatches automatically with the newly...

View Article

New Rhino Command with EditPythonScript

@BaptisteC wrote: Hi there,When running the "EditPythonScript" function, it's possible to create a new PYTHON Script or to create a new Rhino command.Does anyboby know how to create and use a new...

View Article
Browsing all 5892 articles
Browse latest View live