r3extrud

r3extrud

Class

real/objects/r3extrud.h

Library

r3obj

Description:

Extrusion object.

See Also

real/objects/r3level.h

Super Class

r3Level

R3CLID_LEVEL

JavaScript

r3Extrude

Class Identifier

R3CLID_EXTRUDE - 326

Methods

Attributes

BevelType, BevelRadius, BevelDepth, BevelDir, NoCaps, LidOrder, LidResol, Independent, TargetID, TopLidID, BottomLidID,

Registration

int R3RegisterExtrudeClass(R3APP *app);

BevelType

Attribute

BevelType

Identifier

R3EXTRA_BevelType

JavaScript type

Integer

C type

R3INT

Description

beveling type

Syntax


jsobj.SetBevelType(value);
value = jsobj.GetBevelType();


R3INT value = ...;
R3SetAttrs(r3obj, R3EXTRA_BevelType, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3EXTRA_BevelType, &value, R3TAG_END);

BevelRadius

Attribute

BevelRadius

Identifier

R3EXTRA_BevelRadius

JavaScript type

Number

C type

R3FLOAT

Description

beveling radius

Syntax


jsobj.SetBevelRadius(value);
value = jsobj.GetBevelRadius();


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3EXTRA_BevelRadius, value, R3TAG_END);
R3FLOAT value;
R3GetAttrs(r3obj, R3EXTRA_BevelRadius, &value, R3TAG_END);

BevelDepth

Attribute

BevelDepth

Identifier

R3EXTRA_BevelDepth

JavaScript type

Number

C type

R3FLOAT

Description

extrusion depth

Syntax


jsobj.SetBevelDepth(value);
value = jsobj.GetBevelDepth();


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3EXTRA_BevelDepth, value, R3TAG_END);
R3FLOAT value;
R3GetAttrs(r3obj, R3EXTRA_BevelDepth, &value, R3TAG_END);

BevelDir

Attribute

BevelDir

Identifier

R3EXTRA_BevelDir

JavaScript type

Boolean

C type

R3BOOL

Description

bevel direction

Syntax


jsobj.SetBevelDir(value);
value = jsobj.GetBevelDir();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3EXTRA_BevelDir, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3EXTRA_BevelDir, &value, R3TAG_END);

NoCaps

Attribute

NoCaps

Identifier

R3EXTRA_NoCaps

JavaScript type

Boolean

C type

R3BOOL

Description

if set, no bottom and top lids

Syntax


jsobj.SetNoCaps(value);
value = jsobj.GetNoCaps();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3EXTRA_NoCaps, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3EXTRA_NoCaps, &value, R3TAG_END);

LidOrder

Attribute

LidOrder

Identifier

R3EXTRA_LidOrder

JavaScript type

Integer

C type

R3INT

Description

order of the top and bottom lids

Syntax


jsobj.SetLidOrder(value);
value = jsobj.GetLidOrder();


R3INT value = ...;
R3SetAttrs(r3obj, R3EXTRA_LidOrder, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3EXTRA_LidOrder, &value, R3TAG_END);

LidResol

Attribute

LidResol

Identifier

R3EXTRA_LidResol

JavaScript type

Integer

C type

R3INT

Description

resolution of the top and bottom lids

Syntax


jsobj.SetLidResol(value);
value = jsobj.GetLidResol();


R3INT value = ...;
R3SetAttrs(r3obj, R3EXTRA_LidResol, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3EXTRA_LidResol, &value, R3TAG_END);

Independent

Attribute

Independent

Identifier

R3EXTRA_Independent

JavaScript type

Boolean

C type

R3BOOL

Description

apply extrude independently to each sub object

Syntax


jsobj.SetIndependent(value);
value = jsobj.GetIndependent();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3EXTRA_Independent, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3EXTRA_Independent, &value, R3TAG_END);

TargetID

Attribute

TargetID

Identifier

R3EXTRA_TargetID

JavaScript type

Integer

C type

R3INT

Description

identifier for extrude-target binding

Syntax


jsobj.SetTargetID(value);
value = jsobj.GetTargetID();


R3INT value = ...;
R3SetAttrs(r3obj, R3EXTRA_TargetID, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3EXTRA_TargetID, &value, R3TAG_END);

TopLidID

Attribute

TopLidID

Identifier

R3EXTRA_TopLidID

JavaScript type

Integer

C type

R3INT

Description

identifier for top id surface

Syntax


jsobj.SetTopLidID(value);
value = jsobj.GetTopLidID();


R3INT value = ...;
R3SetAttrs(r3obj, R3EXTRA_TopLidID, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3EXTRA_TopLidID, &value, R3TAG_END);

BottomLidID

Attribute

BottomLidID

Identifier

R3EXTRA_BottomLidID

JavaScript type

Integer

C type

R3INT

Description

identifier for top id surface

Syntax


jsobj.SetBottomLidID(value);
value = jsobj.GetBottomLidID();


R3INT value = ...;
R3SetAttrs(r3obj, R3EXTRA_BottomLidID, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3EXTRA_BottomLidID, &value, R3TAG_END);

R3EXTRA_LASTNORMALATTR

Bevelling options

R3BEVEL_NONE
R3BEVEL_CUTEDGE
R3BEVEL_ROUNDED
R3BEVEL_GROOVED

Bevel direction options

R3BEVDIR_IN
R3BEVDIR_OUT


r3appobj *