John, I've followed you since the early days and you were instrumental in helping me get started machining on my own. I have not watched as many videos of yours the last few years but I had to jump in here and say that THIS video is THE ONE. This is helping me work toward getting a post processor modified for a new lathe that doesn't have any kind of Fusion support. I NEVER EVER would have found out how to do this, or even that it was possible, without this video. Please keep it updated, and add to it!
@cbyrdtopper4 жыл бұрын
One of my buddies showed me Visual Studio Code last year to edit post processors. Game changer! It makes it so much faster! Great video! Thanks for showing the custom G Code as well, that's extremely useful.
@hillfortherstudios27574 жыл бұрын
Unquestionably the best machining KZbin Channel! Very good content!
@slammenwagen4 жыл бұрын
What an awesome idea! Added to watch later. Cheers for this dude!
@senorimotor4 жыл бұрын
This is GREAT!!!!!! Great editor and perfect instructions...Thank you, thank you, thank you!
@RenThraysk4 жыл бұрын
Software developer here, and seeing people edit code without using source control gives me the hebbie gebbies. Code's git integration is pretty nice, but there is a learning curve.
@ChristophPech4 жыл бұрын
Indeed. Hearing quarantined folders and files gave me some terrible goosebumps. Just use git and be perfectly safe.
@pabloa2814 жыл бұрын
mind breaking that down? layman here, learning is fun
@headmaxify4 жыл бұрын
@@pabloa281 Git (en.wikipedia.org/wiki/Git) is a source control system. It can store versions of files, track changes and tell you who did what change when (and why if the author commented the change). Git is used for millions of projects, mainly for source code for software but it can be used for any type of text file. And VS Code is able to work with git. It can highlight local changes, show differences between versions and a version history. If you "commit" every change into git you can always go back to any previous version, create new versions based on old versions, merge improvements from other versions and so on. It's a must have for teams but really useful for individuals as well.
@VincentFischer4 жыл бұрын
Sure about that? We deal with sometimes huge gcode files and that would bloat a git repo super fast
@RenThraysk4 жыл бұрын
@@VincentFischer He was editing a post processor. There is an extension for git, Git LFS, that allows version control on large files (couple of gigabyte sort of range).
@jasonjoens2794 жыл бұрын
This is so Awesome, John! And here I am, already using VS Code for Arduino and other microcontroller projects. Learning about post processors and how they work is an important step for me, too! You just gave me another gem I didn't even know I needed!
@MakeTechPtyLtd3 жыл бұрын
Totally awesome resource. This just enabled me to switch the G43 to a G44 for my machine. I did find the example code "Milling 3+2" were buggy. I just used turning example and some actual code and worked it out. -Ken
@bcbloc024 жыл бұрын
I think this will be VERY VALUABLE AND HELPFUL when I finally quit being scared of firing up my old Cincinnati CNC mill.
@mk1engineering2453 жыл бұрын
Thanks for taking the time to make this invaluable vid!
@stefanhertweck4 жыл бұрын
Excellent feature. Thx John!
@hartmutharwat26574 жыл бұрын
Thank you John this was a very helpful tip of the day. Greetings from China.
@MrDaniell12344 жыл бұрын
George did a good job of this last year.
@willbaden75634 жыл бұрын
Thanks for sharing this great tool!
@clintonconger46654 жыл бұрын
Awesome, can't wait to try this!
@bostedtap83994 жыл бұрын
Extremely useful, many thanks for sharing.
@abdiautomation64514 жыл бұрын
Incredible Work!!!!
@1998clayster4 жыл бұрын
This would have been very useful for modifying the post for the DMG. Thanks for the tip.
@ltborg4 жыл бұрын
Fantastic info, thanks!
@ROBRENZ4 жыл бұрын
Awesome John! Thanks, Robin
@googacct4 жыл бұрын
For projects like this or others, do you use version control software like subversion or git? This can be especially useful if you are doing experimentation. You can save your state before making a bunch of changes. If they do not work as expected, you can roll back to an earlier version or just compare versions. Also VS Code has integration with git and svn. So it makes it particularly easy to commit changes. I do my cad/cam work in Alibre/Aspire and always commit to a repo when I am done with a bunch of changes.
@pevlabs2 жыл бұрын
Fantastic tips, thanks for sharing.
@exodustwelve20444 жыл бұрын
Ok got to the video that's so cool for editing 👌
@shawneliason7903 жыл бұрын
BAD ASS!! This is going to be SOOO fukkin useful! Glad I found your vid!
@andrewgiles61924 жыл бұрын
Thanks John, fantastic content! it's not a retro fit, it's 100% old fashioned fanuc OTA circa 1989. Still chugging. Who thought I'd ever have lathe envy of a SMW machine... 😃
@NONAMESLEFTNONE4 жыл бұрын
I'm going to need to come back to this!
@drummerhammar4 жыл бұрын
This is great, thanx!!
@klazzera4 жыл бұрын
thanks, you saved my life
@frankr6084 жыл бұрын
How do you do the copy external editor part for a MAC ?
@marklevenspiel90363 жыл бұрын
I’m new to this but I have to give it a go.
@EdgePrecision4 жыл бұрын
Wow! this is very useful. I will be trying this to possibly make a usable post for the Mazak Integrex. Thanks John! Autodesk doesn't really help with none standard post processors. They direct you to a contractor to get a special one. I can understand why but still. This will change all that.
@colinbrandon99122 жыл бұрын
you prolly dont give a shit but does someone know a method to get back into an Instagram account..? I was dumb forgot the account password. I would love any tricks you can offer me
@mitchellbaylor81322 жыл бұрын
@Colin Brandon instablaster =)
@colinbrandon99122 жыл бұрын
@Mitchell Baylor i really appreciate your reply. I got to the site on google and I'm trying it out now. Takes a while so I will get back to you later when my account password hopefully is recovered.
@colinbrandon99122 жыл бұрын
@Mitchell Baylor It did the trick and I finally got access to my account again. Im so happy:D Thanks so much you really help me out :D
@mitchellbaylor81322 жыл бұрын
@Colin Brandon You are welcome :)
@rohanshet1234 жыл бұрын
Hi thank you for your video.. I have one problem in visual studio, I don't see anything in CNC selector option.. there is + Sign to add folder, but it's not working..
@tat2joeelliott4 жыл бұрын
Does this work with other cad cam programs? Like mastercam?
@petr46553 жыл бұрын
Hi, does this program work with other CAM systems?
@lavrgs2 жыл бұрын
Does it work the same with other post processors - like Mastercam? Or does it need a different extension?
@georgemuzek38622 жыл бұрын
Great video Thanks for your hard work.This works amazing for milling post processors but i need to modify plasma post processors.Is there a utility that works for plasma posts?
@philliprgarcia4 жыл бұрын
I LOVE VS CODE!
@tj93823 жыл бұрын
Top job.
@Promise_deal2 жыл бұрын
Thanks for sharing. Bro
@lzus6676 Жыл бұрын
Just found out about visual studio code and really like the linking-post-to-nc-code-for-debuggig-feature. Doesn´t seem to work for me though somehow. I have installed GCode and HSMWorks plugins. Can somebody point me in the right direction, thx
@xecor37432 жыл бұрын
Could someone please help? The Autodesk Fusion 360 Post Processor Utility does not generate the G-Code when I select a file from the CNC Selector tab.
@wannageering4 жыл бұрын
FYI: VSCode works on all platforms, so it also works on Mac and Linux.
@bgpnu4 жыл бұрын
Except it appears to behave differently than described here. I am able to load the HSM Extension but beyond that Fusion and VSCode don't have the same menus or behavior as in the video. If anyone has instructions for getting those to work together do tell.
@sachie1234 жыл бұрын
Sweet👏👏
@greg23374 жыл бұрын
I cant get the post processor syntax to highlight when I click a G code line. What did I do wrong?
@inund84 жыл бұрын
Is there a way to do this with mastercam or solidworks?
@1972adrianm4 жыл бұрын
I got this all working to figure out why the Autodesk HSM/Fusion Doosan Fanuc mill/turn lathe post adds M126 and M127 codes that the Fanuc controller does not understand and causes a program stop. I click in a M127 code in VS and it does highlight a line of code in my post but I cant see where anything is triggering the M127.
@Mrtime12823 жыл бұрын
FYI: In John's video, he directs you to a CUSTOM folder to find your posted code. I found mine in the ALL FILES drop down and did not have a CUSTOM drop down at all.
@triggerguard13 жыл бұрын
for whatever reason I have nothing in the "CNC Selector" drop down that says "custom", nor have I had any luck being able to use the post processor on an actual post like you're showing. I can make the generic samples show up, but not my actual post.
@amrmusa72172 жыл бұрын
I just want to know if i was to make a cnc controller software for like a cnc router how would i make my own post processor from scratch i'm electrical engineer and im planning to bild my own cnc router but you know i just dont have enough resources so what would you advice me??
@oorhood4 жыл бұрын
Git for version control, easy to use with vscode
@michaelalcocer67784 жыл бұрын
Would I be able to edit the post processor of linuxcnc/pathpilot to allow for editing the G64 P? variable somehow in the pop up dialog box of fusion 360. Getting pretty tired of hand editing the code for that.
@ADSKGRoberts4 жыл бұрын
Yes, you could add that. If you wanted it in the post dialog, you would need to add an option into the properties object: Properties = { pathBlending: 0.1 } Then access that value with properties.pathBlending
@jimboknife72724 жыл бұрын
Interesting, Esprit's NC editor already has this feature.
@davidcarao6421 Жыл бұрын
Hi John, Can I use for cut a full circle the I, J, K addresses and for cut other degree circle the R address in the same postprocessor?? for have a Post as this example: (BEGIN CUTTING BLOCKS) ; G00 Z-1. (Rapids to Z-1.) ; G01 G41 D01 X-0.5 Y1.4 F20. (Linear move) ; (Cutter comp on) ; G03 X0 Y0.962 R0.5 F25. (Arc into thread) ; G02 J-0.962 Z-1.0625 (Cut threads while lowering Z) ; G03 X0.5 Y1.4 R0.5 (Arc out of thread) ; G01 G40 X0 Y2.4 F20. (Linear move)
@namnguyen-jg6rh7 ай бұрын
I have some questions: Can this software edit the gcode of Mastercam or Catia software?
@wagglebutt4 жыл бұрын
Holy crap!
@bojangles5226Ай бұрын
im not getting the cnc selector option when I click on explorer with my .cps post open.
@phillipgater96054 жыл бұрын
What post edit are you using? New too fusion and only opens in notepad. Kinda crapy,
@BGraves4 жыл бұрын
Notepad++ set the language to match the code
@PaulSteMarie4 жыл бұрын
Next up: we learn how to use git with vscode and fusion 😁
@petarpilipovic2637 Жыл бұрын
How to get this CNC SELECTOR in EXPLORER MENY ? thanks
@eddyandinc49743 жыл бұрын
hello sir i have question. how can i find my CNC postprocessor?i went to buy g code for my cnc engineer guy said my know my cnc post processor
@JackFilmTube4 жыл бұрын
First for public release
@tacoleman1 Жыл бұрын
does anyone have a solution as to why i keep getting "error running command CNC list.addfolder:....." when i try to select a machine under "cnc selector"?
@haroldjoubert19862 жыл бұрын
Amazing I am a Mastercam user does this work in Mastercam
@BK-bs8vn Жыл бұрын
Is anyone else unable to get the .cps file to hilight when double clicking on something in your .nc file? This video is over 3 years old by now, so I'm wondering if something has changed? Getting to about the 7 minute mark where you select 1001.nc from the custom dropdown, and I simply get "System Error Occured (spawn UNKNOWN)
@alishihade47514 жыл бұрын
Hi ,I was wondering why you prefer fusion 360 on solidcam , since solidwarks and solidcam are not bad .
@eric-89982 жыл бұрын
My company has used Solidworks / SolidCam combo for 17 years, with success. However, cost, feature bloat, disruptive upgrade cycles, poor collaboration tools, licensing headaches, and mercenary rent-seeking behaviours have driven us to Fusion.
@Roofers913 жыл бұрын
wow shit this helped me out a lot. thanks
@sanyamverma27063 жыл бұрын
Sir can you help me for .. converting .. MAC FILE post processor TO CONFIG file post pro?
@markdavis52553 жыл бұрын
When you post your G code, you don't get the message "SUCCESS" when running a MacBook. I could only get it to work in Windows.
@karljohnson7193 жыл бұрын
Know of an extension for mastercam?
@wakelessfoil Жыл бұрын
I keep getting a lot of errors. After I install the two extensions I can’t get the menus or anything.
@moacustoms94343 жыл бұрын
@6:57 in the vid...I don't have a "custom" folder under CNC Selector.
@movax20h4 жыл бұрын
What language is that post processor written in? It looks like JavaScript. I never used post processor before. But it is somehow weird to me they use JavaScript, instead of something more novice friendly and robust like Python 3. JavaScript is really meh, especially number handling because of how the integers and floats are the same, and you can get nasty issues. Plus things like scoping rules, and auto semicolon insertion on line breaks, is really trap sometimes in JavaScript.
@jrmitchellj3 жыл бұрын
Has anyone got this to work on the Mac platform? I got it to work in a windows VM, and am thrilled! But it is very slow. I would prefer to get it workin on the native Mac Fusion360 & VS Code.
@170cuda2 жыл бұрын
I was surprised to see how complex it is to make a simple edit in a Fusion 360 Post. It's a shame Fusion 360 does not offer a better, more user friendly approach to edits, especially simple ones. Your videos are great btw!
@benargee Жыл бұрын
With complexity comes power and flexibility. For a feature that is meant to work on so many different machines, it's short sighted to over simplify as it limits how many machines it could work with.
@170cuda Жыл бұрын
Good point, however, complexity is not what many (if not the majority) of programmers are looking for. Typically, most edits are just for simple changes. An overly complex post processor can be great for those that have the time and want extreme control. This is true. But for those looking for small adjustments, these types of editors are frustrating and extremely time consuming. Yes, there are benefits to both types of post processors, but from my 40 years of supporting and selling CAD/CAM, most post edits don't require the complexity.
@Tresoroeffnung Жыл бұрын
@@170cuda you think that is complicated? what cad/cam do you sell? Bobcad?
@170cuda Жыл бұрын
@@Tresoroeffnung Excellent question. I Started programming CNCs back in the early 80s'. Then after 6 years, I was hired to work for a company called Micropath where I sold and provided tech support for "Image" and "Pathtrace" CADCAM software. Fast forward 2 years later I was hired by Pathtrace and provided tech support for EdgeCAM. I moved up to sales and in 1999, I started a company called CAM Force. I sold and successfully supported EdgeCAM. Atfter 7 years, I then worked as a GibbsCAM reseller. Then, 15 years Ago, I became manager at OneCNCWest and have been selling and providing tech support for OneCNC. Needless to say, I not only have experience with those CAD/CAM solutions but also know the competition (Including Fusion 360). So respectfully, if you do a little research, you will find that making simple post edits within Fusion is not as easy as it could be.
@josephlabdik364 жыл бұрын
I have absolutely no luck with the DMG Mori CMX post processor. Maybe this doesnt work for this post? Every time I try any of the cnc selector options nothing happens. Same thing with opening the posted code "1001.nc"
@ADSKGRoberts4 жыл бұрын
Do you have the "post on CNC selection" option enabled? You could also try the shortcut CTRL+ALT+G once you have selected one of the files
@presicionturning56728 ай бұрын
Iam not able to open nc code together with post processor. Please help.
@mohammadtalha33423 жыл бұрын
what if you are using heidenhan post processor
@abdollahibrothers19293 жыл бұрын
Hello everybody! I need post processor for controller 4 axys, Richauto A18s. can anyone help me with this problem, please?i need to buy g code company asking me what is my cnc pp
@HardRockBLK4 жыл бұрын
Can you make a video doing this in Mastercam???????????
@Daniel_en_el_trabajo4 жыл бұрын
why you want to edite a gcode post processor?
@jameschesher39673 жыл бұрын
I have everything downloaded and visually it looks correct. However I cant seem to link the files together. When double clicking anything on the right side it doesn't appear to do anything on the left. Any insight is appreciated.
@dylangambacourt61922 жыл бұрын
Did you ever figure this out? I had a similar experience. The first time everything was installed, and followed all the steps, it worked perfectly. Once I closed the program, then re-opened it and opened my post file, and my sample file, it would no longer jump to the sections. Though found that uninstalling the extensions and re installing them made it work again. Seemed to me that once the files had a "JS" designation it stopped working as expected. But according to the video Johns files have "JS", so could be completely unrelated. 🙃🙃🙃
@foosaful2 жыл бұрын
I don't want an O-number for my programs, but I don't see the way to turn it off
@chuckschneider5625 Жыл бұрын
How do you simply renumber the entire posted code when you paste in an operation??? This seems impossible to do.
@OttoHarmonicaMania4 жыл бұрын
Does it work with Heidenhain? (.h)
@ADSKGRoberts4 жыл бұрын
Yes, the Fusion Post editor addin works with all Fusion Post processors
@joelstolarski22442 жыл бұрын
Just installed Visual studio 2022. When I type hsm it doesn't find the extension. Do I have to have Autodesk fusion 360 also installed in same pc ?
@grandmastersreaction1267 Жыл бұрын
I had the same issue. Searched for fusion 360 instead. However, I can’t find the hsm settings in settings. Nothing is coming up
@lou926563 жыл бұрын
I have my post open and a g-code file, but what is the trick to have them interact with each other?
@jrmitchellj3 жыл бұрын
You need to post with the special post "export cnc file to vs code.cps", then go into VS code, then your posted file should appear in VS code, under the vnc selector, custom menu selection. double click that and it should open and work. What environment are you working in, window or mac?
@jameschesher39673 жыл бұрын
I am having the exact same problem. Everything appears fine at a glance but they can't seem to recognize each other.
@DaRoach58824 жыл бұрын
I dont get it... I have the CPS open and click on face turning and I get nothing. I have also tried using a haas post and click on a 2D operation and still get nothing. In the bottom left I get a small pop up saying CNC File set then after a moment it goes away.
@tinusgaspedaal3 жыл бұрын
same problem here, what is the solution? thanks
@Ben2030184 жыл бұрын
I downloaded the hsm and the nc-gcode extension for visual studio code, but when I open a .cps post processor file, at the left select CNC selector, then milling then 2d and finally face for example I double click on it, but nothing happens. Can somebody help me why doesn't it work? Thanks a lot, Ben
@ADSKGRoberts4 жыл бұрын
By default, the command to post process in VSCode is CTRL+ALT+G. If you want to post process when you select a CNC file, you can enable 'post on CNC selection' from the user settings in VS Code. To access them, click F1 and type user settings
@Ben2030184 жыл бұрын
@@ADSKGRoberts CTRL+ALT+G worked. Thanks a lot, now I can try to edit a few things In it :)
@seanwakely499810 ай бұрын
Awesome video, but please update. Its hard to follow since fusion has changed so much over the years.
@advil0006 ай бұрын
Update relevant as of 2-2-2024... I suddenly could not get gcode to load against a post processor at all, not the built in test gcode in "cnc selector" and not a post out of fusion I'd just get errors saying the Autodesk extension wasn't installed in VSCode. Even a clean install of VSCode didn't help. The solution for me was to use "Install Another Version" of the Autodesk extension and install version 4.1.0. Test that it successfully will load a post to edit, then hit the update button in the extension and it will update to version 4.1.5 and magically keep working. I have no idea why Autodesk isn't testing the install and stability of the recent releases of the extension better but this worked for me on 2 computers with the same issue.
@urgamecshk4 жыл бұрын
My problem is finding a "glossary" of terms you can use, not so much where they are.
@MrDaniell12344 жыл бұрын
on the cam.autodesk.com/hsmposts? there is a link to the cam manual
@ADSKGRoberts4 жыл бұрын
As Daniel said, the manual is very useful. The API reference guide on that site is also useful and is exactly a 'glossary' of terms you can use
@urgamecshk4 жыл бұрын
Nothing I click in the CNC Selector opens :(
@sdminer494 жыл бұрын
not sure if you solved this but go to the settings and check the "Post On CNCSelection" option. I had the same issue.
@shanetiquin94484 жыл бұрын
@@sdminer49 Thanks for the info, I had the same issue.
@mioduz2 жыл бұрын
Same issue here nothing i double click in CNC selector opens? What am I doing wrong. I checked to make sure "Post on CNCSelection" option was turned on. It was. Any other advice??
@frankr6084 жыл бұрын
seems like for mac you need to install a debugger
@azzibee4 жыл бұрын
trying to get a getParameter("username") into the post processor to display the username. The dump file shows onParameter('username', 'wibble') but all i get is Parameter does not exist in the post error file. anyone any idea as to what im doing wrong?
@ScottMoyse4 жыл бұрын
use getGlobalParameter instead
@azzibee4 жыл бұрын
@@ScottMoyse thanks for that - works a treat !!
@wouterdijkman984 жыл бұрын
Wooooow why didnt you make this video 1 year earlyer i had to make a 1997 EMCO turn work with fusion 360. My life would have been so mutch better then. I made it word anyway
@georgecortina94812 ай бұрын
If I send you post processor can you edit it for me?
@hillfortherstudios27574 жыл бұрын
It doesn't let me load the file I posted. I double click on the cnc program that I imported and exactly nothing happens. Do you know why this is?
@Iccccie4 жыл бұрын
Are you running it on a mac? Try right clicking inside the CNC selector field and click "import CNC file"
@mioduz2 жыл бұрын
same issue here. Not running on a mac
@hillfortherstudios27572 жыл бұрын
@@Iccccie No, running on windows.
@hillfortherstudios27572 жыл бұрын
@@mioduz I actually went through this video with my Autodesk tech guy. He couldn't figure it out either. Nor could his supervisor.
@brentcarlson77964 жыл бұрын
Sounds good, Doesn't work (for everything). Wanted to use it for a Mill/Turn Post I've been working on because it doesn't handle canned cycles at different B-axis orientations. Oh well, back to the old way. Thanks for the info, I'm sure it will be nice for another project.
@wyattkoppy4000Ай бұрын
i cant get this to work
@dansecord3832 жыл бұрын
Has anyone tried this on a Mastercam Post processor?