How to I specify functions and constants in Qcad?
Posted: Wed Nov 14, 2007 11:45 am
Hi:
I'm a newbie... please have forbearance!
I want to draw a line between 2 points.... however, the coordinates of each point are complicated functions. For example, I have a line that is described the equation
y = a + bx
where
b = ( 26.75 - 12 + 0.75 * sqrt(2) ) / ( 12 - 0.75 * sqrt(2) -26.75 )
and
a = 26.75 - ( ( 12 - 0.75 * sqrt(2) ) / b ).
Then, I want to draw a line between 2 points called [x1,y1] and [x2,y2] where
[x1,y2] = [ 0 , 26.5 ], and
[x2,y2] = [ (26.5-a)/b , 26.5 ].
How do I do this easily in Qcad?
Thank you!
Phil Smith
Duluth, GA
I'm a newbie... please have forbearance!
I want to draw a line between 2 points.... however, the coordinates of each point are complicated functions. For example, I have a line that is described the equation
y = a + bx
where
b = ( 26.75 - 12 + 0.75 * sqrt(2) ) / ( 12 - 0.75 * sqrt(2) -26.75 )
and
a = 26.75 - ( ( 12 - 0.75 * sqrt(2) ) / b ).
Then, I want to draw a line between 2 points called [x1,y1] and [x2,y2] where
[x1,y2] = [ 0 , 26.5 ], and
[x2,y2] = [ (26.5-a)/b , 26.5 ].
How do I do this easily in Qcad?
Thank you!
Phil Smith
Duluth, GA