Looking for a script that would delete all of the inside lines after trimming

Next
 From:  Johnnynapalmsc
9682.1 
Hi there,
I saw Vitaly Bulgarov using this hotkey, which allows him to delete all of the inside lines when he uses the trim tool. Can someone enlighten me how to do this or share a script for it? I have attached a picture of what I'm trying to do.


Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9682.2 In reply to 9682.1 
Hi Johnny, select all the curves and run Construct > Boolean > Union instead of using Trim.

You can also use the boolean commands on curves as well as solids, they are sort of like a "batch mode" that combines Trim + automatically deciding which pieces to discard and keep + Join.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9682.3 In reply to 9682.1 
It's Boolean Union! ;)

so Make a shortcut with BooleanUnion in the second column
or Press Tab and write BooleanUnion
with any capitals or not but without space! (so BoolEanUNIOn, BOOleanUnion, booleanunion ...etc are valid)

If you want a comment in your ShortCut
script: /* Boolean Union for simulate Trim lines & Join */ script:moi.command.execCommand( 'BooleanUnion' );

(sorry i have not seen the Michael post! But now you have a little more info! :)

EDITED: 13 Feb 2020 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Phiro
9682.4 
Hi,

The image you gave is not a trimming result but a boolean/union, it seems.
Trimming cut the curves and you have to give which pieces have to be removed and then you have only pieces.

Your edges are connected into a curves on your result ?
If yes, you want a union.

If you want non connected pieces, same but you add in a script boolean union + a separate action

(Same... We all respond same time...)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All