Material Settings Glitch

More
6 years 8 months ago #157795 by phillc54

Please Log in to join the conversation.

More
6 years 8 months ago #157798 by snowgoer540

phillc54 wrote: I have pushed a fix for this issue

forum.linuxcnc.org/plasmac/37233-plasmac-updates#157794


You're awesome! Thank you so much.

Please Log in to join the conversation.

More
6 years 8 months ago #157985 by snowgoer540

phillc54 wrote: I have pushed a fix for this issue

forum.linuxcnc.org/plasmac/37233-plasmac-updates#157794


So, I looked at the things you changed on github to try to understand what the issue was. There's no shame in admitting that I couldnt follow. My question is, how did you all learn Python? Is there anything you recommend to push me further quicker than trying to read line by line and understand what is what?

Please Log in to join the conversation.

More
6 years 8 months ago #158069 by phillc54
Replied by phillc54 on topic Material Settings Glitch
Basically it was only saving stuff below the Cut Parameters if the Default Material was selected, that was the moving of the "if material" line. Plus THC auto/on/off was saving.
All self taught, a LOT of googling.
A reasonable starting point developers.google.com/edu/python

Please Log in to join the conversation.

More
6 years 8 months ago #158092 by rodw
Replied by rodw on topic Material Settings Glitch

phillc54 wrote: All self taught, a LOT of googling.
A reasonable starting point developers.google.com/edu/python


This is more than reasonable, the lectures are the best I think! If you force yourself to do all the lessons you will be off to a great start but it does assume you know another programming language before you start. That way you will know all about programming constructs and variables.

My trouble is I don't use Python enough so I forget it all before I use it again

Please Log in to join the conversation.

More
6 years 8 months ago #158093 by phillc54
Replied by phillc54 on topic Material Settings Glitch

rodw wrote: My trouble is I don't use Python enough so I forget it all before I use it again

I am like that with C. I really struggle when I have to do something with it.

Please Log in to join the conversation.

More
6 years 8 months ago #158096 by rodw
Replied by rodw on topic Material Settings Glitch

phillc54 wrote:

rodw wrote: My trouble is I don't use Python enough so I forget it all before I use it again

I am like that with C. I really struggle when I have to do something with it.


I've used C since the DOS days. As a result I'm not very good with classes but everything else is good. To use C you need to learn how to use pointers (and structures). A lot of people avoid this but when you master them they are so powerful. But what blows me away is that what would take 1000 lines in C can be done in Python in 100!

A lot of the python stuff I've done has been using web based API's retrieving data from cloud based systems and its amazing at that. I have a project I'm interested in that will use Python, Raspberry PI's and AWS if you are up for a Python challenge! You can be my chief programmer and we'll share the millions!

Please Log in to join the conversation.

More
6 years 8 months ago #158097 by phillc54
Replied by phillc54 on topic Material Settings Glitch

rodw wrote: I've used C since the DOS days. As a result I'm not very good with classes but everything else is good. To use C you need to learn how to use pointers (and structures). A lot of people avoid this

You know me well...


A lot of the python stuff I've done has been using web based API's retrieving data from cloud based systems and its amazing at that. I have a project I'm interested in that will use Python, Raspberry PI's and AWS if you are up for a Python challenge! You can be my chief programmer and we'll share the millions!

Haha, I love $ almost as much as my Macs

Please Log in to join the conversation.

More
6 years 8 months ago #158120 by tommylight
Replied by tommylight on topic Material Settings Glitch

phillc54 wrote: Haha, I love $ almost as much as my Macs

I am getting worried .... :)

Please Log in to join the conversation.

More
6 years 8 months ago #158124 by snowgoer540

phillc54 wrote: Basically it was only saving stuff below the Cut Parameters if the Default Material was selected, that was the moving of the "if material" line. Plus THC auto/on/off was saving.
All self taught, a LOT of googling.
A reasonable starting point developers.google.com/edu/python


Thank you guys for the direction! I do have previous coding experience, and I'm usually pretty good at walking through the code and figuring out what's wrong. As far as writing code, I can plagiarize (aka take something someone else did that is close to what I want and then modify it to meet my needs via googling, etc) like a champ. I would struggle to write from scratch these days.

But python might as well be moon man language. Maybe it's a mental block.

Thanks again!

Please Log in to join the conversation.

Time to create page: 0.114 seconds
Powered by Kunena Forum