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.

Chaos in search for a Featurescript

dirk_van_der_vaartdirk_van_der_vaart Member Posts: 549 ✭✭✭
It is becoming more and more difficult to search for a good featurescript.
Good example, look for a threadcreator, there are so many, what is the best.
There should be a good solution to sort all the featurescripts by catagory or something
«1

Comments

  • S1monS1mon Member Posts: 2,986 PRO
    See this thread for or this thread more of the same, plus some links to some (not so perfect or current) guides.

    You can also search for Ovyl or MBartlett or other key players when you're in the add Featurescript dialog (just try to avoid the "Copy" ones).


  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    edited September 2022
  • Axel_KollmenterAxel_Kollmenter Member Posts: 414 PRO
    Best regards,

    Axel Kollmenter
  • MichaelPascoeMichaelPascoe Member Posts: 1,989 PRO
    Something like this could solve the FeatureScript issue. This is much needed!
    https://forum.onshape.com/discussion/8551/onshape-portfolio-show-off-your-models

    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • Axel_KollmenterAxel_Kollmenter Member Posts: 414 PRO
    edited September 2022
    MichaelPascoe said:
    Something like this could solve the FeatureScript issue. This is much needed!
    https://forum.onshape.com/discussion/8551/onshape-portfolio-show-off-your-models
    Like an open source onshape part libary! Great idea!


    Best regards,

    Axel Kollmenter
  • MichaelPascoeMichaelPascoe Member Posts: 1,989 PRO
    edited September 2022
    @Axel_Kollmenter Exactly. Currently there is no good way to share things with everyone. The forum is better than nothing, but I imagine Only a fraction of Onshape users ever visit the forums.

    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • Axel_KollmenterAxel_Kollmenter Member Posts: 414 PRO
    I mean you can search the public page but in fact that every free user publishes his part automatically there are a ton of documents that arent ment to usefully shared to everyone. Do you know what I mean? Would be nice if onshape got its own implemented libary like grabcad or thingiverse.
    Best regards,

    Axel Kollmenter
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    @Axel_Kollmenter why don't you start one? 

    I agree, a fs library of standard functions would be nice. To create one, someone has to start it and share with other authors. The public space would never work because you're forced to make copies of it.

    OS is a collaborative environment, why aren't we collaborating?

  • MichaelPascoeMichaelPascoe Member Posts: 1,989 PRO
    edited September 2022
    Here are the different places custom features are currently listed:
    https://www.onshape.com/en/features/custom-features by Onshape
    https://featurescripts.bubbleapps.io/#!  by @MBartlett21
    https://github.com/dcowden/featurescript by @dave_cowden

    These are great attempts, but none of them are intuitive for a daily Onshape user. It would be great to have a built in "Feature Store" that was intuitive for all Onshape users to access from the tool bar.

    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    edited September 2022
    I haven't seen Dave Cowden in years and Morgan still bounces around occasionally. Bubble was a 1 click website builder and didn't have the functionality to scan the OS universe looking for cool feature scripts. Morgan had to pick and maintain the list.

    @NeilCooke does a great job reviewing feature scripts but never had an aggregator that automatically created a list of feature scripts. I like the newsletter Neil is currently creating and hope he continues that. Neil created the release format that many have used when publishing a feature script but even those are hard to find.

    I was going to use the API to curate a list and rank by popular votes but was advised OS was going to do it. I kind of wish I would have done it now since I've never seen a good list. I still have the code on my site but haven't worked on it for a while. You do realize that when quarrying the public space, there's a ton of activity. You might kill a server just trying to keep up with 1st time submissions. My site doesn't currently scale and I'm not sure I'd point a load balanced server stack at this task. It could get expensive.

    When I get some time I'll poke around and see if I can build an aggregated list. I won't do it manually but will see if I can get a computer to do the work for me.

     
  • Axel_KollmenterAxel_Kollmenter Member Posts: 414 PRO
    Regardless of the fact that I currently have no time for such things, I also have no idea how and where to begin. I know that the onshape team is busy with enough other things, I just said that it would be a good idea in itself.
    Best regards,

    Axel Kollmenter
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    edited September 2022
    It's a great idea. I'd contribute.


  • MichaelPascoeMichaelPascoe Member Posts: 1,989 PRO
    edited September 2022
    I'll help @billy2!

    What if we make a "Custom feature store" app and have a pop out panel on the right side of the screen? The features could be free if the author wanted, but that name gets the point across. 


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • dirk_van_der_vaartdirk_van_der_vaart Member Posts: 549 ✭✭✭
    Thank you all, this is what I was hoping for.
    Discussions like this will get us somewhere.
    I would like something like a folderstructure, all threadcreaters in 1 folder etc. etc.
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    I've been scrolling for an hour trying to find the bottom of the list. 



    From the user interface it doesn't look like you can ask for an ordered feature studio listing. The good news is you can ask for feature studios only. With continuous scrolling, it's a finger exercise to get to the bottom. I gave up flicking and never reached it. 

    I did inspect a lot of them and we'll have to filter the guys who wrote feature script, a lot of the standard library comes up, go download the standard library, it shouldn't be on the list. Dave Cowden's thread creator has been copied and duplicated a thousand times and it would be nice to filter the original author. Neil Cooke's beams is all over the place and since it's been released, it should be filtered. We can check for a pdf and add it to our index. It'd be nice to have all those feature scripts come front and center.

    And then we'll need to add this one for sure:


    @MichaelPascoe if you want to put it inside onshape, I'll give you a curated list through an rest api call. Let's see what happens, I'm going to build and viewer & editor first to curate a list on my server. I'll share a link once/if it's running.
  • xTimRicexTimRice Member Posts: 61 PRO
    I too would love to see a more integrated list of valuable custom features in the product. Right now I believe the best way to see the "curated" list is to click Add custom features > FeatureScript Samples:


    Handcrafted furniture in Boston
    https://thesmoothcut.com/
  • MichaelPascoeMichaelPascoe Member Posts: 1,989 PRO
    edited September 2022
    @xTimRice I think that is only a list of the Onshape approved fs.

    We are going for a public library of neat custom features while keeping the following in mind:
    • No duplicates (ex: thousands of copies)
    • Sort by type, author, usefulness rating, downloads, etc..

    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    More good news, I've got the feature script list:



    I'm going to move it to my server next so I can parse the response.

    I'll post a link when I get it behaving.
  • sebastian_glanznersebastian_glanzner Member, Developers Posts: 423 PRO
    It was during the last Onshape Live meeting, if I remember correctly. 
    There was an opportunity to talk with Onshape developers about FeatureScript. 

    I mentioned that we need a "store" for FeatureScripts where we can find and review them.

    I also mentioned the website thingiverse for 3D printed models.
    There you have the original file and "remixes" (which are copies that have had something added or changed). 

    FeatureScript is great, but it could be taken to the next level with a store or library.
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    edited September 2022
    I'm going to give it a try because I'm tired of waiting. I'm sure OS could do a better job having access to code I can't reach. Last night I keep thinking about  how to achieve a good listing and my 1st thoughts were to sort by links and then lookup by owners ID. This will put the best on top and will allow you to see all of Evans contributions easily.

    I've stubbed the page out on Rusty Shed and it's listed in my menus under Onshape. Other than that it's not doing anything.

    FS @ rustyshed.com


  • MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,050 ✭✭✭✭✭
    @billy2

    I notice you now have it listing a set of results from Onshape :)
    mb - draftsman - also FS author: View FeatureScripts
    IR for AS/NZS 1100
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    edited September 2022
    Thanks Morgan, keep checking back it'll be working soon.

    It's continuously scrolling now which I've always wanted to do, wasn't that hard.

    I've spent a lot time understanding the structure and what can OS actually do. I now understand the issues with a clean listing and an understanding of a humongous database structure. I think they need to add more search indices for searching feature scripts. In the meantime...... 

    I'm going to build a temporary cache database from OS that'll serve up a clean listing while we wait. They can build something far better than I can once they get the time. I'll still have to troll their database to keep the databases in sync. Maybe I can prototype something useful for people to use.

    Things I'm wanting:
    -look up by name
    -look up by ownersID
    -sort by # copies & referred to
    -sort by ownerID
    -destroy copies (I want the original author to stand out somehow)


  • xTimRicexTimRice Member Posts: 61 PRO
    Maybe you could have a “featured” designation that you manually assign to the originals? To make them standout from copies. 
    Handcrafted furniture in Boston
    https://thesmoothcut.com/
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    edited September 2022
    @xTimRice that's a great suggestion.

    There's a parent field in Json and I'm thinking if there's no parent than maybe it's the original? You can also check the create dates and pick the oldest date. I'm using Dave Cowden's thread creator as an example, There's many copies that have more references than Dave's original and they're the same script.

    My goal is to have the computer do all the work without me/anyone curating the list. Maybe that's a foolish idea.

    Thanks for the suggestion,


  • caden_armstrong2caden_armstrong2 Member, User Group Leader Posts: 127 ✭✭✭
    @billy2
    The parent field for a document is what folder the document exists in.
  • caden_armstrong2caden_armstrong2 Member, User Group Leader Posts: 127 ✭✭✭
    @billy2
    You could curate the list by looking at the "likes" count for the document:
    /api/documents/did returns a field called "likes"

    More likes might mean it is better...
  • S1monS1mon Member Posts: 2,986 PRO
    I haven't been digging into this as much as @billy2, but I'm not sure "Likes" (or Links) is always useful. I thought I saw a lot of older FS with a bunch of "likes", but then some newer ones that might be better with not so many. It may be useful to have access to the count, and be able to sort by "likes" but it's not necessarily going to fully help. There are a lot of popular (likes, links) older FS which have been replaced by built in functionality. Some, like "Beams" has "(Legacy - use Frames feature)" in the name to clue people in, but I bet there are others which are lurking...

    Ultimately we need the equivalent of an App store for FS (with reviews and some sort of vetting process), but this seems like a super helpful step in the right direction.
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    edited September 2022
    @cody_armstrong thanks for the parent definition.

    No one uses like, they don't even click the I like my own script button. Reference (link) is the biggest tell and is the best indicator.

    I'm going to add them all up and build one simple index. One big yes or a no, simple.

    If this takes off I'll put it in the OS app store that way I'll know who you are and we can start voting things up.


  • MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,050 ✭✭✭✭✭
    For something that is reasonably unique for the original copy in my scripts, I have been setting the description of the document to contain 'official'. The description isn't copied when the document is copied, which means that searching with description:official doesn't usually bring up any copies. This is also what I use in the view link in my signature.
    mb - draftsman - also FS author: View FeatureScripts
    IR for AS/NZS 1100
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,686
    Good idea on the description. I put “official” in the version name but you can’t search for that. 
    Senior Director, Technical Services, EMEAI
Sign In or Register to comment.