Jump to content

Pls. help need a routine lisp for req. area


Recommended Posts

Posted

please i need your help..fro s routine lisp for computing a target area base on three points as shown on figure below..i can solve it manually but the problem it takes a time solve it..and i could not finish my job on the field base on manual computation..like what i said it takes more time..so beg you guys.

 

arealisp.jpg

 

info:

 

#. 3 known corners or coordinates

#. a line for reference (blue line)

#. the green line was new line base on computed area

 

thank in advanced

 

oliver

:)

Posted

apologized ahead.. it just an update. thanks oliver

Posted

There seems to be not enough info to solve this problem. How do you solve it manually?

Posted

Why not use the parcel tools? You have LDD/C3D.

Posted

Using coordinate-area method you can come up with the formula, assuming the angle of the reference line is known.

 

Say the 4th side of the rectangle (the blue line) has a length of "C" with an angle "a" from the horizontal, and the rectangle has an area of "A". Point 1 has coordinates of (X1,Y1) etc.:

 

C=[2A-X2Y1+X1Y2-X1Y7+X7Y1+Y7X2]/[sina(X7-X2)+cosa(Y2-Y7)]

Rectangle Area.zip

Posted
There seems to be not enough info to solve this problem. How do you solve it manually?

using trial and error..what i want is a routine lisp which can be easily for me.

:)

Posted

I'll say it again, what about the parcel tools built into LDD/C3D?

Posted
I'll say it again, what about the parcel tools built into LDD/C3D?

ok i use too..thanks for remind that:)

but its ok..f someone just make easier for us.

 

oliver

Posted

So oliver, did not the formula I posted solve directly for the unknown length of the side along the reference line? Or are you looking for a general purpose lisp routine for all situations?

Posted
Or are you looking for a general purpose lisp routine for all situations?

 

i love too

Posted

OK I thought it was an interesting challenge, got me to brush up on some basic algebra. So here's a routine to determine the lot line location to produce the required area. Property to be made up of only straight line segments. Not polished, little error trapping, assumes user can pick property corners in order, clockwise.

LotLine.lsp

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...