QtVCP gcode file opening

More
22 Feb 2019 23:42 #126965 by cmorley
Replied by cmorley on topic QtVCP gcode file opening
if you try git status in the terminal maybe it will show some needed work that hasn't been pushed yet? Hope it's not too hard to find.

Chris M

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

More
23 Feb 2019 00:23 #126966 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening

cmorely wrote:
I was wondering why i was not observing the problem you have reported and i have noticed you have .ngc in your INI FILTER entry


Yes, the component this is based around is for a plasma cutter and the component handles all Z axis movements so the gcode file is filtered to comment out all the Z stuff

Cheers, Phill

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

More
23 Feb 2019 00:26 #126967 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening

if you try git status in the terminal maybe it will show some needed work that hasn't been pushed yet? Hope it's not too hard to find.


Me too...

Cheers, Phill.
The following user(s) said Thank You: Leon82

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

More
23 Feb 2019 00:51 #126969 by cmorley
Replied by cmorley on topic QtVCP gcode file opening


Which seems to have something to do with one of these:
self.plasmac_settings_tabs.setCurrentIndex(1)
self.materials.setCurrentIndex(-1)


Maybe I should mention that I used :
pyuic5 FILENAME.ui

To print the parsed and converted .ui file to the terminal.
Since those where the only refrences that used 'setCurrentIndex' I assume there is a problem with plasmac_settings or materials.
Hopefully not a wild goose chase...

Chris M
The following user(s) said Thank You: phillc54

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

More
23 Feb 2019 01:30 - 23 Feb 2019 01:30 #126972 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening
Would you believe it was caused by not having a mdi history file...

The attached patch creates the file if it doesn't exist.


Cheers, Phill.
Attachments:
Last edit: 23 Feb 2019 01:30 by phillc54.

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

More
23 Feb 2019 01:41 #126973 by cmorley
Replied by cmorley on topic QtVCP gcode file opening
Ok It seems to be something in your handler file - I loaded the screen with a relatively blank handler file it it displays.... I'll keep digging :)

Chris M

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

More
23 Feb 2019 01:54 #126974 by cmorley
Replied by cmorley on topic QtVCP gcode file opening
OH wow just read your last post about MDI - interesting.
that is one thing that is much worse with PyQt that the errors are often much harder to debug then pyGTK...

Ok i'll add that and then back to the original problem...

Chris

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

More
23 Feb 2019 01:57 #126975 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening

Ok i'll add that and then back to the original problem...


Now I have forgotten the original problem...

Cheers, Phill.

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

More
23 Feb 2019 02:04 #126976 by cmorley
Replied by cmorley on topic QtVCP gcode file opening
hmm that fix didn't work for me .. and i did have a history file anyways...

This is a weird one.
Chris M

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

More
23 Feb 2019 02:08 #126977 by phillc54
Replied by phillc54 on topic QtVCP gcode file opening
It does work consistently for me.

I also did a diff between my original local repo and the one I cloned from github and that was basically the only difference.

Cheers, Phill.

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

Time to create page: 0.201 seconds
Powered by Kunena Forum