OnShape feature to quickly define an edge refinement using multiple cylinders


#1

So I decided that I need to refine a complexly shaped edge in SimScale. At the moment this needs to be done using cylinders and refining the region. I decided to tackle this by creating a featurescript that allows me to pull coordinates and axis lengths using two selected points, and I thought I would write this post in case anyone wanted to use it in the near future. the link is here:

https://cad.onshape.com/documents/4a2b4bde5cc14a9f2c7d726c/w/87ac5510e853f687b0bdcc49/e/9f073bc09f1a10b26be87268

this is one of the features in use in OnShape:


As you can see the parameters are printed to the featurescript notices.

Here are the resulting cylinders in SimScale:

I’m sure even after we get edge refinements this will still have a place although a lot less needed.

Kind regards,
Darren