precision of variables in postprocessor

All discussion related to the VisualCAD/CAM standalone product.
Post Reply
D-KTIV
Posts: 2
Joined: Tue Jul 07, 2015 7:38 am

precision of variables in postprocessor

Post by D-KTIV »

Hello all,
i have a postprocessor for a NUM control. I use a variable [TOOL_LENGTH] in the toolchange section.
My tool has a length of 112.51 mm. This leads to the output of

112.5100002

or 112.52 leads to

112.5199998

in the CNC file. The control throws ans error. :cry: Does anybody have a clou to avoid the high precision output without changing the tool length (112.5 is correctly postprocessed). Are there possibilities to change the precision?
Cheers Bodo
MecSoft Support
Posts: 2405
Joined: Wed Aug 01, 2007 4:15 pm
Location: Irvine, CA, USA
Contact:

Re: precision of variables in postprocessor

Post by MecSoft Support »

Development has fixed this issue and will show up in 2016 version release. This fix cannot be back ported to 2015.
D-KTIV
Posts: 2
Joined: Tue Jul 07, 2015 7:38 am

Re: precision of variables in postprocessor

Post by D-KTIV »

Thanks, hope the version will come soon.
Bodo
MecSoft Support
Posts: 2405
Joined: Wed Aug 01, 2007 4:15 pm
Location: Irvine, CA, USA
Contact:

Re: precision of variables in postprocessor

Post by MecSoft Support »

We hope to get it last calendar quarter of this year. The problem was related to Float to Double conversion from the tool dialog to the post-processor. Since it affects a lot of code we cannot back port it over. Thanks for your patience.
Post Reply