Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Adding trailing decimal point to post processing

kellyBVJL2
Participant Participant
266 Views
2 Replies
Message 1 of 3

Adding trailing decimal point to post processing

kellyBVJL2
Participant
Participant

I'm running a 4 axis no name Chinese router and I've been using post rs274.cps/rs274D.

 

If there is no trailing decimal point behind every number the machine doesn't like it. For example: the machine moves the axis nearly to zero when it sees "X100" but not "X100." I'm fairly sure it's automatically placing a decimal where it thinks it it supposed to go and I'm pretty sure it's in front of the number it is reading. Does anyone know how to change a post processor to have decimal points behind every number?

 

Thanks!

Reply
Reply
0 Likes
267 Views
2 Replies
Replies (2)
Message 2 of 3

serge.quiblier
Autodesk
Autodesk

Hello @kellyBVJL2 

 

you can edit you post processor and change the format used for outputting the coordinates.

You can change

var xyzFormat = createFormat({decimals:(unit == MM ? 3 : 4)});

to

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

 

Adding the forceDecimal in a format definition will force the decimal point to be output.

 

Regards.

 


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!



Serge.Q
Technical Consultant
cam.autodesk.com
Reply
Reply
0 Likes
Message 3 of 3

kellyBVJL2
Participant
Participant

It worked..... Thanks!!

Reply
Reply
0 Likes