SCA(nged)
Used to apply a scaling factor.
β¨ SCA(nged) β the scaling command, bestie edition β¨
Okay so picture this: you're in nged (hey BRL-CAD bestie π) and you need something to get bigger or smaller. That's literally what sca is for. It's the BRL-CAD User Commands glow-up moment. π
πΈ NAME πΈ
sca β the command you use to apply a scaling factor. That's it. That's the vibe. π
π¦ SYNOPSIS π¦
sca {[sfactor] | [x-sfactor y-sfactor z-sfactor]}
So you either hand it one number, or you hand it three numbers. Choose your fighter. β¨
π DESCRIPTION π
sca applies a scaling factor to an object or a view. Obsessed.
When you pass it one parameter, an "object or view" gets a uniform scale factor β everything scales together, no favorites. π
When you pass it three parameters, an object gets a unique scale factor applied to each axis β so x, y, and z can each go off and do their own thing. Main character energy per axis, honestly. π
And here's the important part, bestie: what actually happens is determined by the Transform option in the Settings menu. So it's normally affected by whatever mode of operation MGED is currently in β like matrix edit, primitive edit, or viewing. Context is everything, iykyk. π«Ά
β οΈ Note, and this one matters: three parameters can only be applied in"matrix edit"mode. Otherwise, only scalepipeandtoriprimitives uniformly β because if you don't, raytracer and other errors may occur. Not cute. Not slay. Just errors. π
π₯ EXAMPLES π₯
These examples show sca doing its thing β applying a scaling factor to an object or a view. Let's go. π
β Example 1. Apply a scaling factor to an object or view.
mged>sca 2
In matrix edit mode, the object being affected will get twice as big. Iconic.
In view mode, the size of the view will be doubled β which means it's showing twice the volume of space, hence making objects appear half their previous size on the display. Yes, that's the plot twist: the view got bigger, so everything in it looks smaller. The math is mathing. πβ¨
π Example 2. Apply a scaling factor to an object.
mged>sca 2 1 1
In matrix edit mode, the object being affected will get twice as big along the x-axis. Only the x-axis. She's specific. π
π AUTHOR π
BRL-CAD Team β legends, fr fr. π«Ά
π BUG REPORTS π
If you find a bug or a problem, don't suffer in silence, bestie β reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. Spill the tea. π
That's the whole page, no cap. Written by the BRL-CAD Team, part of the BRL-CAD docs, and dated with the BRL-CAD release β go forth and scale responsibly. π β¨
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms