On 2017-01-17 23:05, Nicholas Humfrey wrote: > On 2017-01-17 16:50, Sebastian Kuzminsky wrote: >> On 01/17/2017 09:41 AM, Jon Elson wrote: >>> On 01/17/2017 09:15 AM, Sebastian Kuzminsky wrote: >>>> It looks to me like the code on that wiki page is mostly >>>> of the "conversational programming" sort, where a GUI >>>> window asks the user to poke & prod buttons and things to >>>> make some g-code. If so, it might fit in the "wizards.git" >>>> repo we have at git.linuxcnc.org: >>>> http://git.linuxcnc.org/gitweb?p=wizards.git;a=summary >>> I have a bunch of these conversational programs, written in >>> c, for things like : >>> rectangular slot/pocket >>> trepan rectangular slot >>> trepan rectagular slot with ramp Z >>> trepan an oval (racetrack) cutout >>> hole/round pocket >>> trepan hole >>> trepan hole with ramp Z >>> thread mill >>> a circular pattern of holes >>> rectangular array of holes >>> random pattern of holes, taking coordinates from a file >>> cut circular groove, as for an O-ring >>> >>> And, I've converted one of these to Python, but it was slow >>> going, as I'm not really up to speed on Python, yet. >>> >>> Would these be appropriate? >> >> The difficulty with the consolidation/management project that Nicholas >> proposed isn't so much in writing the different conversational >> wizards, >> it's in getting a consistent look-and-feel and consistent behaviour >> from >> code contributed by different authors, and in adding all the wizards >> that are useful and understandable, while still being choosy enough >> that >> the good stuff doesn't get buried under an avalanche of personal >> one-offs. >> >> I think of this as more of a manager/editor type of task rather than a >> hacker/coder type of task. > > > Wow, that was a lot more replies that I was anticipating. > > I will start by doing something fairly straight forward and just > archiving the python files in GitHub and making sure they are easy to > navigate and download. Hopefully it won't be too much and and will be > at > least as good/better than the current Wiki page. > > I do like that I can just generate some G-code on any machine that has > Python on it, without having to install lots of other stuff. > > Will report back and see what people think... > > > nick. >
It took a lot more work than I was anticipating but I have gathered it all together into a Git repository: https://github.com/njh/simple-gcode-generators I decided to create a separate directory for each of the scripts, to keep the README, script, screenshot and other files together. Where there were multiple versions, I have checked in each version, so that its history is preserved. Would somebody be able to help with moving it to the github.com/linuxcnc organisation? Thanks! nick. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
