t0mac0 / heekscnc

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

Upgrading from Trial to 1.0 causes simulation to break #342

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install heeks trial for windows and work in it for a while. 
2. Buy and download HeeksCNC 1.0.exe. Install (can be with or without complete 
uninstall and removal of program files directory).
3. Take a part, with some milling operations (ie a pocket), G0 and post process.
4. Simulate

What is the expected output? What do you see instead?
I expect to see the simulation. I see an error about the version of wx:
"userWarning wxPython/wxWidgets release number mismatch". This dies in the 
popup shell window and returns back to heeks without showing the simulation.

What version of the product are you using? On what operating system?

HeeksCnC 1.0 commercial.
On Windows 8.1, with other Python and Wx environments likely installed (this 
laptop is used to write code too).

Please provide any additional information below.

Original issue reported on code.google.com by orionrobots on 17 May 2014 at 3:30

GoogleCodeExporter commented 8 years ago
Please note - this worked perfectly on the trial version.

Original comment by orionrobots on 17 May 2014 at 3:31

GoogleCodeExporter commented 8 years ago
This looks like it was a warning. If I take the command line (I managed to 
snapshot with printscreen fast enough), I see this, followed by another error. 
Something now appears to be wrong with the program created by the milling 
operations in the trial version. Are files saved in the trial version 
incompatible with the paid for version? 

Original comment by orionrobots on 17 May 2014 at 3:36

GoogleCodeExporter commented 8 years ago
It looks like a tool is incorrect:
C:\Program Files (x86)\HeeksCNC 1.0\HeeksCNC\python26.zip\wx\_core.py:14516: Use
rWarning: wxPython/wxWidgets release number mismatch
Traceback (most recent call last):
  File "simulate.py", line 75, in <module>
    DoExecFile()
  File "simulate.py", line 30, in DoExecFile
    execfile(tempfile.gettempdir()+'/initial.py')
  File "c:\users\danny\appdata\local\temp/initial.py", line 11
    toolpath.tools[3] = Tool([[Span(Point(0, 0), Vertex(1, Point(float(3), float
(3)), Point(0, float(3)), False), GRAY]])[Span(Point(float(3), float(3)), Vertex
(Point(float(3), float(38.1))), False), GRAY], [Span(Point(float(3), float(38.1)
), Vertex(Point(float(3), float(68.1))), False), RED]])

                                      ^
SyntaxError: invalid syntax

If I remove the line from the python file, it will simulate. If I remove the 
tool from the list (it was one of the defaults from the trial version left in 
the file), it will also work. There was a 6mm endmill tool that was causing the 
error above.

Original comment by orionrobots on 17 May 2014 at 4:26

GoogleCodeExporter commented 8 years ago
Thanks for this.

Files from the trial version should be compatible with the paid for version.

I will investigate.

Dan Heeks.

Original comment by danhe...@gmail.com on 18 May 2014 at 5:38

GoogleCodeExporter commented 8 years ago
It may be helpful when the simulation fails to let the shell window that pops 
up stay open (press any key kind of thing), or to capture its output in a log 
somewhere. I was using screenshots on quick keys to try and see the error - and 
only really got to see it by copying the command line it uses into a terminal 
and retrying it.

Original comment by orionrobots on 20 May 2014 at 7:53

GoogleCodeExporter commented 8 years ago
I can't repeat this any more.

Did you download paid for version before 24th April 2014?
I can send you the more recent version to try, if you email me.

Can you send me the offending file? It looks like your tool number 3 must be 
different to mine.
Did you change the parameters for it?
It may be that simulation doesn't export for certain tool types correctly.

Original comment by danhe...@gmail.com on 17 Jun 2014 at 4:40

GoogleCodeExporter commented 8 years ago
This might be related to issue 341
https://code.google.com/p/heekscnc/issues/detail?id=341

Original comment by danhe...@gmail.com on 18 Jun 2014 at 6:58

GoogleCodeExporter commented 8 years ago
Same issue here with the version purchased on Aug 08.

> If I remove the line from the python file

Which line should be removed from which file?

Original comment by takeo.ka...@gmail.com on 18 Aug 2014 at 4:47

GoogleCodeExporter commented 8 years ago
The line with the tool definition. It may be that tool was defined, and 
modified in an older version of heekscad  + cnc, before i found the heekscnc 
app. 

Original comment by orionrobots on 18 Aug 2014 at 7:15

GoogleCodeExporter commented 8 years ago
hi dan, i just purchased your software. Im having same simulation issues.
Can you help me? thanks.

Original comment by homecore...@gmail.com on 2 Mar 2015 at 4:38

GoogleCodeExporter commented 8 years ago
Hi feel free to email me danheeks@gmail.com

Original comment by danhe...@gmail.com on 2 Mar 2015 at 4:45