Difference between revisions of "Benderlink for SolidWorks 1.71"
From ATTWiki
Line 14: | Line 14: | ||
<br> | <br> | ||
[[image:Blinksw_bendreductionfunction_menu.jpg|600px]] | [[image:Blinksw_bendreductionfunction_menu.jpg|600px]] | ||
− | + | <br> | |
+ | <br> | ||
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: | ||
Line 31: | Line 32: | ||
</font> | </font> | ||
− | + | <br> | |
+ | <br> | ||
+ | The value returned is called the "result". At the bottom of the code (just before the "end;" line), the | ||
+ | <pre>result := NewArc;</pre> line of code assigns the value in the NewArc variable to the | ||
<br> | <br> | ||
<br> | <br> |
Revision as of 11:34, 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. This is the Bend Reduction Function editor:
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;
The value returned is called the "result". At the bottom of the code (just before the "end;" line), the
result := NewArc;line of code assigns the value in the NewArc variable to the