elliotf / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
1 stars 0 forks source link

Decimal seperator inconsistant during HeeksCNC session #288

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start fresh heeks with supplied default.tooltable
2. Create a sphere
3. Create a scetch around sphere
4. AttachOp to sphere
5. Pocket scetch with conical tool
6. Check pocket parameters and make sure step over isn't 0 and make it 0.5, as 
well as other important parameters. Note that you may need to use 0,5 not 0.5!
7. Post process
8. Note the irregular toolpath
(Repeat run if you don't believe your eyes...)
9. Save heeks file.
10. Rerun and magic has happened, toolpath is now smooth.
11. Note that decimal point is not . agasin instead of , !

What is the expected output? What do you see instead?
The exported defaults file seem to make heeks use , instead of . for decimal 
seperator but this interferes with read of the toolpath from post processing. 
The actual files generated are always the same, and always using "." but the 
heeks file saved does not.

What version of the product are you using? On what operating system?
Win7 x64, Norwegian locale (, as decimal here) and HeeksCNC 0.17.0

Please provide any additional information below.
Attached you will find the default.tooltable file along with heeks files saved 
after runns.

Note: If I use a tools table file with . instead of , all my tools are imported 
without decimals. This leads me to conclude that heeks starts up using the 
system native delimiter and after running it's scripts and save routine 
defaults to "."! If I export my tooltable after running and saving, it is saved 
with "." and I loose all my decimals upon startup. However, the decimals are 
read connectly if I read a file with "." in first and then try to import the 
"." based default tools.

Original issue reported on code.google.com by tha_krea...@hotmail.com on 20 Feb 2011 at 10:00

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by neomil...@gmail.com on 29 Jun 2014 at 7:48

GoogleCodeExporter commented 9 years ago
This bug is obsolete.
Tested under Ubuntu 12.04 :
tooltable is saved and restored using '.' as decimal separator on any system 
(ie. even if your locale is ',').

Original comment by neomil...@gmail.com on 30 Jun 2014 at 3:40

GoogleCodeExporter commented 9 years ago
Issue 319 has been merged into this issue.

Original comment by neomil...@gmail.com on 30 Jun 2014 at 3:41