Jump to content

making polygon with available co-ordinates


Recommended Posts

Posted

i have attached a screen-capture of my drwaing in the attached word file.( m also attaching the .dwg file named mod.dwg). i found the .lsp file for getting the intersection points between red and white lines ( these may be intersection between white and white lines or between red and red lines at some places). I have the .lsp file for obtaining the co-ordinates for all intersection points in .txt format. now my task is to get a .txt file. containing the points of each quadrilaterals (or triangles at some places) . like i have co-ordinates of all points , each point is assigned a number now( for their identity). now i want numbers assigned to the quadrilateral, made by these points .( taking points in anticlockwise manner)

like----

POINTS

16, 10.8699, -0.0174275

17, 10.8712, -0.0174672

18, 10.8724, -0.0175068

19, 10.8763, -0.0176307

20, 10.8856, -0.0179275

21, 10.8617, -0.0335175

22, 10.8634, -0.0336126

23, 10.865, -0.033699

24, 10.8665, -0.0337854

25, 10.8679, -0.0338632

26, 10.8693, -0.033941

27, 10.8706, -0.0340101

28, 10.8718, -0.0340793

29, 10.8757, -0.0342953

30, 10.8849, -0.0348095

31, 10.8608, -0.0478232

32, 10.8626, -0.0479505

33, 10.8641, -0.0480641

34, 10.8657, -0.0481776

35, 10.8671, -0.0482798

36, 10.8684, -0.048382

37, 10.8697, -0.0484728

38, 10.8709, -0.0485637

39, 10.8748, -0.0488475

I already have the point set now i want quadrilaterals' set. like

the first column is numbers assigned for quadrilaterals identity.

rest four columns are the identity number of the vertices of quadrilaterals (taken in anti-clockwise order).

 

1, 1, 11, 12, 2

2, 11, 21, 22, 12

3, 21, 31, 32, 22

4, 31, 41, 42, 32

5, 41, 51, 52, 42

6, 51, 61, 62, 52

7, 61, 71, 72, 62

8, 71, 81, 82, 72

9, 81, 91, 92, 82

for a triangular polygon

10, 31, 57, 32, 31

PLEASE PROVIDE ME THE SOLUTION .

IF ANY EXTRA SOLUTION IS NEEDED PLZ INFORM ME.

ujjwalkuma@gmail.com

mod.dwg

problem.doc

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...