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.

Custom Feature: Tangent Fill

ry_gbry_gb Member, csevp, pcbaevp Posts: 195 PRO
edited 3:59AM in FeatureScript

FeatureScript link

I've been using SolidWorks a lot lately (not by choice) and one of the features I found that is nice is the Tangent option in the Filled Surface feature for when you're filling in patches in places where fillets leave sharp pinch points.

Now, while the native Onshape Fill already does this, it's a PITA having to click on each dropdown to select Tangent. So here it is, folks. That's all this does. It defaults every edge continuity to tangent. I did throw in a select Open Loop edges option for the extra lazy folks like me.

On the off chance that no else has built this yet, just look at how many clicks I've saved you! In the example below, using regular Fill, it takes 12 clicks, while Tangent Fill needs only 1 click. I just gave you 15 seconds of your life back. Or else, let me know if this already exists, so I can delete this post (or the equivalent of that) and I can forget about this script I hastily put together.

image.png

Ramon Yip | glassboard.com

Comments

  • jim_zamecnikjim_zamecnik Member Posts: 66

    We are not worthy! 😉

    Screenshot_20260505_073419_Chrome.jpg
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 6,026 image

    If, after you make the first selection in Fill, you set the continuity to Tangent, all subsequent selections will also be tangent. This does not work with create selection though, so very useful and cool feature!

    Senior Director, Technical Services, EMEA
  • ry_gbry_gb Member, csevp, pcbaevp Posts: 195 PRO
    edited 12:47PM

    That's odd. I made it public before posting. Try again now.

    Another thing is you can't access FeatureScript tabs while on mobile.

    Ramon Yip | glassboard.com

  • ry_gbry_gb Member, csevp, pcbaevp Posts: 195 PRO

    Good to know! I'll keep that in mind for other edge cases.

    Ramon Yip | glassboard.com

  • MDesignMDesign Member Posts: 1,385 PRO

    That's an interesting way to do those corners. Is this something that you regularly "need" to do? or is it just preferred? And for what type of objects is this being applied to? Curious about the real world use cases that prompted this.

    Maybe you could probably create an "auto fix" feature where it does all that sketching/extruding/deleting for you and then applies the tangent fill feature all in one go. I've not created any scripts though. Just thinking out loud.

  • ry_gbry_gb Member, csevp, pcbaevp Posts: 195 PRO
    edited 3:41PM

    It's commonly done in industrial design for aesthetic reasons. It's a direct application of this:

    You're right that all of the steps could be automated, but generally speaking the blend tends to be pretty custom. I just automated the one pain point I saw in Onshape, compared to SW. It'd be cool to automate the whole workflow, though.

    Ramon Yip | glassboard.com

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.