How to fillet two plines?

How to fillet two plines?

Anonymous
Not applicable
899 Views
3 Replies
Message 1 of 4

How to fillet two plines?

Anonymous
Not applicable

I'm writing a function that I just have to enter the dimensions to get a drawing.

 

Here is the 'plines' code:

[...]
(command "pline" p7 p2 p1 p3 p4 "") ;line1

(command "pline" p4 p9 "") ;line2
  
(command "pline" p10 p11 "") ;line3
[..]

 

After running the function, I get the following drawing:

1.PNG

The intersected lines are 'line2' and 'line3' from the code.

 

I wanna write a code that can fillet those two lines with radius 0 like this:

2.PNG

 

How do I manage to make it?

Best regards.

0 Likes
Accepted solutions (1)
900 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Accepted solution

Since you have the pts already, why not use INTERS function to calc the intersection and just continue drawing the pline.

0 Likes
Message 3 of 4

Anonymous
Not applicable

@Anonymous, thank you so much!
I didn't know about this function (newbie), and it worked pretty well.

 

Regards!

0 Likes
Message 4 of 4

Sea-Haven
Mentor
Mentor

Look into the vl function intersectwith also it has far more functionality looking at objects rather than points.

 

(setq intpt1 (vlax-invoke obj2 'intersectWith obj1 acExtendThisEntity))