New Custom Feature: Point Overcut

joshtargo
joshtargo Member Posts: 695 EDU

Creates Overcuts ("dogbones") at selected points, with additional options such as offsets and filleting the resulting sharp edges.

Mostly written for me 3D printing square or hex holes for shafts, which usually bind at the corners of the hole.

Let me know if you find bugs or want more options.

Link: Point Overcut

https://cad.onshape.com/documents/957d2b7af0957f080bccbf2a/w/5594b6207dd2385b1e9b0cef/e/5737825e2807434e69002ca9

Some help from CNC Overcut but mostly from scratch.

2024-12-08 10 59 56.png 2024-12-08 10 59 53.png 2024-12-08 10 59 45.png 2024-12-08 10 59 40.png 2024-12-08 10 59 29.png

Comments

  • EvanReese
    EvanReese Member, Mentor Posts: 3,099 PRO

    Nicely done! Seems to fill a similar niche to the Corner Overcut feature. I like your previews on this one. I've noticed for debugs the native features usually use red for issues and magenta for informational things. So instead of addDebugPoint(context, center) you could use addDebugPoint(context, center, DebugColor.MAGENTA)to be more in line with the native toolset.

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
  • joshtargo
    joshtargo Member Posts: 695 EDU

    @EvanReese thanks. Debug color is an easy fix.

  • joshtargo
    joshtargo Member Posts: 695 EDU

    @EvanReese, done.

    image.png
  • EvanReese
    EvanReese Member, Mentor Posts: 3,099 PRO

    love it!

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
  • joshtargo
    joshtargo Member Posts: 695 EDU

    I try so hard (programming is not a normal thing for me) so I'm glad when someone else find my scripts useful.

  • martin_kopplow
    martin_kopplow Member Posts: 1,645 PRO

    That looks good. We're doing some laser cutting and wood and aluminium routing and so I'll try it next time such a part comes my way.