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

Attaching metadata to files

@JimCarruthers wrote: Hi group, Is there some sort of standard or common procedure for attaching metadata to arbitrary files in Windows(like Rhino files but I suppose others too) that can be read...

View Article


Automating a Repetitive Task - Lofting manually made curves

@dannytso123 wrote: I design custom foot orthotic insoles in Rhino for my patients. The current method I use is to import a scanned STL file of my patient's feet where I would manually draw cross...

View Article


Extracting block hierarchy

@JimCarruthers wrote: A while back I had a Rhinoscript that could (assuming the model was cleanly set up with this in mind, the blocks being all linked or linked/embedded) extract a summary of "parts"...

View Article

Help: Remove item from list

@Holo wrote: Hi, I need to remove an item from a list of points, but I get the error that 'Array[Point3d]' object doesn't support item deletion. So what should I do? (I am going to trace some points...

View Article

Error: overloop 'CInt'

@Diederik_Meijer wrote: Does anybody know what the error means, where I can find it and where I can solve the problem?Error: overloop 'CInt' Posts: 7 Participants: 3 Read full topic

View Article


Lines between surfaces

@rebeccapark wrote: hello,I'm trying to create a perpendicular line between surfaces within this volume (where its protruding inwards) at the moment where the surfaces are closest.I'm hoping then, to...

View Article

Do these scripts run on a MAC?

@Willem wrote: Hi, For a client I have setup a couple of scripts. However they have the MAC version that I cannot test on. How would the client go about running these scripts?Is there a simple...

View Article

_FilletEdge. (in macro "SetAll" not woks)

@leex wrote: Hello everybody!I'm trying to create macro commands for _FilletEdgeIf during the execution of the commands I change the radius to all filletsthen usually I choose SetAll and enter a right...

View Article


_SplitEdge command in Python

@Nico_de_Meester wrote: I try to make a python script by using the _SplitEdge command of rhino I stuck by selecting an Edge of the Surface/Brep because the _SelID command doesn't give the opportunity...

View Article


Generating NamedCplanes by list of Z Values

@horst wrote: Hello, is it possible to generate namedCplanes by code feeding a list?I want to set a file for a tower project and searching for how to generate 60 namedCplanes. I was reading a little...

View Article

getLayers() problem on Mac

@dromepeter wrote: Hi, I'm trying to run a script where I select multiple layers, using getLayers(). I'm sure I've used it in the past, and I tried getLayer() - singular - and that works, but...

View Article

Image may be NSFW.
Clik here to view.

Closest surface point

@Keith1634 wrote: I have a script which looks for the closest surface point and populates with a bead. However, I get an error with the blue surface which I am finding hard to track down. The only...

View Article

Rhino Python locale decoding

@galinette wrote: Dear all, I need to get object names and to convert them to UTF-8 for XML export. By the past, I had used this for converting rhino names to UTF-8: xmlString =...

View Article


How to get rhino file tolerance?

@Octav1an wrote: Dear all, What is the function for getting the rhino file tolerance? Thank you. Actually I have this vector [0.00044759122943794,0.32706797992428,5.68434188608084E-14] and I want to...

View Article

Selection of object by ID

@max.wwwang wrote: Hi guys, I'm using Python to do some coding practice and trying to select some objects I created as a result of some operation, e.g. curves = rs.IntersectBreps( brep1, brep2) Which...

View Article


IntersectBreps() Error

@max.wwwang wrote: Hi, I got an error with this simple code - def test(): box = AddBrepBox(-5000, -5000, 0, 10000, 10000, 10000) if box is None: return planesrf = rs.AddPlaneSurface(...

View Article

rs.Command() Suppress echo problem

@Nico_de_Meester wrote: Hi- In the python code below I try to suppress the echos on the command line but it still shows the "command:" echo.Is it possible to suppress this aswell?...

View Article


Image may be NSFW.
Clik here to view.

Equal Distribution of Control Points between two curves

@RIL wrote: Equal - not to be conflated with "evenly". Usefulness : When coming from two different objects that needs to be bridged. Has anyone created a script that can take one curve, and to apply...

View Article

Accesing Rhino variables via Rhinopython script

@mlukasz87 wrote: Anyone maybe knows is it possible to define variable in python that would be equal to number of frames of already defined animation? Posts: 2 Participants: 2 Read full topic

View Article

"Specified cast is not valid" Error

@max.wwwang wrote: Hi there, In testing some tutorial code, I got an error message and did not find the cause. Appreciate any hints. The error was with the line- rs.AddCurve(newverts, 5) --Max Code:...

View Article
Browsing all 5877 articles
Browse latest View live