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

Image may be NSFW.
Clik here to view.

Importing surfaces with quadrilateral elements

@yQLZN wrote: Merry Christmas everybody! I often create surfaces in a different mathematical program (in my case, Matlab), and then want to import the surface into Rhino. These surfaces are typically...

View Article


Generate layer name with random letters and numbers like "A7gs9G5E"?

@Tatar wrote: Hello! It is possible to generate layer name with random letters and numbers like "A7gs9G5E"? Example:Rename Layer 01 to "A7gs9G5E" (or other abstract letters and numbers)? Posts: 2...

View Article


Image may be NSFW.
Clik here to view.

How to set background to solid color mode use RhinoScript

@fengyee_zju wrote: hi, could any one help me?we know we can set the background to solid color mode in rhino window, the setting page shows below: then my question is: how to set background to solid...

View Article

Moving an instance by swapping the transform

@JimCarruthers wrote: Is there a direct method to do that? Or do I have to calculate the transform to get it from where it is to where I want it? So far I've been deleting the instance and recreating...

View Article

_Import doesn't import DocumentData

@tobias wrote: Hi all,Let's say I have a file which contains DocumentData. If I import that file the DocumentData is ignored. Is that a bug or intended behavior? I wish it would be the same like...

View Article


Need a script looked at

@JimCarruthers wrote: I've got a script I'm wondering if someone can take a look at to figure out why it might be acting odd. I know it's a pain trying to figure out someone else's code but I've been...

View Article

Help with getting my polyline script to use osnaps

@DreamPsi wrote: hi I'm very new to scripting so ill be short. after about all night and into the morning I finally found a way to script the poly line tool just like in the program... because its the...

View Article

Setting custom line colors?

@DreamPsi wrote: is there a way to get a python script to differienciate the colors of varying line types like line/polyline = blue, arcs = red ??? Posts: 5 Participants: 2 Read full topic

View Article


Help with my Draw on face and extrude script

@DreamPsi wrote: Ok heres the problem sometimes my script doesn't perform the operations for subtracting ect... heres the script import rhinoscriptsyntax as rs import scriptcontext import System...

View Article


How to script a 3 pt arc command

@DreamPsi wrote: How do you tell the rs.command("_Arc") to have it load up the 3 pt arc instead of having to change it everytime... Posts: 3 Participants: 2 Read full topic

View Article

Help with Convert Curve into poly line script

@DreamPsi wrote: So here is my problem I have written a script to be able to adjust the arc/curve into a user inputed number of segments it works great but not good when using the...

View Article

Create a text block

@adrianh wrote: I need to create a script that does the following: Check if a text block having the name "Costing" already exists If true delete the text and replace with new textelse create the text...

View Article

Porque, solo el comando modify radius,length crv y no hay mas cotas dinamicas...

@vikthor wrote: Restricciones de autocad o sw no se pueden incluir en rhino al igual que cotas dinamicas para mejorar el trabajo. yo solo he notado que rhinoceros tiene los comandos longitud de curva...

View Article


Get class object

@lawrenceyy wrote: Lets say I have the following situation: class myclass: def __init__ (self,myobject) self.myobject=myobject mylist=[myclass(i) for i in range(10)] So I have a class that has one...

View Article

Blocks every were

@RBL wrote: Has any one worked on script to change in mass were blocks link from. Right now I have some projects that draw on past projects with parts and pieces from many different folders. I would...

View Article


How do I make a list of all materials in a document?

@Holo wrote: I would like to make a list of all materials in a document (so I can change a value on all of them if the value is lower than 0) I can not find any ways to do this. Thanks! Posts: 3...

View Article

Rs.MaterialReflectivity() is missing

@Holo wrote: I wanted to change material reflectivity /and reflectivity color) through a script, but there are no commands for that, only for "Shine" and "ReflectiveColor" but that is actually the...

View Article


A few RhinoScript updates and new methods

@Jarek wrote: Hi @dale, Ready for few more pile items for RhinoScript methods? Hope so : ) Some of them we have talked about and 'should be doable', right ? Thanks in advance-- 1) EnableObjectGrips -...

View Article

Script that runs another script

@Charly wrote: Hi all! I tell you the situation I want to solve: I've made a macro in Excel that writes a script for Rhino into a .txt file. Now I need to make a script in Rhino that ask you where is...

View Article

Python multiprocessing

@lawrenceyy wrote: I just started exploring multiprocessing in python outside of ghpythonlib.parallel.run(). I've run into some unexpected results. My test script: import multiprocessing as mp import...

View Article
Browsing all 5743 articles
Browse latest View live