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

Batch Scale Curves

$
0
0

@saucerdesigner wrote:

Hello everyone.
I’m wanting to scale all of the curves individually. I’ve been going through the Designalyze, Mode Lab, Jose Sanchez and Parametric House tutorials, but being the monkey-see-monkey-do type haven’t seen an example of scaling I can copy and fit to my purpose in any of them yet.
Each (straight) curve has it’s own factor to scale by which is a function of it’s base point x-coordinate and angle relative to the z-axis. I’ve started a script to try and get moving on it but hit the wall when it came to the matrix parameter. Looking at the TransformObjects help, I’m not sure how to proceed. I’ve scoured the forum for “scale” and the posts are encouraging, but still a mystery.
Any help is appreciated.
Thanks,
David

Batch_Scale_Curves.3dm (86.3 KB)
Batch_Scale_Curves.py (758 Bytes)

Posts: 9

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5875

Trending Articles