Jump to content

Problem with region

Recommended Posts

Hello, i have problem with creating region. In my case i try to create grid region i have 4 polygons and when i select all lines from 3 of them it work perfect but when i try in last polygon something go wrong.

Upload file.


Thank you and Happy Holidays.


Link to post
Share on other sites

Here Trudy,

I've taken my time to investigate... The problem are lines obtained from hatching - they don't meet at exact the same end points... I've wrote in my past weld2d.lsp for solving this type of problems... The problem is that with this amount of lines it's slow - it took me 15 min. at least to weld lines... Everything else is simple - REGION command, and I assumed you wanted to union all those regions created... So everything worked well with me... I'll attach your DWG mod. by me...


P.S. Look somewhere on the www for (defun c:weld2d - you may find something I posted, although I am not sure that my version was modified since then...


Link to post
Share on other sites

Thank you marko_ribar i found you lisp, but now i know what is the problem i think to make all lines at Pline and create list from all points and for all equal point will entmod them with one of them.

Its just idea for now but will try and post :)

Thank you again and Happy Holidays.

Link to post
Share on other sites

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.

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