Jump to content

Recommended Posts

Posted (edited)

Looking at the bottom pair, corner solutions seem rather arbitrary.

TR: 0 segmens removed.

BR: 2 segments removed.

BL: 1 segment removed.

TL: 1 segment removed.

Edited by Roy_043
  • 3 weeks later...
Posted

Help: algorithm for fast selection and closed area implementation

Posted

One problem is when filleting plines that are zig zag the fillet is applied to the section of the pline so no easy auto way of doing.

Screen Shot 11-13-18 at 12.07 PM.PNG

Posted

Why not like the two green examples? What is your logic?

image.png.4ca462856e9530c61c289ef1fea4e91b.png

Posted

After extension, there are intersection points. After lengthening, a closed area is formed, and the redundant points are deleted.

Posted (edited)

I see now .. your first example did not show that correctly:

 

2018-11-14_10-31-35.png

Just curious, but what do you use this for?

Edited by ronjonp
Posted (edited)

The enclosed area under this specification needs to be obtained. I hope you can help me.

Edited by ssdd
Posted (edited)

Ah yes extend all then do a bpoly erase old. Ok it took about 5 minutes.

 

You need to download lee-mac's double extend lisp only thing is it needs some subtle changes in about 6 lines. I will PM Lee the changes before posting here as its his code. Just needs to remember the 1st point picked for the bpoly. The code here rearranges the local variables so the erase will work with the selection.

my code 


(defun joinpls ( / sel inpt outpt)
(if (not "dex")(Load "DoubleExtendV1-0-AH"))
(c:dex)
(command "bpoly" inpt "")
(command "erase" sel "")
)
(joinpls)

 

Edited by BIGAL

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