Option 'make joined plines'

Option 'make joined plines'

hanslammerts
Collaborator Collaborator
1,577 Views
12 Replies
Message 1 of 13

Option 'make joined plines'

hanslammerts
Collaborator
Collaborator

Hi

 

I have made this routine my own.

Nice thing about it is that it will fillet regardless if you choose a polyline or two lines.

what i would like is to build in a option to make joined polylines if user chooses and picks a line.

 

any idea for this to implement?

the code can be found as link underneith the video

 

thanks

 

https://youtu.be/cof88zOvTes

 

 

Accepted solutions (1)
1,578 Views
12 Replies
Replies (12)
Message 2 of 13

john.uhden
Mentor
Mentor

Excellent!!

 

I still can't do without my PJOIN and QJOIN commands.  Enjoy your accomplishments.

John F. Uhden

0 Likes
Message 3 of 13

DannyNL
Advisor
Advisor

If you use fillet on a polyline AND a line or vice versa, the end result will be a joined polyline with the fillet.

So what you could do if someone picks a line, first convert that line to a polyline. Easiest way would be (command "PEDIT" line_entity "Y" ""). Use this new polyline entity (= entlast) in your fillet and the end result will be a joined polyline.

0 Likes
Message 4 of 13

john.uhden
Mentor
Mentor
Accepted solution

Just a reminder to those who may be following...

You don't need/want to supply the "Y" if PEDITACCEPT is turned on (1).

John F. Uhden

Message 5 of 13

ВeekeeCZ
Consultant
Consultant
Nice routine!
btw What is that floating osnap panel? Is it your app? Never seen that and like it very much!
Message 6 of 13

hanslammerts
Collaborator
Collaborator

 

Sharp 😉 you noticed that one.

I liked the button grey / ungrey for osnap which can be found in B..peep..Cad 

So i got some help and it worked out whit help of OpenDCL

The nicest thing about this floating osnaps panel is the oZ button

it switches OSNAPZ on/off togetter with a grid. No more doubting if you are working on a plane or in 3D

A grid display with this tool will always mean: 'working on a plane' so with OSNAPZ =1 

 

 

Demo (early release)

 

https://youtu.be/mvAVqWTVKAI

 

Details and download (OpenDCL needed)

 

http://opendcl.com/forum/index.php?action=post;quote=12212;topic=2446.0;last_msg=12444

Message 7 of 13

ВeekeeCZ
Consultant
Consultant
Thanks for sharing. I will definitelly look into it.
0 Likes
Message 8 of 13

Anonymous
Not applicable

that video very helpful may i know how to load DCL file

0 Likes
Message 9 of 13

hanslammerts
Collaborator
Collaborator

Normal DCL files should be put in a 'supported path'

Likewise OpenDCL files being used, the same

the osnaps.lsp calls OpenDCL functions, written down like this..

 

  ;; Load ODCL and show dialog:
  (if (not (vl-position "Osnaps" (dcl-GetProjects)))
    (dcl-Project-Load "Osnaps")

 

Have fun with it ! 😉

0 Likes
Message 10 of 13

frans_riemens
Explorer
Explorer

thanks for sharing i'm going to use this one.

Message 11 of 13

hanslammerts
Collaborator
Collaborator

hi frans, jij hier 😉

the only downside is that the dyn buttons are not transparent in combination with custom commands.

programmed by a great Lisp programmer from he Netherlands. Off course :p. Can't work without it myself.

0 Likes
Message 12 of 13

ActivistInvestor
Mentor
Mentor

@john.uhden wrote:

Just a reminder to those who may be following...

You don't need/want to supply the "Y" if PEDITACCEPT is turned on (1).


Or just use the JOIN command, and don't worry about PEDITACCEPT.

0 Likes
Message 13 of 13

Anonymous
Not applicable

PEDITACCEPT  SET TO 1.

I hate pressing "Y"

 

Thank you

0 Likes