TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Kerry on December 23, 2009, 09:32:10 PM
-
Given :
Container Width
Container Height
Object Thickness
Calculate Object Length which fits into container with corners touching container sides.
enjoy !
source code solution accepted in any language ( even english)
Refer attachment:
-
First I would search and copy someone's code :evil:
http://www.theswamp.org/index.php?topic=12578.msg154713#msg154713
-
bugger !!
-
My only excuse is :
that was posted before I turned 60, so I can be excused for forgetting about it.
-
I found it while searching for an asin function, it's a good thing too my brain was overloading :laugh:
-
Well, I'm off to bed ... Santa will be here soon :)
-
I knew I had seen that before. Just could not find it! :?
My attempt follow my past attempts.
Could not get the triangle relations to work so I fell back on the circle method.