BTRANSFORM

This option allows a block model to be transformed, rotated and/or scaled.


Usage:

btransform [ -t x y z | -r x y z | -s x y z ]

[ ] indicates an optional switch. However, it is assumed that at least one switch will be selected.

Where:

Option Description

-t

The "-t" stands for Translate.

The three parameters after the -t represent an X, Y, and Z, distance to translate respectively.

The parameters will be ADDED to the current origin.

-r

The "-r" stands for Rotation.

The three parameters after the -r represent bearing, plunge and dip.

In this case, the given parameters will OVERWRITE the preexisting rotation parameters.

-s

The "-s" stand for Scale.

The three parameters after the -s represent scale factors for the x, y, and z axes respectively.


Examples:

btransform -t 10 10 10 mymodel.bmf

The origin of the block model will be translated by 10 in all axes

btransform -r 90 0 0 mymodel.bmf

The block model will be rotated by 90 degrees with no plunge or dip.

btransform -s 2.5 4 mymodel.bmf

The block size in the x direction will be double its pre-existing size, the y direction will be halved, and the z direction will be quadrupled.

btransform -t 10 10 10 -r 90 0 0 -s 2.5 4 mymodel.bmf

Shows the use of all three switches at the same time.