nav111 / heekscnc

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

Circle Pocket operation takes place twice #355

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a circle
2. Create a pocket operation based on that circle
3. Create Gcode and run on machine

What is the expected output? What do you see instead?
Should create a single pocket operation. Instead the operation takes place fine 
but then it is repeated again exactly the same.

What version of the product are you using? On what operating system?
Linux version 1.0.0 built from subversion on 18th Aug 2014 on Ubuntu 12.04 LTS

Please provide any additional information below.
I tracked fault down to heekscnc/src/Pocket.cpp. For CircleType and AreaType 
the method WritePocketPython(python) gets called twice. Once in the case block 
(line 380) and once at the end of the method (line 450). I have moved the 
bracket on line 445 to after WritePocketPython(python) on line 451 as I think 
the second call was only meant to apply to sketchType. Recompiled and all works 
fine with only a single pocket operation per circle. 

Original issue reported on code.google.com by dave.bor...@gmail.com on 20 Aug 2014 at 7:58

GoogleCodeExporter commented 8 years ago
It seems to be an important bug...

Dan, are you able to reproduce it on your setup ?

Original comment by neomil...@gmail.com on 8 Feb 2015 at 3:25

GoogleCodeExporter commented 8 years ago
I have the same issue. Bought and downloaded 1.0 this week.

Original comment by engineer...@gmail.com on 26 Feb 2015 at 9:35

GoogleCodeExporter commented 8 years ago
ok, I have repeated this problem...

Original comment by danhe...@gmail.com on 27 Feb 2015 at 10:14

GoogleCodeExporter commented 8 years ago
sorry, I forgot about this. Found the problem now.

Original comment by danhe...@gmail.com on 19 Aug 2015 at 8:39