#linuxcnc | Logs for 2013-12-23

[04:47:02] * Loetmichel is just milling some speaker enlosures for 24" TFT moniotrs out of 3mm PVC foam sheets... *lego* + CA glue ;-) ... only 100 speakers to enclose ;-) http://www.cyrom.org/palbum/main.php?g2_itemId=14568
[05:10:19] <Deejay> moin
[05:10:37] <archivist> moan
[07:31:46] <pcw_home> Tom_itx: theres no limit to the number of modules (anything that will fit is OK)
[07:31:48] <pcw_home> Maybe you just had a pin file error:
[07:31:49] <pcw_home> "moved the sserial off the spare encoder pins so they're separate from anything else"
[11:00:16] <ries> is it possible to send send gcode to axis over a TCP connection?
[11:03:30] <archivist> ries, look at nml messaging over tcp
[11:03:50] <ries> archivist: thanks
[11:03:54] <ries> I will take a look
[11:04:33] <archivist> although the split is later somewhere
[11:05:36] <ries> is this related to axis remote?
[11:05:53] <archivist> I think so yes
[12:15:40] <IchGuckLive> hi all B)
[12:35:23] <tom_R2E3> sdfjsfj
[12:35:37] <IchGuckLive> x
[12:35:50] <tom_R2E3> hi
[12:35:59] <IchGuckLive> ;-)
[12:36:33] <tom_R2E3> I'm just wiring encoders to mesa 7i77
[12:36:39] <tom_R2E3> does anyone know:
[12:37:09] <tom_R2E3> I have A-, A+, B-, B+ etc
[12:37:42] <tom_R2E3> mesa docs have QA0, /QA0, QB0, /QB0 etc
[12:37:55] <tom_R2E3> does QA0 = a+?
[12:38:06] <tom_R2E3> or does it even matter which way round they go?
[12:39:52] <jthornton> yes QA0 = a+
[12:39:59] <tom_R2E3> thanks
[12:40:07] <pcw_home> Yes QA0 = A+ but you may well have to swap to get the direction correct
[12:40:43] <tom_R2E3> OK, i'll see how I get on. Thank you
[13:17:14] <IchGuckLive> tom_R2E3: / may be -
[13:30:53] <tom_R2E3> right, plugged them all in :)
[13:31:03] <tom_R2E3> I'm a bit confused about the next bit though
[13:31:39] <tom_R2E3> I'm not sure what to do with the tachos?
[13:33:21] <tom_R2E3> and tha analogue drive interface. Mesa 7i77 is expecting four wires: 10v,-10v,gnd and drive enable
[13:34:28] <tom_R2E3> Bridgeport docs i'm working from shows 10v and -10v but that's all. Drive enable is just one signal going to my main control relay
[14:24:07] <Salem_> Hi @ all
[14:29:45] <Salem__> Hi @ all
[16:05:31] <ries> anybody doing java here that can try something out for me?
[16:26:18] <Deejay> gn8
[16:36:30] <nlancaster> for a small light duty router, anyone have any recommendations on a trim size router? I know the bosch colt is poular
[16:36:35] <nlancaster> popular*
[16:39:29] <balestrino> why in python i get "no module named linuxcnc"?
[16:49:42] <CHNCguy> Hey all
[16:50:51] <CHNCguy> JT-Shop: i was playing with your subroutines, but how do you link one to the next? For example, face, radius edge, the profile, then threading, etc... all in one smooth program?
[16:52:49] <ries> CHNCguy: what are you looking for? (just curious)
[17:02:33] <CHNCguy> How so ries?
[17:03:14] <CHNCguy> Well I have cad/cam but JT made some subroutines that can be quickly plugged in for programming a part, but currently I don't really know how to make a complete part out of each of his subs
[17:03:33] <CHNCguy> There is a compile and next tab but not sure how to use them (Total newb to linux cnc ;)
[17:03:33] <ries> CHNCguy: I just released this (very Alpha) https://github.com/rvt/cnctools
[17:04:03] <ries> Just looking for ideas and if I should further develop it... it's going to be a toolset to allow for repetetive operations, like facing and stuff
[17:06:17] <ries> I kinda wonder how other people do some of these things you don't need CAD for , but you do need the g-code...
[17:08:24] <CHNCguy> well good point
[17:09:04] <CHNCguy> so you have a video of the routines? running?
[17:10:20] <CHNCguy> Hey ries can you help me with trying to load these routines? Its a stand alone Gladevcp and embedded https://github.com/cnc-club/linuxcnc-features
[17:10:58] <ries> I don't have to much, but I have this : http://www.screencast.com/users/riesvantwisk/folders/Default/media/1d5aed31-c5e3-4fe2-97fb-a8fe53d4ab80
[17:11:55] <CHNCguy> Your video looks pretty cool :)
[17:12:34] <ries> It already does life editing of g-code and will give you feedback on broken g-code lines..
[17:12:56] <CHNCguy> Pretty cool, I private messaged you
[17:13:18] <ries> CHNCguy: reading it quickly...
[17:13:49] <CHNCguy> thanks, its the instructions that I can't really understand, *brand new at linuxcnc here*
[17:14:10] <ries> CHNCguy: did this work for you? 0. Simple usage
[17:14:19] <ries> when you just run ./features.py --ini=/home/nick/linuxcnc/configs/sim/axis/axis_mm.ini ?
[17:16:17] <CHNCguy> ok stupid question, but how can I do I run that?
[17:16:23] <CHNCguy> LOL
[17:16:34] <CHNCguy> Do i go into terminal?
[17:16:50] <ries> yeaa, in a terminal, but did you already downloaded that code?
[17:16:50] <CHNCguy> Sudo ./features.py --ini=/home/nick/linuxcnc/configs/sim/axis/axis_mm.ini
[17:17:14] <CHNCguy> Yes I downloaded all of the files
[17:17:30] <ries> why run it with sudo? Not sure if you really need that
[17:17:40] <JT-Shop> CHNCguy, ngcgui does it for every sub you create a feature for
[17:18:37] <CHNCguy> let me try to run it, one sec let me see what it says
[17:20:44] <CHNCguy> ill log back in 1 sec ;)
[17:22:31] <CHNCguy> k im on my linux comp now ;)
[17:24:25] <CHNCguy> k typed in ./features.py --ini=/home/nick/linuxcnc/configs/sim/axis/axis_mm.ini but says files dont exist
[17:27:49] <CHNCguy> let me change some lines in that command
[17:29:29] <CHNCguy> SO i just downloaded it again and extracted it to my chnc/linuxcnc dir
[17:32:27] <CHNCguy> ries: so still not working
[17:33:36] <ries> CHNCguy: did you execute that in the directory where the file features.py is located?
[17:35:09] <CHNCguy> I did I moved and extracted everything to home/chnc/linuxcnc
[17:35:54] <CHNCguy> features is in /home/chnc/linuxcnc/.features.py
[17:36:58] <ries> I see you use two different users? Do both users have access into the directories?
[17:37:12] <CHNCguy> i only have 1 user CHNC
[17:37:41] <ries> also, why is there a dot infront of features.py ?
[17:38:26] <CHNCguy> I have no idea, im just getting that from the website
[17:39:11] <ries> CHNCguy: I douth it, when I do a clone I don't get a . infront of that file
[17:39:30] <CHNCguy> clone?
[17:40:16] <CHNCguy> not sure what u mean
[17:41:09] <ries> it's a git command that allows you to download the git repor : git clone https://github.com/cnc-club/linuxcnc-features
[17:42:24] <nlancaster> linux cnc runs thru parrelel port correct?
[17:43:14] <CHNCguy> so, i feel totally dumb here, you have seen the site, how would you install these features?
[17:43:24] <CHNCguy> can you step by step show me.
[17:43:35] <CHNCguy> I WILL PAY YOU, I am frustrated LOL
[17:43:39] <ries> nlancaster: * can run
[17:43:42] <CHNCguy> do u accept paypal ?
[17:44:07] <CHNCguy> seriously u help me to get it to work ill pay ya, lets chat in PM
[17:44:15] <nlancaster> reis, what I mean is it has no problem outputing thru parrelel port to a BOB. correct?
[17:44:16] <ries> CHNCguy: I am not familiar with these features, let me see if I can run it on my VM machine, just a sec
[17:44:32] <ries> nlancaster: That's what many people do, including me
[17:44:36] <CHNCguy> thanks ries
[17:45:01] <nlancaster> kewl, I have thought aobut using linux cnc before, because it supports parrel still. where windows 7 with mach3 does not
[17:45:36] <nlancaster> well, except on 32bit windows 7 i guess.
[17:47:29] <CHNCguy> i have tried mach 3, is good for mills, not for lathe, I got linuxcnc just for my CHNC lathes, kind of a learning curve...
[17:52:38] <ries> CHNCguy: what does : locate axis_mm.ini give you?
[17:55:26] <CHNCguy> nothing
[17:55:30] <CHNCguy> oh wait
[17:55:34] <CHNCguy> 1 sec
[17:56:18] <CHNCguy> it wont let me paste
[17:56:44] <CHNCguy> ..../usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/axis_mm.ini
[17:57:57] <ries> what does locate features.py give you?
[17:58:48] <CHNCguy> it doesnt give me a response, when I press enter it just goes to a blank line
[17:59:11] <ries> Do this:
[17:59:16] <ries> cd /home/chnc/linuxcnc/
[17:59:29] <CHNCguy> k
[17:59:37] <ries> ls
[17:59:49] <ries> is there a file called features.py ?
[17:59:55] <CHNCguy> yes
[18:00:13] <ries> do this:
[18:00:30] <ries> ./features.py --ini=/usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/axis_mm.ini
[18:00:33] <ries> what happens?
[18:01:07] <CHNCguy> chnc@chnc-desktop:~/linuxcnc$ ./features.py --ini=/usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/axis_mm.ini
[18:01:07] <CHNCguy> Traceback (most recent call last):
[18:01:07] <CHNCguy> File "./features.py", line 23, in <module>
[18:01:07] <CHNCguy> from lxml import etree
[18:01:07] <CHNCguy> ImportError: No module named lxml
[18:01:07] <CHNCguy> chnc@chnc-desktop:~/linuxcnc$
[18:01:17] <ries> do this:
[18:01:51] <ries> sudo apt-get install python-lxml
[18:02:12] <ries> it should install something, then try the above command
[18:02:47] <CHNCguy> k installed
[18:03:05] <ries> again do this
[18:03:07] <ries> ./features.py --ini=/usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/axis_mm.ini
[18:03:52] <CHNCguy> awesome, it opens, but it opens the mill features, how do i get the lathe ones :D
[18:04:38] <CHNCguy> can I load it but not the sim files, the files pncconf made on the desktop chnc.ini?
[18:04:54] <ries> you should beable to from what I understand
[18:05:10] <CHNCguy> what would the path be?
[18:05:30] <ries> what does locate chnc.ini give you?
[18:05:57] <CHNCguy> blank line
[18:06:50] <ries> then locate the path of the file, see if you can find it
[18:07:10] <ries> then similar as above just use it as your init file asfter --ini=
[18:07:15] <ries> I have to go down to my lady
[18:07:25] <CHNCguy> go down? LOL ENJOY!
[18:07:46] <CHNCguy> Hit me up and Ill send some cash to ya, been trying to figure this out for a few weeks
[18:07:54] <Jymmm> ries: It's ON, not TO
[18:08:17] <CHNCguy> LOL
[18:08:18] <CHNCguy> haha
[18:11:32] <ries> Jymmm: later ..... happens later....
[18:11:54] <ries> CHNCguy: cash is not required, enjoy LinuxCNC
[18:12:14] <Jymmm> ries: That's NOT what she has been saying on the forum ;)
[18:12:15] <CHNCguy> thanks man, i owe u ;D
[18:12:16] <Tom_itx> JT-Shop you around?
[18:13:06] <JT-Shop> for a bit
[18:13:22] <Tom_itx> you have access to the 2.6 docs?
[18:13:59] <JT-Shop> not out here, but I'm fixing to go down to the beer cave and I have them down there
[18:14:16] <Tom_itx> one tic...
[18:15:23] <Tom_itx> i was to remind someone to update the hal_manualtoolchange to include a hal_manualtoolchange.change_button
[18:15:53] <Tom_itx> allows a physical button to work side by side with the axis toolchange dialog
[18:16:30] <Tom_itx> new for 2.6
[18:20:23] <JT-Shop> I don't even see hal manual tool change in the docs yet LOL
[18:21:33] <Tom_itx> it's a script file
[18:21:44] <Tom_itx> modded for this
[18:21:51] <Tom_itx> added to the source
[18:22:30] <JT-Shop> I see a bit of text in the Axis chapter on manual tool change
[18:22:42] <CaptHindsight> http://imagebin.org/283555 the puller broke before the arm came loose
[18:23:49] <atom1> http://paste.debian.net/72405
[18:23:53] <atom1> an example of it
[18:24:49] <JT-Shop> yea, I see the pin but don't see any description of hal manual tool change other than in the Axis chapter
[18:25:25] <JT-Shop> it should be in the Commands and userspace components man pages
[18:25:31] <Tom_itx> that may be where i found it... i don't remember now
[18:25:45] <Tom_itx> i did find an example of use somewhere
[18:25:57] <Tom_itx> excluding the line
[18:28:13] <atom1> http://www.linuxcnc.org/docs/2.4/html/hal_hal-examples.html
[18:28:24] <atom1> one place
[18:28:54] <atom1> i would add comments about it there
[18:29:23] <atom1> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Tool_Changes
[18:29:26] <atom1> older docs
[18:30:48] <CHNCguy> night yall :D
[18:31:35] <atom1> http://www.linuxcnc.org/docs/2.4/html/hal_hal-examples.html
[18:31:41] <atom1> the 2.4 docs for it
[18:32:24] <jthornton> got it
[18:33:04] <Tom_itx> 2.5 is probably there somewhere..
[18:34:54] <jthornton> so hal_manualtoolchange.change_button does the same thing as pressing OK on the dialog?
[18:35:19] <Tom_itx> yes
[18:35:52] <Tom_itx> makes it rather handy for a pendant
[18:37:28] <jthornton> I can imagine it does
[18:39:36] <jthornton> in about an hour it should show up here http://linuxcnc.org/docs/devel/html/hal/hal-examples.html
[18:43:35] <Tom_itx> thanks
[18:43:58] <Tom_itx> so what's new in 1.5.8?
[18:46:51] <jthornton> took out the debugging prints and fixed a few errors and added feed to the drill routines
[20:05:16] <fxp> hello,could I do the CNC progromming by using c++?
[20:11:21] <jdh> you can write c++ code to generate g-code. Might not be much of a transform.
[20:13:40] <fxp> and with our linuxCNC?
[20:13:49] <fxp> thanks
[20:14:14] <jdh> you can generate code that linuxcnc likes.
[20:14:56] <jdh> doing moves directly would seem to lose the benefit of most of linuxcnc
[20:15:50] <fxp> and I want to programming directly on the LinuxCNC OS
[20:16:01] <fxp> by the c++ language
[20:18:14] <jdh> what do you see the interface between your code and linuxcnc doing?
[20:29:35] <Tom_itx> seems like alot of work just to get some gcode
[20:55:37] <Tom_itx> is the status window suppose to auto scroll?
[21:42:56] <Tom_itx> quiet night
[21:54:05] <ChuangTzu> silent night
[21:54:10] <ChuangTzu> :S