HyperWorks Tools

::hwat::utils::PadBBox

::hwat::utils::PadBBox

Previous topic Next topic No expanding text in this topic  

::hwat::utils::PadBBox

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::utils::PadBBox - Pads the bounding box with the given values.

 

SYNTAX

PadBBox {BboxDims} Mode PminX PminY PminZ PmaxX PmaxY PmaxZ

 

ARGUMENTS

BboxDims

Tcl list of the form MinX MinY MinZ MaxX MaxY MaxZ for the bounding box.

Mode

u = pad same value to all dimensions (1 argument).

b = pad same value to both sides of corresponding dimensions (3 arguments).

d = padding value is specified for each dimension (6 arguments).

PminX

Padding value for MinX.

PminY

Padding value for MinY (not required for "u").

PminZ

Padding value for MinZ (not required for "u").

PmaxX

Padding value for MaxX (not required for "u" and "b").

PmaxY

Padding value for MaxY (not required for "u" and "b").

PmaxZ

Padding value for MaxZ (not required for "u" and "b").

 

RETURNS

A Tcl list of the form MinX MinY MinZ MaxX MaxY MaxZ if successful , "{}" if unsuccessful.

 

EXAMPLE

::hwat::utils::PadBBox [list 1.0 1.0 1.0 10.0 20.0 30.0] "b" 5.0 6.0 –7.0

 

 

See also

Utils Functions