how to divide a closed polygon

how to divide a closed polygon

Anonymous
Not applicable
2,933 Views
4 Replies
Message 1 of 5

how to divide a closed polygon

Anonymous
Not applicable

how to divide a polygon into 3 equal polygons (same area or we known area)?

I wanted to divide the polygon shown in the screenshot below into equal 3 polygons (with same area), but I couldn't figure out if these is some commands or workflow to perform this issue

is the "trial and error" is the only technique by which this issue can be done?


thank you in advance,

regards
malkasun

0 Likes
2,934 Views
4 Replies
Replies (4)
Message 2 of 5

rkmcswain
Mentor
Mentor

With AutoCAD? Not as far as I know.

Civil 3D should allow you to do this, as well as add-on products, like this.

 

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 3 of 5

Anonymous
Not applicable

thanks your quick reply. i want to free solution.

0 Likes
Message 4 of 5

tramber
Advisor
Advisor

Such a command doesn't exists.

Theoricaly, it is possible to emulate a kind of engine that search for the ideal position of both lines. I beleive I could achieve such a program with Vlisp.

But for now I can suggest to create 3 hatches (separated) and to put a FIELD on each. A field on object property, ie Area.

Basicaly, a REGEN after you have moved the lines and that the hatches follow would regenerate the informations too.


EESignature

0 Likes
Message 5 of 5

3wood
Advisor
Advisor

Yes but you only need 2 trials

It is just a simple calculation.

1. Get the Total area T1, then divid it by 3, get 1/3 T1=T2.

2. Try to divide the first part, get its area T3

3. Calculate the difference between T3 and T2:  |T2 - T3|= A

4. Then we need find out how much we need move the trial line (d) to make the additional area equals the area of the trapezium (A) between the trial line and the result line. Following the formula below to get d. You can easily to get the value of angle α and β in AutoCAD.

5. Repeat 1~4 to divide the rest of the polyline.

 

We can also make a lisp routine based on the formula below to divide a polyline into any equal parts following current Y axis direction of USC.

 

WIN_20160516_231506_.jpg

0 Likes