Difference between revisions of "Benderlink for SolidWorks 1.71"
From ATTWiki
Line 17: | Line 17: | ||
The editor is very powerful because it allows you to enter action Pascal code to define the function that returns the adjusted arc lengths. This is an example bend reduction program included with Benderlink: | The editor is very powerful because it allows you to enter action Pascal code to define the function that returns the adjusted arc lengths. This is an example bend reduction program included with Benderlink: | ||
− | + | <font size=1> | |
var | var | ||
BendAllowance: real; | BendAllowance: real; | ||
Line 27: | Line 27: | ||
result := NewArc; | result := NewArc; | ||
end; | end; | ||
− | + | </font> | |
<br> | <br> | ||
<br> | <br> |
Revision as of 11:27, 7 March 2008
CHANGES
New - Bend Reduction Formula Editor
Predicting elongation in a tube shape requires complex mathematics that changes per customer application. Benderlink for SolidWorks now allows operators to program their Bend Reduction formula into the program.
The editor is very powerful because it allows you to enter action Pascal code to define the function that returns the adjusted arc lengths. This is an example bend reduction program included with Benderlink:
var
BendAllowance: real; NewArc: real;
begin
BendAllowance := 0.64; NewArc := ((BendAllowance * blinksw(OD) + (PI/2 * (blinksw(CLR)-0.5 * blinksw(OD) ))) / 90) * blinksw(BENDANGLE); //MessageDlg('New Arc Length: ' + floattostr(NewArc), mtInformation, [mbOK], 0); result := NewArc;
end;