Autodesk HSM Post Editor for Visual Studio Code goes live

Autodesk HSM Post Editor for Visual Studio Code goes live

fonsecr
Alumni Alumni
33,791 Views
135 Replies
Message 1 of 136

Autodesk HSM Post Editor for Visual Studio Code goes live

fonsecr
Alumni
Alumni

Hi all post developers,

 

We just pushed Autodesk HSM Post Editor for Visual Studio Code live as an Open Source project under the MIT license. Check it out at:

https://github.com/Autodesk/cam-posteditor

 

This project is an extension for Visual Studio Code that makes life much easier when developing posts.

 

You can get the installation for Visual Studio Code at:

https://marketplace.visualstudio.com/items?itemName=Autodesk.hsm-post-processor

 

@GeorgeRoberts has been working on this until now. But my hope is that we can work together as a community to make it even better. So if you are interested in contributing make sure to engage. Of course you are welcome to just make requests for the post team also. You can use the post idea station for such requests.

 

Note that you need to sign a small agreement before we can accept contributions.See the README for details.

 

George will post introduction to the extension here.

 


René Fonseca
Software Architect

33,792 Views
135 Replies
Replies (135)
Message 21 of 136

makko74
Collaborator
Collaborator

@GeorgeRoberts,

thank you very much George, now it working without issues and jumps to the right line in the post processor.

 

Mario



InfoInventor CAM(Ultimate) user --- Inventor Professional 2021.2 + Inventor CAM Ultimate 8.1.2.21785
Message 22 of 136

griffew
Autodesk
Autodesk

Absolutely Love It!!

 

Fantastic Job @GeorgeRoberts !!!!

Message 23 of 136

daniel_lyall
Mentor
Mentor

@GeorgeRoberts some how or for some reasion this has packed up on me when I try to gen a Gcode it comes up with an error  

 

Post processor executable cannot be found. Please select your post executable location

 

It was working fine yesterday today not, fusion playing up as well


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 24 of 136

GeorgeRoberts
Autodesk
Autodesk

@daniel_lyall that's strange... The post executable location is stored inside a file in the extension directory, so unless that post.exe has been moved, it should still pick it up.

 

However, there was an update pushed a few days back which might prompt you to re-select your post EXE (I changed the default post EXE location to Inventor HSM 2019).

 

When you are prompted, try navigating to your HSM (or Fusion) install directory and re-select the post.exe file

-

George Roberts

Manufacturing Product manager
If you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
0 Likes
Message 25 of 136

daniel_lyall
Mentor
Mentor

That would be it the timing fits.

 

I don't know where the install directory is I am still learning all this.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 26 of 136

daniel_lyall
Mentor
Mentor

@GeorgeRoberts thanks George I fixed it the answer was watch your Video on it again.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 27 of 136

GeorgeRoberts
Autodesk
Autodesk

Perfect, glad all is working again! Let me know if you have any issues @daniel_lyall

-

George Roberts

Manufacturing Product manager
If you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
0 Likes
Message 28 of 136

daniel_lyall
Mentor
Mentor

@GeorgeRoberts you should push this a lot more it makes it very easy to do simple post edited even hard ones are a lot easier. 


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 29 of 136

Laurens-3DTechDraw
Mentor
Mentor

@GeorgeRoberts

Thanks for this.

I have a similar problem to 

I turned the Git off but still does this. 

See this screencast.

 

 

 

Also as a bonus could you add a .cnc file as standard that has all the programs in the folder there?

As in one for all the turning .cnc files now, one that includes all the Milling ones?

I often like to see the whole program as a whole too. Especially with mill-turn you want to see the change from turning-> milling and vice versa.

 

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes
Message 30 of 136

daniel_lyall
Mentor
Mentor

I am getting the same thing the last update is when it started doing it for me.

 

The other thing it is doing is the very first Gcode post it does the setup sheet (whats fine) then if I redo the Gcode it puts a Gcode out but then if you try to generate the G Code again after an edit and save it does nothing (not all the time the screencast shows it) you have to regen the Gcode to get it to work or close the one that's up on screen.

 

Only small problems 

 


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

Message 31 of 136

stone.samuel
Enthusiast
Enthusiast

Capture.PNG

Looks like a great tool! I installed from the marketplace, used the post file to post from f360, but when I go to click on my custom nc file nothing happens, and I get this error when I try to load the extension from the f1 menu. I also had to select the location of my post.exe to get this far, have you got any ideas?

 

0 Likes
Message 32 of 136

Laurens-3DTechDraw
Mentor
Mentor

@stone.samuel wrote:

Capture.PNG

Looks like a great tool! I installed from the marketplace, used the post file to post from f360, but when I go to click on my custom nc file nothing happens, and I get this error when I try to load the extension from the f1 menu. I also had to select the location of my post.exe to get this far, have you got any ideas?

 


You should have the post processor you want to edit open to have the posting work.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes
Message 33 of 136

GeorgeRoberts
Autodesk
Autodesk

Morning All,

 

Thanks for posting feedback!

 

@Laurens-3DTechDraw I'll take a look into what could be causing that issue now, the line jumping doesn't seem very consistent here. I'll also look into creating a folder 'All CNC Files' which contains everything from the other folders, it makes total sense having that.

 

@daniel_lyall It seems like this issue is caused by the setup sheet messing around with the active editor inside of VS. When starting the post command, it always checks to see if a .CPS file is currently in focus (active editor), if it is not, there will be different options displayed and the post process command shouldn't be available. I'll try and replicate this here and come up with a fix. I'll probably put in a setting to disable the display of setup sheets as well, this could also solve the problem

 

 

-

George Roberts

Manufacturing Product manager
If you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
0 Likes
Message 34 of 136

daniel_lyall
Mentor
Mentor

Thanks @GeorgeRoberts 


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 35 of 136

GeorgeRoberts
Autodesk
Autodesk

@daniel_lyall @Laurens-3DTechDraw I could only replicate one of the issues, but took a look at what could cause the behavior you were experiencing and have fixed what I believe it is.

 

I have also included an 'all files' option in the CNC selector, this will display every .cnc file in the CNC Files directory.

 

I'll be running some more tests before publishing this version. However, if you would like to test this, I have attached an installer below. To install using the attached file, simply unzip the file and use the option 'Install from VSIX' inside of VSCode here:

image.png

 

This will allow you to specify the VSIX file to install. Once the install is complete, you will need to 'reload' VSCode (F1 > Reload window)

 

All feedback is greatly appreciated!

-

George Roberts

Manufacturing Product manager
If you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
0 Likes
Message 36 of 136

Anonymous
Not applicable

Does this only works for Inventor posts? I thought inventor and f360 use HSM.

 

I get an error like the one on my screenshot.

I also get an error when i'm selecting a postprocessor on my desktop.

0 Likes
Message 37 of 136

Laurens-3DTechDraw
Mentor
Mentor

Fusion 360, HSMWorks and Inventor HSM all use the same post processors so that is no your problem. It should work.

When do you get this error?

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes
Message 38 of 136

Anonymous
Not applicable

I am getting this error after i opend my postprocessor.cps and then i press CTRL+ALT+G. Befor CRTL+ALT+G i select my 1001.cnc file

0 Likes
Message 39 of 136

Laurens-3DTechDraw
Mentor
Mentor

@stevooh92 wrote:

I am getting this error after i opend my postprocessor.cps and then i press CTRL+ALT+G. Befor CRTL+ALT+G i select my 1001.cnc file


Not sure if this is the problem but you could at least try selecting your post.exe again.

See this video on how to do that.

I didn't go looking for the post.exe but once you are in the explorer I guess that will be easy.

 

 

 

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


Message 40 of 136

GeorgeRoberts
Autodesk
Autodesk

Sorry to hear you're having issues. This usually occurs when the plugin has failed to load or the active view isn't a .CPS file.

 

Could you take a screenshot of the full window when this error occurs? Also, please ensure the plugin is loaded and the window has been reloaded (F1 > reload window)

-

George Roberts

Manufacturing Product manager
If you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
0 Likes