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.

ChatGPT Atlas for FeatureScript vibe coding

S1monS1mon Member Posts: 3,917 PRO

OpenAI has introduced ChatGPT Atlas, which is their own web browser with built in ChatGPT agent functionality. So far this is MacOS only, but Windows is in development.
https://openai.com/index/introducing-chatgpt-atlas/

What this means potentially is that you can use ChatGPT to vibe code FeatureScript. So far I'm not getting any particularly exciting results, but I'm not giving it the easiest problem. It does have the ability to edit the code within the FeatureScript tab of an Onshape document. It will hit the Commit button for you if you want. Again, I'm just starting, but it does seem like we're heading in the right direction.

Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

Comments

  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 638 PRO

    I'll give it a shot and see if it can dethrone Codex from my vibe coding toolbag. Codex did just get a quantization nerf that I'm not happy with working around lately so it might not take much.

  • sebastian_glanznersebastian_glanzner Member, Developers Posts: 473 PRO

    Can ChatGPT Atlas use two browser tabs at the same time?
    Then it could code in one, commit the FeatureScript and check the result in the PartStudio.

  • EvanReeseEvanReese Member, Mentor Posts: 2,788 PRO

    I'll have to test as well

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
  • S1monS1mon Member Posts: 3,917 PRO

    I'm again trying to use ChatGPT with FeatureScript. It's gotten much better than it once was at knowing something about FeatureScript. It's doing a pretty good job of helping me think through a feature at mid to high level - including the math and the geometric algorithms. I haven't gotten to the point again where I'm trying to get it to generate real code. In asking about the best way to do that now, it "thinks" using VSCode with Codex and GitHub would be better. This seems odd since they have their Atlas Browser.

    Since this thread was last active, has anyone else successfully done FeatureScript development with Atlas or using ChatGPT/Codex with VSCode?

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • MichaelPascoeMichaelPascoe Member Posts: 2,763 PRO
    edited January 22

    @S1mon this isn't exactly what you were asking, but Gemini 3 pro has decent results using Antigravity if you give it reference files. When that fails you can hit up the latest thinking version of Claude (which is still the best at coding afaik). That said, you still have to keep a tight leash on it so it doesn't hallucinate.

    .


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 638 PRO

    My preferred approach lately is to link Github copilot to a mirrored repo of the standard library and all of my custom features and send all my prompts through an agent. Cleans up 95% of hallucinations and only costs 1 premium request per prompt.

  • S1monS1mon Member Posts: 3,917 PRO

    Some updates…

    I did a bunch of work on Bridging Curve Plus and Edit Curve Plus all by using ChatGPT by cutting and pasting back and forth between the ChatGPT app and the Onshape document.

    I'm now starting to use Codex with VSCode and GitHub. Unfortunately I barely know how to use VSCode or GitHub, so that's an uphill battle, but having it edit directly without me having to find where to put things in >3k lines of code is going to be much much better.

    I really wish Onshape would integrate agents into the FeatureScript editor directly.

    The first party AI Advisor is ok for answering a lot of basic things that might be in the Help files or a few other places, but it doesn't know much about FeatureScript development. I was trying to figure out how to add an import of a feature which is not in the std library and AI Advisor couldn't point me to the button that makes adding the reference easy.

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • EvanReeseEvanReese Member, Mentor Posts: 2,788 PRO

    @S1mon I'm looking forward to a dedicated AI for writing FeatureScript. I'm sure the reason it's not there yet is not that it hasn't been thought of or put on the roadmap. I hope it's because they plan on nailing the implementation instead of rushing it to check a box.

    on Codex, I have started using it as well, and find that it does do better than plain GPT for big things. For example, I had been using ChatGPT to produce some HUGE tables in a certain map format I gave it, and it often just wouldn't complete the whole thing, or it would forget a previous fix it made and revert to something older, which is frustrating to catch, and scary that I might not catch it. Codex seems to address that well. There is lots to learn on AI for code, so I'm glad there's a discussion going on here about it..

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
  • S1monS1mon Member Posts: 3,917 PRO

    I wonder how hard it would be to use the API to write a tool to sync GitHub with a FeatureScript tab in an Onshape document.

    @Caden_Armstrong ?

    @MichaelPascoe ?

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 638 PRO

    @S1mon if I had an interconnect that github copilot could actually get semantic feedback and auto self test that features do in fact build you wouldn't believe the amount of vibe code I'd unleash on the unsuspecting Onshape masses. That's the slowest part of this whole thing right now.

  • MichaelPascoeMichaelPascoe Member Posts: 2,763 PRO
    edited January 28

    @S1mon you mean to go from Onshape to GitHub or vise versa? Probably not too hard. @Konst_Sh would have a better idea of the difficulty than me, he made FS Node Studio which creates and updates a FS tab.


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • Konst_ShKonst_Sh Member Posts: 122 PRO

    we can have a script which would push a local file with code to feature studio on every change event for example as quick and dirty solution, but then every user would exhaust its api limits on it, as it would work based on api keys

  • S1monS1mon Member Posts: 3,917 PRO

    Ugh. Perhaps this is really something that Onshape should/could do? They already have optional cloud storage integrations to Dropbox, GDrive and OneDrive.

    I added an improvement request:

    https://forum.onshape.com/discussion/29973/add-integration-with-github-for-featurescript-development

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • sebastian_glanznersebastian_glanzner Member, Developers Posts: 473 PRO

    What about "Operator" AI models which can control your mouse, keyboard and screen. Does anyone have tried that, or any experience?

Sign In or Register to comment.