Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4171

Scripting input into command line (python)

$
0
0

I was wondering if there is a way to use a rhino command and use input from the script to fill in the command line input.

For instance I have to use the “section” command and draw a section line at one inch intervals for the height of any object that I make. Rather than draw say 20 lines for 20 sections I would rather automate the drawing of these sections. I know python well enough to be dangerous and I can draw 20 lines or 20 start and stop points and I can select objects with just a few user inputs but then using the section command would make me redraw all of those lines anyway.

In short can I skip or interrupt the command line prompt from a rhino command and fill it with information from a python script?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4171

Latest Images

Trending Articles



Latest Images