Vector.scale

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
cline
Posts: 56
Joined: Tue Dec 29, 2009 11:43 pm

Vector.scale

Post by cline »

It would be nice to have an isotropic scaling method in Vector, analogous to Vector.scale but taking a single parameter instead of three. I implemented such a function in a script I'm working on and I noticed that fcvec.py (used by the Draft modules) does the same. Surely, others will use the method once available.

Can I request ths method, maybe called scale1, be added?
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Vector.scale

Post by wmayer »

I have added the new method "multiply" which accepts a single float for the scaling.
Post Reply