Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.
is it possible to do some maths in a drawing note?
ie
"there are : &frogs to be done"
but what if i wanted the parameter "frogs" to be divided by 10? i know
i can do it in a relation new_frogs = frogs/10. but i am wondering if
there is away to do it in a note.
All the maths equationsare in relations i.e.
ID =MEANDIA-SECTION
OD =MEANDIA+SECTION
C =MEANDIA/SECTION
K =(4*C-1)/(4*C-4)+(0.615/C)
L3=(COILS+2)*SECTION
Pro-program is used to craete the variables i.e.
INPUT
MATERIAL STRING
"ENTER MATERIAL FOR SPRING :"
COILS NUMBER
"ENTER NUMBER OF ACTIVE COILS :"
MEANDIA NUMBER
"ENTER MEAN DIAMETER OF SPRING :"
SECTION NUMBER
"ENTER SPRING SECTION :"
L0 NUMBER
"ENTER FREE LENGTH OF SPRING "
L1 NUMBER
"ENTER INSTALLED LENGTH OF SPRING :"
STROKE NUMBER
"ENTER STROKE OF SPRING :"
STROKED YES_NO
"DO YOU WANT TO DRAW SPRING AT COMPRESSED LENGTH :"
END INPUT
The variablesare shown on the drawingin note form i.e.
{0:&SECTION}
{1:&MEANDIA}
{2:&ID[.2]}
{3:&OD[.2]}
This way the values of the variables appear as a value on the drawing and can be modified by Edit - Value
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.