Gmoccapy - A new screen for linuxcnc

More
27 Apr 2014 03:36 #46350 by mariusl
Norbert
More on the error. This is what is in the terminal debug lines.
G-Code error in 0.auto.ngc
Near line 35 of
/home/marius/dev/linuxcnc-dev/nc_files/0.auto.ngc
bad number format (conversion failed) parsing ''

features are set to either 12 or 30 but the error stays the same.
and this is part of the generated gcode file. The error is near line 35 - I marked line 35
(pyngcgui: FEATURE 140426:22.28.08)
(pyngcgui: files: </home/marius/dev/linuxcnc-dev/nc_files/ngcgui_lib/lathe/lathe_mm.ngc,/home/marius/dev/linuxcnc-dev/nc_files/ngcgui_lib/lathe/seal_a.ngc,>)
(pyngcgui: feature line added) #<_feature:> = 0
(pyngcgui: preamble file: /home/marius/dev/linuxcnc-dev/nc_files/ngcgui_lib/lathe/lathe_mm.ngc)
g18 (xz plane)
g21 (mm)
g40 (cancel cutter radius compensation)
g49 (cancel tool lengthoffset)
g90 (absolute distance mode)
g94 (units/min feedrate)
g54 (Coordinate system 1 default)
#<tol>  = 0.001
g64 p#<tol> (path control stop)
(pyngcgui: call subroutine file: /home/marius/dev/linuxcnc-dev/nc_files/ngcgui_lib/lathe/seal_a.ngc)
(pyngcgui: positional parameters:)
(         #1 =    Stock_Dia =           50)
(         #2 =           OD =           48)
(         #3 =     Hole_Dia =           20)
(         #4 =           ID =           22)
(         #5 =           S0 =            4)
(         #6 =           S1 =            4)
(         #7 =           D0 =            2)
(         #8 =           D1 =            2)
(         #9 =            W =           10)
(        #10 =            C =            1)
(        #11 =     Face_Cut =          0.5)
(        #12 =    Depth_Cut =            1)
(        #13 = SurfaceSpeed =           80)
(        #14 =     FeedRate =          200)
(        #15 = MaxSpindle_RPM =         1500)
(        #16 =       TW1_LH =            2)
(        #17 =       TW2_LH =            2)
(        #18 =        dwell =            0)

**************************** this is line 35 *********************
o<seal_a> call [50][48][20][22][4][4][2][2][10][1][0.5][1][80][200][1500][2][2][0]

(pyngcgui: FEATURE 140426:22.28.12)
(pyngcgui: files: </home/marius/dev/linuxcnc-dev/nc_files/ngcgui_lib/lathe/lathe_mm.ngc,/home/marius/dev/linuxcnc-dev/nc_files/ngcgui_lib/lathe/seal_a.ngc,>)
(pyngcgui: feature line added) #<_feature:> = 1
(pyngcgui: preamble file: /home/marius/dev/linuxcnc-dev/nc_files/ngcgui_lib/lathe/lathe_mm.ngc)
g18 (xz plane)
g21 (mm)
g40 (cancel cutter radius compensation)
g49 (cancel tool lengthoffset)
g90 (absolute distance mode)
g94 (units/min feedrate)
g54 (Coordinate system 1 default)
#<tol>  = 0.001
g64 p#<tol> (path control stop)
(Positional parameters for /home/marius/dev/linuxcnc-dev/nc_files/ngcgui_lib/lathe/seal_a.ngc)
        #1 = 50
        #2 = 48
        #3 = 20
        #4 = 22
        #5 = 4
        #6 = 4
        #7 = 2
        #8 = 2
        #9 = 10
        #10 = 1
        #11 = 0.5
        #12 = 1
        #13 = 80
        #14 = 200
        #15 = 1500
        #16 = 2
        #17 = 2
        #18 = 0
(expanded file: /home/marius/dev/linuxcnc-dev/nc_files/ngcgui_lib/lathe/seal_a.ngc)
            ; Author: Marius Liebenberg
            (info: Complete seal turning - lathe)
                  #<Stock_Dia> = #1 (=50 Stock Diameter)

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
27 Apr 2014 04:07 - 27 Apr 2014 04:12 #46352 by dgarrett
#<C1> = [[[#<W> / 2]+[#<S1> / 2] - #+<TW1_LH>] * -1]

the second plus (+) sign is bogus
Last edit: 27 Apr 2014 04:12 by dgarrett.

Please Log in or Create an account to join the conversation.

More
27 Apr 2014 04:24 #46353 by mariusl
Hi Dewey
I found that when I looked at the debug output in Axis. Must have been an accidental key stroke. Thanks for the reply.
I am still getting the other two errors.
The ngc file works fine in Axis

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
27 Apr 2014 04:36 #46354 by mariusl
I did a make clean and rebuild the repo and now all seems ok.

Thanks for the help.

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
28 Apr 2014 19:56 - 28 Apr 2014 21:25 #46428 by straga
If file name is "Pocket 2.5 step(1).ngc" . it con't see in browser when select files.

Second file in attachment i big, and very slowly works it ok ?

File Attachment:

File Name: 3DFinish3last.ngc.zip
File Size:1,312 KB
Attachments:
Last edit: 28 Apr 2014 21:25 by straga.

Please Log in or Create an account to join the conversation.

More
28 Apr 2014 23:49 #46439 by newbynobi
Halo Straga,

I am not at home.
I will check that on the weekend.

Norbert

Please Log in or Create an account to join the conversation.

More
01 May 2014 02:15 - 01 May 2014 02:16 #46503 by newbynobi
Hallo Straga,

found and corrected the error, it was in the iconview.py file. Your file did contain 2 dots, so it has been splited in an inconvenient way.
Just pull and run gmoccapy again, you should see the file in fiie open dialog.

The attached file does need a little time to load, because it has about 188200 lines, but it is shown well in the preview and does work fine on my machine.

Norbert
Last edit: 01 May 2014 02:16 by newbynobi.

Please Log in or Create an account to join the conversation.

More
03 May 2014 19:48 #46554 by straga
Thanks
1. Yes it work, now i see all files.

2. Yes, may pc it too slow for that file.

Please Log in or Create an account to join the conversation.

More
15 May 2014 02:08 #46937 by newbynobi
gmoccapy_1_1_5 - allow hide axis 4 ; set DRO size

ver. 1.1.5
- added a option to hide the 4'th axis, this is useful if that axis is used
to control a tool changer, as than the axis DRO and jog button are not needed.
This has to be activated on the settings page, axis 4 is shown by default.
This needed some code rework (moving code around)
- solved the problem of pin_value changes on start up / initializing, because I
introduced a new intern variable self.initialized, leaving defs if not True
- introduced a adjustment widget on the settings page to allow the user to set
the font size of the DRO, it will be reduced by 3/4 if 4 axis are used


gmoccapy_1_1_5_1 - solved bug not resetting the gmoccapy error pin

ver 1.1.5.1
- solved a bug related to the gmoccapy error pin. This pin has not been reseted
if the user used the mouse or touch screen and errased the message by clicking
the message button. It was only done right if the delete-message pin was used.
I modified notification.py to emit a signal if a message has been deleted and
conected this signal to gmoccapy.
- corrected also a small mistake in _show_errors, it was posible to get messages
without text, added a default text.

It is all on 2.6 and on master!

Norbert
The following user(s) said Thank You: akb1212, straga, balestrino

Please Log in or Create an account to join the conversation.

More
18 May 2014 13:36 #47022 by straga
Repository for ubuntu not update from 9may.

I have questions. How make every time message for tool change.

I wont when start g-code M6 go to measuring tool, Tool measuring position, every time show me message after i am push OK. And after start measuring?

Please Log in or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.165 seconds
Powered by Kunena Forum