Post processor decimal places

Post processor decimal places

Anonymous
Not applicable
3,701 Views
3 Replies
Message 1 of 4

Post processor decimal places

Anonymous
Not applicable

Hi, 

 

I use a VMC with GSK218MC-H controller from GSK CNC, the closest config I can find in Fusion 360 post-processor is GSK928MA from the same manufacture. My machine can run on 0.001mm precision but the output from fusion only give 0.01 precision so I clicked into the configuration file and I found this line:

 

var xyzFormat = createFormat({decimals:(unit == MM ? 2 : 2), forceDecimal:true});

 

By changing 2:2 to 3:2 I was able to output at 0.001 precision but I did not understand what I was doing nor how this configuration file works. Are there any resources that I can read on? What do the numbers mean? Is it better off if I leave it in 0.01mm?

 

Thanks

0 Likes
Accepted solutions (1)
3,702 Views
3 Replies
Replies (3)
Message 2 of 4

GeorgeRoberts
Autodesk
Autodesk
Accepted solution

Hello,

 

Thanks for posting. The values you see there are part of the formatting definition for XYZ values. Here, the post can specify the amount of decimals supported when passing a number through that format. Changing 3:2 is correct if you want 3 decimal places for MM and 2 decimal places for IN, if you want 4 decimal places for IN and 3 for MM, you would set it to 3:4.

 

You can read more about formatting in the post API manual >>HERE<< or in section 4.1.3 of the training manual >>HERE<<

-

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!
Message 3 of 4

boopathi.sivakumar
Autodesk
Autodesk

@Anonymous 

Hey we have a training material for the post processing, How it is working and how to modify the post we have published it in the post library here i am giving the link 

https://cam.autodesk.com/hsmposts 

Manual.png

What you did was right, You can read the manual it will give you more deeper understanding about the post

 


Boopathi Sivakumar
Principal Manufacturing Engineer

Message 4 of 4

Anonymous
Not applicable

@boopathi.sivakumar 

@GeorgeRoberts 

 

Thanks for the info!

0 Likes