[Emc-developers] New to developers list

2016-10-26 Thread Jim Craig
Hello All, I have been on the emc-users list for some time now. I have a feature that I would like to attempt to add to the LinuxCNC project so I joined this list as I figured it was a better place to ask questions about development. I think that many users would greatly benefit from a GUI bas

Re: [Emc-developers] New to developers list

2016-10-26 Thread Jim Craig
On 10/26/2016 6:00 PM, Sebastian Kuzminsky wrote: > On 10/26/2016 02:59 PM, Jim Craig wrote: >> Hello All, >> >> I have been on the emc-users list for some time now. I have a feature >> that I would like to attempt to add to the LinuxCNC project so I joined >>

Re: [Emc-developers] New to developers list

2016-10-26 Thread Jim Craig
On 10/26/2016 6:00 PM, andy pugh wrote: > On 26 October 2016 at 21:59, Jim Craig wrote: >> I also saw that someone had started a graphical HAL configurator and it >> was last modified some 11 years ago. > There have been a few attempts. Do you mean Crapahalic? > http://wiki

Re: [Emc-developers] New to developers list

2016-10-26 Thread Jim Craig
On 10/26/2016 6:06 PM, andy pugh wrote: > On 27 October 2016 at 00:00, Sebastian Kuzminsky wrote: > >> The idea has been proposed in the past, and some folks started >> experimenting with different approaches, but as far as i know, nothing >> usable ever came of it. > I think that it would be nece

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-27 Thread Jim Craig
On 10/27/2016 8:43 AM, Sebastian Kuzminsky wrote: > On 10/27/2016 02:47 AM, andy pugh wrote: >> On 27 October 2016 at 01:59, Jeff Epler wrote: >>> I'm totally open to 'comp' gaining a new output format that describes the >>> component. that beats parsing manpage markup by a factor of about a >>>

Re: [Emc-developers] New to developers list

2016-10-27 Thread Jim Craig
On 10/26/2016 7:42 PM, Chris Morley wrote: > Hello Jim. > > > Linuxcnc has two gui menu based configuration programs, > > stepconf and pncconf. Do they not fit what you are trying to accomplish? > > > IMHO helping maintain and expand these programs is better for the community, > then dividing time

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-27 Thread Jim Craig
I am trying to get Crapaholic to run. I have found the first issue and was able to get it to run and "show" the running hal confguration. There are some pretty major bugs as things have changed somewhat over the last 11 years. Is there a good python debugger that you all recommend. I would like

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-28 Thread Jim Craig
I did some more debugging of Crapahalic last night. So some brief overview of how it works so far. It uses halcmd show to generate output that is then parsed through to determine the loaded hal components, the pins for each component and the signals that are all loaded in the current configurat

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-28 Thread Jim Craig
On 10/28/2016 10:02 AM, John Kasunich wrote: > > On Fri, Oct 28, 2016, at 10:29 AM, Jim Craig wrote: >> I did some more debugging of Crapahalic last night. So some brief >> overview of how it works so far. It uses halcmd show to generate output >> that is then parsed

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-28 Thread Jim Craig
On 10/28/2016 10:41 AM, John Kasunich wrote: > > On Fri, Oct 28, 2016, at 11:26 AM, Jim Craig wrote: >> On 10/28/2016 10:02 AM, John Kasunich wrote: >>> On Fri, Oct 28, 2016, at 10:29 AM, Jim Craig wrote: >> No, it is not using the -s option. However it does not app

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-30 Thread Jim Craig
On 10/28/2016 2:46 PM, John Kasunich wrote: > > On Fri, Oct 28, 2016, at 01:31 PM, andy pugh wrote: > >> Perhaps the trick is for you to not load the HAL file, but for you >> code to parse the HAL file. > Yes! I am going to add this functionality in addition to reading the current running configur

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-31 Thread Jim Craig
> I would like to use the halcmd save command to save the current .hal > file, but I don't think this is going to work if there is a postgui.hal > file. Using this command with a running configuration makes sure the > syntax is correct without having to write a bunch of additional code to > write

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-31 Thread Jim Craig
On 10/31/2016 7:47 AM, andy pugh wrote: > On 30 October 2016 at 14:47, Jim Craig wrote: >> Since the current functionality reads a running configuration, I would >> like to be able to read the .ini file that is currently loaded to get >> access to the .hal files that make u

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-31 Thread Jim Craig
On 10/31/2016 8:26 AM, andy pugh wrote: > On 31 October 2016 at 13:11, Jim Craig wrote: >> Is there any way to determine what the current .ini file is for the >> running configuration? > It may be exported as an environment variable > https://github.com/LinuxCNC/linuxcn

[Emc-developers] Dual boot Windows 10 with debian wheezy/linuxcnc on laptop

2016-11-03 Thread Jim Craig
I am contemplating installing the linuxcnc live image on my laptop for development purposes. This would make my laptop a dual boot windows 10 and debian wheezy. This is just for linuxcnc software development. Do you all see any issues with this. Thanks, Jim --

Re: [Emc-developers] Dual boot Windows 10 with debian wheezy/linuxcnc on laptop

2016-11-03 Thread Jim Craig
On 11/3/2016 11:00 AM, Jon Elson wrote: > On 11/03/2016 10:08 AM, Jim Craig wrote: >> I am contemplating installing the linuxcnc live image on my laptop for >> development purposes. This would make my laptop a dual boot windows 10 >> and debian wheezy. This is just

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-11-16 Thread Jim Craig
Hello all, I have been working on this project slowly. I am still working based on the crapahalic program however it is becoming less and less of what I am using at the time being. My latest setback is when scaling the gnomecanvas so that the display has a zoom capability everything scales exc

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-11-16 Thread Jim Craig
On 11/16/2016 6:54 AM, Jeff Epler wrote: > On Wed, Nov 16, 2016 at 06:13:35AM -0600, Jim Craig wrote: >> If I develop this application around the python-pygoocanvas package can >> we modify the standard linuxcnc distribution to include this package by >> default? If so I wil

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-11-24 Thread Jim Craig
Progress report. I have the graphics area drawing, panning and zooming how I like it. Currently I am just drawing the entire active configuration on a single design sheet. I plan on keeping this overall design sheet for the final application. It gives a good overview of the entire configuration

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-11-24 Thread Jim Craig
On 11/24/2016 11:37 AM, TJoseph Powderly wrote > i find myself zooming and panning between different areas a lot > and opting to use an intermediate value of zoom where the text is barely > legible, just so i get a larger scope This is an issue with this type of schematic. It is a balancing act of

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-11-24 Thread Jim Craig
On 11/24/2016 9:04 PM, TJoseph Powderly wrote: > wow, great Jim > if you want > i will test by trying to draw the hal files supplied with standard > linuxcnc distro That would be great. I will need some willing testers. > > also > how will you connect to a thread? > handle parameters & functions >

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-11-25 Thread Jim Craig
On 11/25/2016 9:30 AM, John Kasunich wrote: > This looks like a great start. I've wanted something like this since > pretty much day 1 of HAL. But I never tackled it because I'm definitely > not a GUI programmer. (Halscope about killed me, thankfully others > made it into the nice tool it is tod

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-11-25 Thread Jim Craig
On 11/25/2016 9:49 AM, andy pugh wrote: > On 25 November 2016 at 15:30, John Kasunich wrote: >> As you and others pointed out, font sizes quickly become a problem. > CAD programs tend to display dimensions at the same font size > regardless of zoom level, though I doubt that would work here. > > P

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-12-05 Thread Jim Craig
I am working on the code that reads HAL files directly. I am using this to get the loadrt statements so that I can split the components into the subcomponents. What do you all think is the best method for determining sub components? My first thought was to read the loadrt statements and get the

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-12-05 Thread Jim Craig
Thanks Dewey, I will figure out how to implement this in my program. Jim On 12/5/2016 9:55 AM, Dewey Garrett wrote: >> I think this system library is located at /usr/share/linuxcnc/hallib > This is accurate for current deb installs but is different for > Run-In-Place (RIP) users. > > The scripts/

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-12-05 Thread Jim Craig
On 12/5/2016 8:55 AM, andy pugh wrote: > > You can often (but not always) determine the sub-component count by > looking at the number of commas or spaces in the config string. (this > is moderately safe as the RTAPI_MP_ARRAY macros always break on commas > or spaces. > OK, So based on the above, w

[Emc-developers] Tool Length Offset?

2016-12-22 Thread Jim Craig
I was running a program last night on my milling machine. I was cutting air at the time and saw something that I did not like. I hit the stop button in gmoccapy and the program stopped but then the tool plunged downward in the z direction. I found this very odd. I took a look at the tool offset

[Emc-developers] Upgrading to 2.7.8 Question and problem

2016-12-22 Thread Jim Craig
I wanted to update from 2.7.0 to 2.7.8 on my development machine. It is a virtual machine running through Virtual Box. I ran the update with Synaptic Package Manager. The packages were downloaded and installed. However my application menu lost the linuxcnc config launcher and other app launcher

Re: [Emc-developers] Upgrading to 2.7.8 Question and problem

2016-12-22 Thread Jim Craig
Never mind. It is just not in the same order and I am apparently blind! LOL! Thanks for allowing me to waste your time! Jim On 12/22/2016 1:17 PM, Jim Craig wrote: > I wanted to update from 2.7.0 to 2.7.8 on my development machine. It > is a virtual machine running through Virtual Box.

Re: [Emc-developers] Tool Length Offset?

2016-12-22 Thread Jim Craig
On 12/22/2016 2:35 PM, Gene Heskett wrote: > > I hit that one too Jim, and crushed some tooling, with a 1/4 carbide end > mill simply exploding and of course the part was damaged but but beyond > use, but it was some months, 6+ IIRC ago. I reported it and that was > fixed with an update the next da

[Emc-developers] Trouble building RIP linuxcnc

2016-12-22 Thread Jim Craig
I am getting the following error when trying to build linuxcnc RIP. Configure: error: Required Library 'readline' is missing How do I rectify this? Thanks, Jim -- Developer Access Program for Intel Xeon Phi Processors

[Emc-developers] tooledit_widget modifications

2016-12-22 Thread Jim Craig
I use gmoccapy on my milling machine. I really like that gui. Thanks Norbert! The one thing that I think is lacking is the way the tool table works. It is based on the tooledit_widget. It is a real pain to modify the tool table while in gmoccapy. To edit an entry you must check the line you wa

Re: [Emc-developers] Trouble building RIP linuxcnc

2016-12-23 Thread Jim Craig
dev > > > > On 2016-12-23 01:53, Jim Craig wrote: >> I am getting the following error when trying to build linuxcnc RIP. >> >> Configure: error: Required Library 'readline' is missing >>

Re: [Emc-developers] tooledit_widget modifications

2016-12-26 Thread Jim Craig
modification could be published in the 2.7 branch as well as master. Currently I have been working with a copy of master. Should I publish the files to the 2.7 branch? Thanks, Jim On 12/22/2016 9:02 PM, Jim Craig wrote: > I use gmoccapy on my milling machine. I really like that gui. Thanks > N

Re: [Emc-developers] tooledit_widget modifications

2016-12-27 Thread Jim Craig
5:53 PM, Jim Craig wrote: > I have the tooledit widget working as I like. This is the first time I > have wanted to publish my work on the project. What is the appropriate > method for me publishing the modified files? > > I have been reading the section on contributing to linu

Re: [Emc-developers] tooledit_widget modifications

2016-12-28 Thread Jim Craig
with and use this widget we > probably are the best people > to bug. > I will try to test your widget soon. > > Chris M > > > From: Jim Craig > Sent: December 28, 2016 3:00 AM > To: EMC developers > Subject: Re: [Emc-developers]

Re: [Emc-developers] tooledit_widget modifications

2016-12-29 Thread Jim Craig
. I think I could change it to use the key press event by adding in the col_edited function and exiting the event handler sequence after the key press event. I will give this a try today and report back on the results. > > > > Hope that helps > Chris M > >

Re: [Emc-developers] tooledit_widget modifications

2016-12-29 Thread Jim Craig
On 12/28/2016 7:59 PM, Chris Morley wrote: >> errors: >> >> I did get an error when navigating past far left or far right on lathe >> offset pages. >> >> I would guess this is because there are less columns showing. > I was able to get this error fixed. It is on my fork with the latest commit. Th

Re: [Emc-developers] tooledit_widget modifications

2016-12-29 Thread Jim Craig
replies are Inline below. On 12/29/2016 8:52 AM, EBo wrote: > I will also inline as below... > > On Dec 29 2016 6:42 AM, Jim Craig wrote: >> See my replies below inline. >> >> On 12/28/2016 7:59 PM, Chris Morley wrote: >>> ... >>> >>> When I

Re: [Emc-developers] tooledit_widget modifications

2016-12-30 Thread Jim Craig
On 12/29/2016 9:38 AM, Niemand Sonst wrote: > Hallo Jim, > > first I would say thanks for your work, I am compiling at the moment to > test from my side. > I checked the code and I would like to recommend: > > Is it possible to get the code of: > > onTreeNavigateKeyPress > > in a own module? This w

Re: [Emc-developers] tooledit_widget modifications

2016-12-30 Thread Jim Craig
On 12/29/2016 8:16 PM, Chris Morley wrote: > > > >> audit: >> >> When I entered a value the cursor moves down to the next tool rather then >> the next axis of the same tool. >> >> I would think this is not what you wanted? > This is what I wanted. It is the way most spreadsheets work. If the > gro

Re: [Emc-developers] Gladevcp_gtk3 Branche

2017-07-17 Thread Jim Craig
Maybe this would be something that could work. http://www.gcad3d.org/ It is openGL and has NC interpreter for generating cad preview of G-Code. I have not tried it just came across it. Jim On 7/17/2017 8:21 AM, Chris Morley wrote: I did the work on that branch.Gremlin can not work in gtk3.