Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

maths in a drawing note

puppet

Moderator
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.
 
Puppet


One way I do this is on a spring


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


Regards
 
hey Arron,


i see what your doing, but your still handling all the maths the relations editor. i was wondering if it was possible to do some in the note,


ie


{0:&section/10}


its ok, i will just do it in the part.





thansk again :)
 

Sponsor

Articles From 3DCAD World

Back
Top