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 Custom Feature: Thread Decal

EvanReeseEvanReese Member, Mentor Posts: 2,186 ✭✭✭✭✭

Thread Decal finds threaded faces in your model, and wraps them in a decal of a thread with the correct pitch. This makes it more obvious in your model which faces have threads, and can help in communicating your design intent without having to model 3D threads that bog down your regeneration time. Here's a short video tour. Let me know if you end up using it!

Evan Reese

Comments

  • Ste_WilsonSte_Wilson Member Posts: 364 EDU

    That's awesome.

    I shall be encouraging my students to use this.

  • S1monS1mon Member Posts: 3,039 PRO

    Once again, @EvanReese creates a custom feature that should be a standard part of Onshape.

  • EvanReeseEvanReese Member, Mentor Posts: 2,186 ✭✭✭✭✭

    Aw shucks. Thanks Simon!

    You know I'd love if decals could be a bump map, which would render these a bit better, and be handy to represent textures. I had to just make a believable-ish shaded thread image.

    Evan Reese
  • eric_pestyeric_pesty Member Posts: 1,947 PRO

    Did a quick test and these do not show up in Render studio…

    I'm guessing that's a "backdoor" feature that only specifically imports decals "features"!

  • glen_dewsburyglen_dewsbury Member Posts: 822 ✭✭✭✭
    edited December 16

    Lookin good Evan. This will be very useful and done seamlessly. I agree with Simon. This could added into hole and external thread functions so it makes threads obvious from the get go. Is it possible to add another selection set so that the select all gets most with another list individually selected can have faces select sets for things like the tapered thread can happen within one run of the function. The thread decal can reside at last position in feature list. Just keep dragging it down or roll back ahead of it since the select all will just pick up any newly add thread information. I've already tried dragging down and it works well. A minor challenge for the OS team I would think.

  • Oliver_CouchOliver_Couch Member Posts: 226 PRO

    Nice work @EvanReese , very schmick.

  • EvanReeseEvanReese Member, Mentor Posts: 2,186 ✭✭✭✭✭

    @eric_pesty Thanks for checking. I don't have access to Render Studio at the moment so I can't trouble shoot, but I assume you're right. I don't think it would make a very pretty render anyway though (maybe better than nothing). If you didn't have modeled threads I imagine some mix of displacement maps, and roughness maps would produce a much more believable result.

    @glen_dewsbury I suspect something like what you describe will happen natively eventually and I'll be happy yet again to have a feature of mine made obsolete by something better. As for adding multiple selection fields, yes I could do that, but I don't think it's functionally different than just using the feature twice. It feels to me like wanting to have multiple selection fields in the fillet tool so you don't have to have a folder full of individual features, but in practice it would be the same amount of work to use and harder to troubleshoot when it fails. If this is a case you find yourself bumping into over and over ping me about it again though.

    Thanks @Oliver_Couch

    Evan Reese
  • glen_dewsburyglen_dewsbury Member Posts: 822 ✭✭✭✭

    @EvanReese

    Your rational is about the same level as mine for having an expanded selection set so ignore.

    It's a pretty sweet FS as is.😁 Something I've wanted to see for years.

  • MichaelPascoeMichaelPascoe Member Posts: 2,012 PRO

    Nice! This is going to be a huge hit.


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • tabetha_bulnestabetha_bulnes Member, Developers, HON-TS Posts: 26 PRO

    First I would like to say this is a pretty neat concept. I thought it is really cool. Great job @EvanReese

    I tested this, the decal does appear but only in one location. This is an id issue. You will need to update the FS line 136 to be something like "……. createCylindricalDecal(id + "decal" + i +j, ……." where "i" is the threadCount and "j" is for each unique hole (new variable in upper for loop).

    Now this will bring in a stack of decals for each hole in the render studio. The new issue is that once you get to the render studio, the render studio doesn't know to modify the decal nor does it seem to know how to pattern the decal in the hole.

    So here I have a larger hole and the decal does not wrap all the way around the hole. I haven't found anything yet that will replicate the FS.

Sign In or Register to comment.