Create the package.
Syntax: |
---|
DlxICBody.Build() |
Return Value
Returns the y-coordinate value of the pin docking height. If an error occurs, it returns -1.
Example
Copy code | |
---|---|
function OnBuild3DModel()
{
var ctx = FWiz.Get3DModelCtx();
var style = FWiz.Get3DStyle(0);
style.SetStyle("gold");
var obj = new DlxICBody(style, 3.9, 8.65, 1.6, 0.25, 0.15);
obj.SetSlopeAngle(10);
obj.SetRoundedCorners(0.2, FWiz.ICBODY_CORNERALL);
obj.SetNotch(1, 1, 0.3, true);
obj.Build();
ctx.Add(obj);
}
|