Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

[New] Extend/Trim Edges FS

TimRiceTimRice Member, Moderator, Onshape Employees Posts: 192
With this custom feature you can select two edges and automatically extend or trim the surfaces so the edges intersect!




https://cad.onshape.com/documents/cbe410e5c44c9abf4e218496/v/4a1925e806a6d04ca473a864/e/b56a4d83f2e98a1be655ccef


Like my previous Fill Gaps feature, keep in mind that this may not always work on broken imported surfaces and has the same limitations as our current Split feature.
Tim Rice | User Experience | Support 
Onshape, Inc.

Comments

  • bruce_williamsbruce_williams Member, Developers Posts: 309 PRO
    Thanks Tim!  Glad to get another tool in the quest...
  • TimRiceTimRice Member, Moderator, Onshape Employees Posts: 192
    Just pushed a new version! Now with better error messaging and more supported use cases:



    https://cad.onshape.com/documents/cbe410e5c44c9abf4e218496/v/a1cc694c39ca429910db271c/e/b56a4d83f2e98a1be655ccef
    Tim Rice | User Experience | Support 
    Onshape, Inc.
  • bruce_williamsbruce_williams Member, Developers Posts: 309 PRO
    great stuff Tim!  Question - what is the logic of the 'Keep method'?  (Primary, Secondary, Tertiary, Quaternary)  or is it just trial and error...?

  • MBartlett21MBartlett21 Member Posts: 1,497 EDU
    @TimRice
    Couldn't you just use opEdgeChange and extend each edge up to the opposite face (opEdgeChange should allow you to trim the face)
    MB - I make FeatureScripts: view FS (My FS's have "Official" beside them)
  • billy2billy2 Member, OS Professional, Mentor, Developers Posts: 1,190 PRO
    @TimRice nice extend trim feature script.

    What does keep method:primary, secondary ... mean?

    If I select:


    Was expecting:


    Can't seem to pick 1, 2, 3 or 4 to get this result:



  • TimRiceTimRice Member, Moderator, Onshape Employees Posts: 192
    @MBartlett21
     I didn't know about opEdgeChange but I will take a look at implementing that instead. 

    @billy2 and @bruce_williams
    The Keep method determines which of the four surfaces are deleted after the split. No logic to the naming of primary, secondary, etc. just trial and error for each case.
    Tim Rice | User Experience | Support 
    Onshape, Inc.
Sign In or Register to comment.