Hi, So we're talking about a shape to gcode creation wizard right? One of my design goals is to make the new AXIS able to be more easily plugged in with such wizards, a bit like in mach3. But for the moment, I'll focus on the basic stuff. I keep your work for later, thanks!
On May 25, 2009 12:42:27 pm Kenneth Lerman wrote: > Maxime, > > If you are looking for a GUI related project for EMC, I'd be pleased to > have someone fix, enhance, take over, rewrite, or own the work I started > on "GWiz". The current version I'm working on is built with python and > wxPython. > > See: http://www.se-ltd.com/~lerman/files/GWizEMC.tar.gz for the current > (more or less) snapshot of this project. > > For a screen shot, see: > http://www.se-ltd.com/~lerman/gallery/v/G-Wiz/Pocket2.png.html > > (Note that an earlier effort, using QT has been abandoned by me.) > > Ken > > Kenneth Lerman > > Maxime Lemonnier wrote: > > Thank you very much for the hints. Right now, I decided to postpone > > this for a bit later. I'm playing out with PyQt4, I may ask you direct > > questions when I'm ready to implement this. > > > > > > To all, I'm open for gui/use cases suggestions. I plan to use the very > > well made QtDesigner to design the main gui. It will allow anyone to > > create its own custom GUI (as long as it uses the same actions, and up > > to some limits). QtDesigner is quite fantastic, and, in fact, most of > > the current kde4 apps are designed with it. > > > > > > If anyone is interested in giving some input, I'm all ears. I will set > > up a (temporarily private) project management website for the ground > > works. If anyone is interested I'll just create him an account. We'll > > late make it public, but for the moment I prefer keeping it at a > > smaller scale. > > > > > > I plan to have a beta around august. > > > > On May 24, 2009 06:10:27 pm Alexey Starikovskiy wrote: > > > Maxime Lemonnier wrote: > > > > Hi, > > > > > > > > Have you looked at how axis is coded? > > > > > > > > The whole application holds in one big python file plus a few > > > > so-called > > > > > > "libs" in the lib directory. Right now, I have two problems that > > > > kind of > > > > > > block me from starting out : > > > > > > > > - What/where is the "algorithm" that converts the gCode to opengl > > > > commands? - How are the extents computed and displayed? > > > > > > Top level is "open_file_guts" function in axis.py. > > > It creates AxisCanon (subclass of GLcanon "glcanon.py") class, which > > > will receive callback for each g-code processed by interpreter, which > > > is fed with lines from g-code file. > > > -------------- > > > o.g = canon = AxisCanon(o, widgets.text, i, progress) > > > ... > > > result, seq = gcode.parse(f, canon, unitcode, initcode) /* > > > gcode is defined in gcodemodule.c */ > > > -------------- > > > After that canon will contain several lists of lines (arcs are > > > converted to lines too), > > > thus it is possible to calculate extents: > > > ------------------------- > > > canon.calc_extents() > > > canon.calc_notool_extents() > > > ------------------------- > > > and create OpenGL draw lists: > > > ------------------------ > > > make_main_list(canon) > > > make_selection_list(canon) > > > ------------------------ > > > > > > Hope this helps, > > > > > > Regards, > > > Alex. > > > > ------------------------------------------------------------------------- > >-- > > > > >--- Register Now for Creativity and Technology (CaT), June 3rd, NYC. > > > > CaT is > > > > > a gathering of tech-side developers & brand creativity > > > > professionals. Meet > > > > > the minds behind Google Creative Lab, Visual Complexity, Processing, & > > > iPhoneDevCamp asthey present alongside digital heavyweights like > > > > Barbarian > > > > > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > > > _______________________________________________ > > > Emc-developers mailing list > > > Emc-developers@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > >----- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > > is a gathering of tech-side developers & brand creativity professionals. > > Meet the minds behind Google Creative Lab, Visual Complexity, Processing, > > & iPhoneDevCamp asthey present alongside digital heavyweights like > > Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Emc-developers mailing list > > Emc-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-developers
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers