Thanks for the great video. The information for the icon copy is not valid for macOS. I have not been able to locate the icons. If you can offer any help, that would be great.
@LearnEverythingAboutDesign3 ай бұрын
Do you see the images in a resources folder when you are editing the code? On the default ones I am not sure since i am not on a MacOS but this might help. www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Fusion-360-Start-up-Icon-removed-from-dock-in-Mac-OS.html#:~:text=Navigate%20to%20the%20following%20directory,production%2FVERSION%20ID%2FAutodesk%20Fusion
@ReidRobbins-y1j3 ай бұрын
Does this method work with Bambu Studio? I followed along with the video and put in the location of the Bambu Studio program file instead of Creality Print and it's not opening when I click the new icon in Fusion 360. Any ideas on what I might be missing?
@LearnEverythingAboutDesign3 ай бұрын
hmm, i don't have Bambu studio installed at the moment but do have a P1 coming so I will try this out. To test this you can use the Right click Save As Mesh method and select the Sent To Print utility and find the bambu exe. If it doesn't work that way it likely won't work through the API. As soon as I get my printer here and running ill give it a shot. I need to sort out a few other things with this program so I will likely have an update.
@ReidRobbins-y1j3 ай бұрын
@@LearnEverythingAboutDesign Thank you for you quick reply! I tested it that way and it seems to work. I'll have to go back through the video and see if I messed something up somewhere. Thanks for your help!
@ReidRobbins-y1j3 ай бұрын
It turned out that when calling the "bambu-studio.exe" file, the backslash before the lower case "b" was acting as an inline backspace command. I changed the name of the .exe file to "Bambu-Studio" so that the "B" was upper case instead, and it seems to work now!
@LearnEverythingAboutDesign3 ай бұрын
@@ReidRobbins-y1j Awesome!!!! One thing I have noted using this a bunch is that the name of the body sent to the print studio is the actual back end ID of the file and not the name of the body/component. If that is important to you the code would need to pull the component name and pass that along. For me i rename them anyways but thought I would mention it.
@jtl7894561233 ай бұрын
@LearnEverythingAboutDesign Thank you for a great video, very informativ. I did however run into some problems, I hope you can clearify what may have gone wrong. To the best of my knowlage I have done everything step by step as the video shows. Problem: 1. I can't make it autostart with Fusion no matter checkmark or not in "Run at startup". I even tried to redo every thing with the checkmark set, but still not working. 2. If you have more than 1 document open it only works send the model from the document where the add-in has been started. If you go to another open document and click your icon then it still going to send document 1 to slicer. The only way to make it work is to stop and start the add-in when you are in the document you want to slice. Plece advice
@LearnEverythingAboutDesign3 ай бұрын
Thanks for the info! 1. Yeah that happens to me to and I am working on figuring it out so I can update. The problem it has around not running at start up I think is due to the empty untitled design being the first thing to load. Because it collects info about the design it won't auto start. I am looking for a solution. 2. That one is new for me! but i think relates to the same issue from step 1 about when it pulls the design data. The way to fix issue 2 is to move all the info about getting the design into "def command_created" so everything from product = app.activeProduct down to the for printUtil in printUtils: put all that above exportMgr.execute but under the futil.log If you do that it will work for whatever design you are currently on. The problem was the Active Product was taking the current design. now IF you move those things that should also enable the add-in to start properly when the program is launched. I will do an update video on this soon.
@LearnEverythingAboutDesign3 ай бұрын
I just made a video on the fixes.
@gevanvliet9093 ай бұрын
I can not find anything about the format of the file being exported, I like to use 3mf instead of stl. Can you point me in the right direction please? EDIT: replacing "createSTLExportOptions" with "createC3MFExportOptions" will do the job. The add in doesn't run at startup (the box is ticked). It seems the add in won't run in a document without bodies or components, Fusion by default starts in an empty document.
@LearnEverythingAboutDesign3 ай бұрын
Glad you found it, was just coming here to put the link in case someone else is looking. help.autodesk.com/view/fusion360/ENU/?guid=GUID-024aaf13-d3b1-4379-8f42-206d1ab7ef73 C3MFExportOptions is the one you needed which is in the link at the bottom in Derived Classes for the export object. For others there are options about exporting an f3d, iges, obj etc etc. As for the Run at startup yeah it seems the code doesn't like calling on the active design object when the file is "empty". I have moved everything from "rootComp =...." down to the for loop for the printUtil under the def command_created so those until the user clicks the button in the UI. Sadly run at startup still doesn't work, but it does let you run the add-in when there are no bodies/components in the design. So i am not sure why it doesn't like it still. I will have to do a bit more digging on that one...
@gevanvliet9093 ай бұрын
@@LearnEverythingAboutDesign I hope you find something, the button makes no sense if it has to be activated manually each time. This is a bit above my pay grade.
@LearnEverythingAboutDesign3 ай бұрын
@@gevanvliet909 Once you open Fusion you can hit Shift+S to open the utilities and run it and it will stay on while you have fusion open. so it does still have some benefit there. but yeah ill keep digging
@Remy212893 ай бұрын
Great video, can you point me in the right direction to learn how to code? 😊
@LearnEverythingAboutDesign3 ай бұрын
kzbin.info/aero/PLBDfGh8A8kXWGS4G5TNpHHVSIQPnSXCFV This video i tucked at the end of the API playlist but there are videos with some different examples of using API. I am not a programmer by trade but I would suggest looking at the first video in the playlist and check the description. I have a link to a python coding playlist from another channel that does a good job of explaining Object Oriented Programming. I cover some of that but dive into applying that to the fusion API.