Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simple way to find L & W from sq ft?

1 REPLY 1
Reply
Message 1 of 2
jarredmonday
248 Views, 1 Reply

Simple way to find L & W from sq ft?

Hello all,

 

Does anyone have a quicker solution to converting a known area to a length and width to a square or rectangle? The actual Length and width dimensions are for sqft are for input only. Currently I am eyballing and making minute changes to get it close.

 

Attached is an example of a perimeter outline of a floor plan(left) and a simplified sqft (right)

Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
1 REPLY 1
Message 2 of 2
stevor
in reply to: jarredmonday

For a square and the area, any side is = square root of the area.

      (setq W (sqrt A))

For a rectangle, either one side length, L, must be known:

      (setq W (/ A L ) ) ; L must be a real, not an int, or

      (setq W (/ A L 1.) ) ; either

  or the ratio between L and W must be known:

      R = L/W, thenA = LxW =

      (setq L (sqrt A R)   W ( / L R 1.) )

 

Similar rules for the perimeter.

 

S

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost