Using ChatGPT and Fusion 360 API to Create a Script | How To Make A Script for Fusion with GPT3.5

  Рет қаралды 14,218

Learn Everything About Design

Learn Everything About Design

Күн бұрын

Пікірлер: 37
@lee3Dscanning
@lee3Dscanning Жыл бұрын
Excellent video. I've been curious about connecting these two dots.
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
Thanks Lee. I have more playing around to do with this tech. I think in the next 6mo or whenever GPT5 is out that will be the game changer for this. Right now Its a good tool to help, but its not really a replacement in my mind.
@jakebirkmaier5703
@jakebirkmaier5703 Жыл бұрын
I have played around with using GPT to try and write a F360 API script and had very similar results of it being pretty close to correct, but having so many flaws that it would've been more useful to write the entirety of the code myself.
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
Thanks for sharing! I have no doubt it will get better (but also scarier :))
@Kabel3267
@Kabel3267 Жыл бұрын
I was just thinking about trying to learn more about chatGPT and designing for me, when I saw this from you! I i am watching all your video to learn more about fusion 360, because I want to design a water hydration system for my tri bike. but am getting a bit stuck...
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
let me know what you are stuck on. By water hydration do you mean for you? You can email me support@caducator.com . From everything I have done with GPT3.5 so far it can be helpful but not a replacement. GPT4 im told is the way to go.
@macedesign
@macedesign Жыл бұрын
Agree with other comments that GPT4 provides way better results. Maybe a dumb question - is there a way to trigger a plugin externally? Seems like only way to run a script is to press run within fusion, right? Would be cool to have a method for text or values that load in an external sheet auto trigger the plugin. Or if that doesn’t work maybe a time-based trigger..
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
Thanks! In Fusion there are 2 "flavors", a Script and an Add-in. In this video we make an addin which has a button in the UI. kzbin.info/www/bejne/kJi1faR4d7ujp6c Add-ins can be set to run at the start of fusion and do several things like send and receive HTML/browser data. If you add-in is running you could have it set up to "listen" for an event with a handler I suppose. I guess it kind of depends on what the end goal is that you are looking to achieve.
@macedesign
@macedesign Жыл бұрын
@@LearnEverythingAboutDesign thanks so much, exactly the direction I was looking for. I’ve been thinking of ways to offer & automate semi-custom designs. Where a subscriber purchases a design that pulls specific dimensions or sketch text from their input. Ideally the event is as automated as possible / just exploring feasibility!
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
@@macedesign Sounds like a cool idea! There is a product for Solidworks that does that called Driveworks and it will generate the 3d model, drawings, even email them to MFG. help.autodesk.com/view/fusion360/ENU/?guid=GUID-DF32F126-366B-45C0-88B0-CEB46F5A9BE8 I would take a look at the HTML event thing in the sample. maybe that will give you some sort of pass-through to drive a design
@TROYOSTRANDER
@TROYOSTRANDER 10 ай бұрын
Damn Matt, Such good content! Thank you.
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign 10 ай бұрын
Thanks!
@MuitoDaora
@MuitoDaora Жыл бұрын
Maybe Bing Chat is better at this? It seems better with common interactions.
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
Thanks. I have tried a few but didn't use Bing Chat. There is an endless number of choices. GitHub coPilot, Microsoft Edge has one. Bard etc etc. I think in the next few months the playing field will level a bit, but I think one big issue is that these resources have to make assumptions about the API, sometimes it pulls info from bad code online, sometimes its directly from the API help(or would seem). Some people have suggested various apps or interfaces that I haven't heard of. There is even a new text to 3d that builds point clouds based on voice or text...
@MuitoDaora
@MuitoDaora Жыл бұрын
@@LearnEverythingAboutDesign I don't know about those ones but Bing is implement with GPT4 which could yield more consistent and assertive results. Especially in Creative Mode.
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
I did give Bing a try, interestingly it got some harder code right the first time but had issues with easier stuff like ui.messageBox. it kept making it complicated and when feeding the errors back it wouldn't actually change the program although it claims it did. Ill do more playing! thanks
@TreeLuvBurdpu
@TreeLuvBurdpu 10 ай бұрын
I wish i could read that little tiny screen. Cool static graphics though.
@JackInns99
@JackInns99 Жыл бұрын
I've been playing around with this API and I am really struggling to understand the CAM part of the API, specifically generating setups where one does not exist. Any suggestions for the best places to find more info besides the documentation?
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
Can you give me an example of a script you are trying to write? I know you said not the API documentation but here is a sample program that starts in the design workspace, models a part, switches to MFG, makes a new setup and creates toolpaths. help.autodesk.com/view/fusion360/ENU/?guid=GUID-995d634e-a8ef-4f2b-a826-1d32171f4998
@tairanliu2210
@tairanliu2210 Жыл бұрын
Can I import a web server to this environment to expose some of the functionality to the web
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
there is an HTML event handler. The add-ins that let you browse and insert parts like McMastercarr are all done as add-ins through the API so yes it should be possible. When you create a new Add-in, the sample code will have an HTML event handler. Inside of the code go to Commands > Browser > entry.py to see the sample code for it.
@ibrahimal-saif9322
@ibrahimal-saif9322 Жыл бұрын
Can I ask what is the reason for using fusion 360 and not solidworks, I use solid work and I want to know if there is a big difference
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
If you are making a script in Solidworks you will be either using VBA, like you do with MS word, excel etc, or C(which you can also do in fusion). The main reason for using Fusion is the cost of the tool vs Solidworks. Its free for Hobby users and the commercial license is between $300-$500/year depending on when you buy/sale etc. If you want to learn Solidworks API I don't have any current videos on that but I suggest going to CAD Sharp. Ive done project with Keith there and he is the best of the best and has a lot of free resources on his site. www.cadsharp.com/
@ibrahimal-saif9322
@ibrahimal-saif9322 Жыл бұрын
@@LearnEverythingAboutDesign Thank you so much
@user-lu9wh1wu9c
@user-lu9wh1wu9c 10 ай бұрын
Not sure If this is appropriate to ask here, but I can find the answer anywhere. And many forums that I have checked the solutions offered haven't worked for me. When trying to edit the API scripts it does not open VS Code. I could not do it on my computer at work so I tried to see if it would work on my computer at home and it did work. One thing I noticed was that my work computer never had the .env file, while my home computer did. When trying again a day later my home computer no longer open VS code. When opening Fusion 360 and going to edit the script a quick command terminal pops up, then disappears and nothing happens. I'm sorry but could someone link me to a known working solution.
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign 10 ай бұрын
Any question is welcome. While I haven't had this happen personally, I have seen it come up before and usually reinstalling VS Code is the work around. You could open VS Code and from the help menu "Check for Updates". Maybe an update is needed and that would resolve the issue. If a repair/reinstall of VS code doesn't fix it, the next thing I would try is repairing the fusion install. Probably a long shot. Are your work and home machines running the same OS? win10 or win11?
@user-lu9wh1wu9c
@user-lu9wh1wu9c 10 ай бұрын
Sorry for the late response I have been communicating back and forth with the Autodesk service line. Wanted to check everything with them before coming back here in case I got a solution. Thank you for the suggestions they did not seem to work. One thing that is unusual is that it will open VS Code when it is a C++ script but not when it is a Python script. I believe it is something with the way my company set up my work machine, I tried it on a coworkers computer and it produced the same problems, where C++ was fine but Python was not. I was getting an error Unable to get local issuer certificate, which I believe has something to do with our network, so I am trying to get local IT on it. Although, even when I use my hotspot it still produces the same results with my home working and work computer not working. Also, to answer your question No, my work machine is win10 while my personal is win11. @@LearnEverythingAboutDesign
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign 10 ай бұрын
@@user-lu9wh1wu9c Thanks for getting back with more info, but sorry it still isn't fixed! In the old days Fusion would come with a python scripter if there wasn't one on the machine. Not that you want to uninstall fusion and vs code, but maybe as a last resort. With your VS code at home (without your company IT control) do you have any python extensions installed?
@user-lu9wh1wu9c
@user-lu9wh1wu9c 10 ай бұрын
Yes, I have Pylance v2023.10.40 and Python v2023.18.0. I did uninstall Fusion and VS Code at work. Then reinstalled Fusion and when trying to edit the script it had me download VS Code through there, but still no luck.@@LearnEverythingAboutDesign
@brianzacharias
@brianzacharias Жыл бұрын
Could you please show us how to 3D model a turbocharger 👉👈😅
@brianzacharias
@brianzacharias Жыл бұрын
I’ve been watching your videos and I’m genuinely in disbelief that you aren’t getting more views. You’re showing all the secrets to design and you’re really ahead of the game here
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
Thanks! it has been growing but other than the last few seconds of the video I never ask for Subs and that might hurt me :) On the turbocharger are you looking at just how to model one? Or for production casting?
@glowing_kitty
@glowing_kitty Жыл бұрын
Using 3.5 is the problem here… GPT4 is way better in terms of quality of the results. So I would never advise using GPT3.5, except for some very very simple stuff that needs to be cheap to generate.
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
Yeah that is what I keep hearing, but since GPT4 is available to developers they don't seem to be publishing who is using 3.5 and who is using 4. How are you accessing 4?
@MakeTechPtyLtd
@MakeTechPtyLtd Жыл бұрын
@@LearnEverythingAboutDesign have you upgraded to pro to access GPT4 yet?
@LearnEverythingAboutDesign
@LearnEverythingAboutDesign Жыл бұрын
@@MakeTechPtyLtd I tried it on Bing and it did better with complex code but struggled with more simple tasks oddly. On there i was hit with a limit of replies per day.... I haven't tried it directly on OpenAI though. How do you know which site is actually using GPT4?
@Lone_Wolf-nu1bm
@Lone_Wolf-nu1bm 3 ай бұрын
screw AI ....
Reverse Engineer Workflows in #fusion360  Part 1 | How To Work Use Mesh Section Sketches
31:13
You’re using ChatGPT wrong
9:31
Jeff Su
Рет қаралды 396 М.
Modus males sekolah
00:14
fitrop
Рет қаралды 10 МЛН
Touching Act of Kindness Brings Hope to the Homeless #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 6 МЛН
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
Watch AI Program a CNC From a CAD Drawing!
8:59
CamInstructor
Рет қаралды 168 М.
Fusion 360 Automation Using Python P1
22:25
Future Automation
Рет қаралды 4,1 М.
10 tips for Fusion 360 that I wish someone told me sooner.
12:32
Austin Shaner
Рет қаралды 352 М.
Automated Modeling Fusion 360. The future of CAD?
7:26
Product Design Online
Рет қаралды 105 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
Fusion 360 Tutorial to Create a Maker Coin for 3D Printing
19:53
3D Printing Nerd
Рет қаралды 101 М.
Modus males sekolah
00:14
fitrop
Рет қаралды 10 МЛН