Custom Feature: Friction fit (interference fit) quick sketch tool

g_j925
g_j925 Member Posts: 6 ✭
edited May 21 in FeatureScript

I started adding a small ridge or notch in items that I need to fit together snugly but where I don't trust the tolerance of my printer. I found it tedious to manually sketch 2-4 small ridges to extrude up the side of every box, so I have created a feature studio that does this automatically, adding a sketch to the centre of every edge of a selected face.

https://cad.onshape.com/documents/03d37f90854b6ad346031a68/w/c5c16d0a08ef5d4a8558cfde/e/2528318c0bd978d1f3d4b49e

I'm a hobbyist so I've written it with assistance but I've spent quite a lot of time checking everything works as it should and is easy to use.

I would quite like to upgrade it to allow extrusion of the sketches in the same tool, but I couldn't figure out how to get the extrusion menu as rich as the native extrude UI, so I figured I would just do it manually.

image.png image.png

Comments

  • g_j925
    g_j925 Member Posts: 6 ✭

    Updated to version 7 - now adds "exclude" box which allows specific edges on a face to be deselected.

    image.png
  • jim_zamecnik
    jim_zamecnik Member Posts: 115 ✭✭

    This looks pretty useful, I'll add it to my collection. I'm kind of a hack when it comes to printing so I'll take all the help I can get.

    I'm not doing much indoor stuff this time of year but sooner or later I'll give it a try. Thanks!