#linuxcnc Logs

Apr 09 2019

#linuxcnc Calendar

01:07 AM pink_vampire: any life?
01:12 AM Jymmm: eh
01:14 AM pink_vampire: Jymmm: do you know how i control the font of the plot display?
01:14 AM pink_vampire: I want to change the font
01:15 AM Jymmm: pink_vampire: Sorry no, you might google it though
01:15 AM pink_vampire: I tried to google it, and even tried to dig in some python files
01:16 AM Jymmm: http://linuxcnc.org/docs/html/gui/axis.html
01:17 AM pink_vampire: i know about this page, but what files build the plot section?
01:18 AM pink_vampire: I want to change the dro font
01:59 AM Deejay: moin
04:14 AM XXCoder: pink_vampire: life!
04:14 AM pink_vampire: XXCoder: !!
04:14 AM XXCoder: heh whats up
04:15 AM pink_vampire: I'm trying to change the font and the color of the dro in the plot section, but nothing work
04:15 AM XXCoder: hmm wonder why
04:16 AM pink_vampire: I can't find anything that controlled it
04:16 AM -!- #linuxcnc mode set to +v by ChanServ
04:19 AM XXCoder: hmm may be hardcoded font
04:19 AM pink_vampire: i saw someone that changed it
04:20 AM XXCoder: maybe by editing source code but then maybe there is indeed a way
04:21 AM pink_vampire: https://forum.linuxcnc.org/41-guis/16426-changing-the-opengl-colors-in-the-axis-gui?limit=6&start=18
04:23 AM XXCoder: interesting. also wow bit old
04:23 AM pink_vampire: i have no idea how he changed it
04:24 AM XXCoder: .Xresources
04:24 AM XXCoder: might have settings there
04:24 AM XXCoder: "The majority of the interface code is found in:
04:25 AM pink_vampire: it is only change the lines and the background in the plot section
04:25 AM XXCoder: /usr/share/axis/tcl/axis.tcl"
04:25 AM XXCoder: examples v
04:25 AM XXCoder: https://forum.linuxcnc.org/41-guis/16426-changing-the-opengl-colors-in-the-axis-gui?limit=6&start=36
04:26 AM XXCoder: might have it
04:26 AM pink_vampire: XXCoder: there is no color designation in axis.tcl
04:27 AM XXCoder: look at post 19222 on my last link
04:27 AM XXCoder: it defines colors but uncertain if can be applied to dro
04:28 AM pink_vampire: this is look like stuff from the axis gui , not the opengl plot stuff
04:29 AM XXCoder: it is
04:29 AM XXCoder: but wonderinf if similiar can be applied to dro
04:29 AM -!- #linuxcnc mode set to +v by ChanServ
04:30 AM pink_vampire: i can't find any documentation about the plot section
04:33 AM XXCoder: well hope you figure it out :)
04:33 AM pink_vampire: no idea how
04:33 AM XXCoder: maybe give plot some font set and defintuions just for lols
04:33 AM XXCoder: see if it changes anything
04:34 AM pink_vampire: but how do you give it?
04:34 AM pink_vampire: what controlled it?
04:34 AM pink_vampire: what build it?
04:34 AM XXCoder: im not certain, you have worked on gui definitions and changes more than I do,.
04:35 AM pink_vampire: what the xrdb -merge command do??
04:36 AM XXCoder: "xrdb (X resource database manager) is a program used for accessing the X resources of a server. Its main use is to read a set of resources from a file and store them in the server at startup."
04:36 AM XXCoder: uncertain
04:36 AM XXCoder: it may be just happen to be same command name
04:37 AM XXCoder: just looked into xrdb help
04:38 AM XXCoder: its not clear at all lol looking into man now
04:38 AM XXCoder: HMMMM
04:38 AM XXCoder: looks like it changes X for color preferences, fonts so on
04:38 AM XXCoder: im not sure how it relates to linuxcnc.
04:39 AM pink_vampire: there is any documentation?
04:40 AM XXCoder: xrdb sure try this in term, man xrdb
04:40 AM XXCoder: though its not clear how it relates to linuxcnc.
04:40 AM XXCoder: about plot docs i dont know
04:43 AM pink_vampire: http://linuxcnc.org/docs/devel/html/gui/axis.html#_change_the_dro_color
04:44 AM pink_vampire: not sure where to add /edit this line
04:45 AM XXCoder: i dont know how file looks like, but probably after it defines plotter in least.
04:47 AM jthornton: morning
04:47 AM pink_vampire: hi jthornton
04:48 AM XXCoder: hey jthornton I showed some workers my plastic caliper toy
04:48 AM XXCoder: there was lols going around
04:51 AM jthornton: did you try and get it calibrated?
04:51 AM XXCoder: nah maybe tomorrow ask some qa guy and see heh
04:52 AM XXCoder: i did forget to check its precision with gauge rods tho.
04:55 AM jthornton: lol
04:56 AM XXCoder: i had an silly idea with it
04:56 AM XXCoder: laser engrave contact info on it
04:58 AM pink_vampire: jthornton: do you know how to edit the dro color?
05:01 AM jthornton: in what?
05:03 AM pink_vampire: the DRO that display on the plot section
05:04 AM jthornton: in Axis?
05:04 AM pink_vampire: yes
05:05 AM jthornton: no, it's not configurable you would have to hack the code
05:05 AM pink_vampire: i can't find any info about it in the /usr/bin/axis python file
05:06 AM pink_vampire: the python code?
05:06 AM pink_vampire: what code?
05:06 AM jthornton: probably in the tcl file
05:06 AM XXCoder: the axis.tcl one?
05:08 AM pink_vampire: jthornton: how he did it? https://forum.linuxcnc.org/41-guis/16426-changing-the-opengl-colors-in-the-axis-gui?limit=6&start=18#18401
05:09 AM jthornton: dunno he didn't say
05:09 AM jthornton: but that's not Axis
05:09 AM pink_vampire: yeah i know..
05:09 AM pink_vampire: it is axis
05:09 AM jthornton: you need QtPyVCP!!!!
05:10 AM jthornton: no, I assume it used parts of axis
05:10 AM pink_vampire: qtpyvcp it is easy to change?
05:10 AM XXCoder: pink jt's tutorial on qtptvp is amazing
05:11 AM XXCoder: he takes you step by step building entire gui'
05:11 AM Tom_L: morning
05:11 AM pink_vampire: but i need to re install linux cnc for that and eat all the shit from the beginning
05:11 AM jthornton: morning
05:12 AM XXCoder: is qt 2.8 alone?
05:12 AM XXCoder: morning
05:12 AM jthornton: yea
05:12 AM XXCoder: aw wanted to play with it. i guess I will need to upgrade mine heh
05:12 AM jthornton: put a second hard drive in
05:12 AM XXCoder: nah its sim only on this pc. linuxcnc i have no room to put it :(
05:13 AM XXCoder: *linuxcnc pc
05:13 AM pink_vampire: there sooo much stuff on the linux cnc pc..
05:13 AM pink_vampire: there is*
05:15 AM XXCoder: oh yeah. tutorial for vismach
05:15 AM XXCoder: I need to write that
05:15 AM pink_vampire: ??
05:15 AM XXCoder: will I remember it when weekend comes? i doubt it./
05:15 AM XXCoder: vismach is fake machine to show gcode running
05:16 AM XXCoder: you have 2.7 right? you could add it, look for rolfmill
05:16 AM XXCoder: it wont affect your current configuration
05:17 AM XXCoder: on 2.8 it has different name, 3axis_tutorial I think
05:17 AM pink_vampire: i have 3d files for the g0704
05:19 AM pink_vampire: https://i.imgur.com/X3SOMK4.png
05:19 AM XXCoder: air pressure hose?
05:19 AM XXCoder: or coolant tubes?
05:19 AM pink_vampire: air
05:20 AM pink_vampire: this is my linuxcnc computer
05:22 AM jthornton: wow all my pepper plants sprouted last night
05:23 AM pink_vampire: peppers grow in walmart
05:25 AM XXCoder: lol
05:25 AM jthornton: I need to hurry up and get my raised bed torn down and rebuilt
05:25 AM XXCoder: jt nice
05:26 AM jthornton: I think I have figured out my germination box now which used to be a fermentation chiller
05:30 AM jthornton: my neighbor finally put a fence up around her chicken yard after loosing 8 in 3 days to night time predators
05:31 AM jthornton: she is down to 25 chickens and has 1 black one left from 40 someone gave her
05:31 AM XXCoder: geez
05:31 AM jthornton: the one I gave her Sidekick is doing well and has a boyfriend
07:54 AM gregcnc: that's a lot of sewing kits
07:55 AM methods_: https://www.atlasobscura.com/articles/egypt-egg-ovens
07:56 AM methods_: makes a bunch of chickens at one time
07:58 AM gregcnc: my cousin worked at a hatchery in GA, didn't sound like fun
08:44 AM methods_: https://imgur.com/gallery/cxIPTFH
12:05 PM fragalot: 'sup
12:34 PM fragalot: miss0r2: the little black book arrived. I should have gotten this ages ago, it's like my other machinist bible, but half as thick with twice as much useful info
12:38 PM cryptg: Hello everyone
12:39 PM cryptg: I have a question regarding a new setup
12:39 PM gloops: just ask cryptg
12:40 PM FinboySlick: Or ask gloops.
12:40 PM FinboySlick: ;)
12:40 PM cryptg: Ah I see, I'm trying an irc app on my phone so I want sure if it connected properly
12:40 PM cryptg: Haha
12:40 PM cryptg: OK
12:41 PM cryptg: So I got a live CD and ran it on a pc, the cnc will likely be run through a parallel port
12:41 PM gloops: ok
12:42 PM cryptg: My question is, what's the recommended way to add encoder feedback to the pc
12:42 PM cryptg: Do I need to install an extra parallel port card?
12:43 PM gloops: hmm, not one for me, FinboySlick you used encoders dont you?
12:43 PM FinboySlick: No. Still on plain steppers.
12:44 PM gloops: Tom_L jthornton
12:44 PM gloops: cryptg i assume the immediate issue is lack of input pins?
12:45 PM cryptg: Yes
12:45 PM cryptg: At least in theory
12:45 PM cryptg: I'm putting together a parts list
12:45 PM FinboySlick: cryptg: Are you going for servomotors or are you just adding encoders to steppers?
12:45 PM cryptg: I'm planning to use a nema23 closed loop setup with an Hbs57 drive
12:46 PM cryptg: Steppers are the idea right now
12:46 PM cryptg: Servos climb up in price fast
12:47 PM fragalot: cryptg: have you considered closed-loop steppers?
12:47 PM FinboySlick: Are you expecting high torque? Because if you're just getting started and going with steppers anyway, you might not really need the encoders.
12:47 PM cryptg: Yes that is what I'm aiming for
12:47 PM fragalot: cryptg: you can get the chinese ones that do the whole closed-loop thing in the drive
12:48 PM fragalot: less reliable than reading the encoders in linuxcnc, but from what i've played with they seem to work pretty damn well
12:48 PM cryptg: I'm aware, that is what the hbs57 drive is
12:48 PM fragalot: but for reading it into linuxcnc, you will indeed either need an extra parallel port, or go for a mesa setup
12:48 PM cryptg: I was planning on having live feedback to the pc so I can manually position the head when needed
12:49 PM cryptg: Hmm
12:49 PM cryptg: I'm unclear on what the Mesa setup is
12:50 PM FinboySlick: In your case, mesa are interface cards that provide a similar interface to parallel but can generate the timing/steps themselves.
12:50 PM gloops: https://www.ebay.co.uk/itm/ECO-400KHz-USB-3-Axis-CNC-Motion-Control-Card-Breakout-Board-for-Mach3-milling/332668344414?
12:51 PM gloops: fragalot they all loop to the driver dont they?
12:52 PM gloops: but the driver doesnt know the machine position v actual position
12:52 PM cryptg: Would a USB interface keep up?
12:52 PM gloops: id guess it would be trouble
12:53 PM fragalot: gloops: the chinese ones do indeed loop to the driver, but it is possible to have linuxcnc track it too
12:53 PM gloops: just looking for boards with more connectivity, probably as well adding another cheap board
12:53 PM fragalot: in theory the motor drive can respond better than linuxcnc can
12:53 PM gloops: or go mesa/ethernet
12:54 PM fragalot: cryptg: you could use the USB for the step generation, and the parport for the encoders
12:55 PM cryptg: I see
12:55 PM gloops: so lets compare - the driver only knows the steps its been ordered to execute - and which steps have been executed
12:55 PM cryptg: Brb
12:56 PM gloops: whereas linuxcnc with feedback, knows where the machine is and where it should be
12:56 PM fragalot: gloops: yes, and it knows which coils it is currently energising on the stepper
12:56 PM fragalot: so it can lock it in place more effectively
12:56 PM fragalot: yet it has no idea "where" it is
12:56 PM gloops: i dont suppose it makes that much difference
12:56 PM fragalot: it kinda does
12:57 PM fragalot: if you can have both closed-loop stepper drivers, and linuxcnc encoders, you're golden
12:57 PM fragalot: :D
12:57 PM gloops: even so, with fine tolerances being the difference between scrap job or not
12:58 PM gloops: you can set the following error with driver to 1 step
12:58 PM gloops: its going to stop anyway
12:58 PM gregcnc: https://youtu.be/sYaTLtgs-HY?t=432
12:58 PM gloops: same as linuxcnc will stop it
12:59 PM gloops: thats mesa though gregcnc, we're trying to keep this under £20
12:59 PM gregcnc: sure, but there is also reality
01:00 PM gloops: its the home switches that take up the input pins, cant we run them all from one pin
01:00 PM gregcnc: home on one pin is common
01:00 PM gloops: yeah, i know its fine for limits, suppose it works with home as well
01:01 PM gregcnc: encoders add up fast though
01:01 PM gloops: each axis
01:01 PM gloops: if each axis is homed in sequence
01:01 PM gregcnc: home and limit on same pin also common
01:01 PM gregcnc: my mill is set up this way
01:03 PM gregcnc: I'm also uncertain if anyone has working CNC / DRO modes? has that been done?
01:03 PM cryptg: https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.ebay.com%2Fulk%2Fitm%2F122227701333
01:03 PM cryptg: This is my intended stepper set up
01:04 PM cryptg: I am unsure on how to use the rs232 out on linuxcnc
01:05 PM cryptg: Add a bunch of serial ports? Haha
01:06 PM Tom_L: get a mesa card and be done with it
01:06 PM cryptg: StarTech.com 8 Port Native PCI Express RS232 Serial Adapter Card with 16950 UART - 8 Port PCIe RS232 Serial Card https://www.amazon.com/dp/B001VSR9TK/ref=cm_sw_r_cp_apa_i_-4nRCbCNQ4CK5
01:06 PM gloops: there are people here who will explain, if you can drop on ...ah
01:06 PM cryptg: Hi Tom I'm back
01:06 PM gloops: cryptg why only 3NM steppers?
01:07 PM cryptg: Oh that is just an example
01:07 PM cryptg: I may go for a 9 or 13 nema34
01:07 PM gloops: ahh right, point being - spend the same money on stronger open loop steppers, no step losses
01:08 PM Tom_L: http://store.mesanet.com/index.php?route=product/product&product_id=291&search=7i90
01:08 PM Tom_L: i've got one of those on a parallel port and have 72 IO
01:08 PM cryptg: This was originally intended as a project for work, but I fixed the machine...
01:08 PM Tom_L: plenty to do just about anything you could think of
01:09 PM cryptg: Woah
01:09 PM Tom_L: i added a 7i47S to it but there are other daughter cards that would work just as well
01:10 PM Tom_L: JT-Shop here is a dealer
01:10 PM Tom_L: https://mesaus.com/
01:10 PM cryptg: Would the 72io need 3 daughter cards?
01:10 PM JT-Shop: yo
01:11 PM Tom_L: jt do you have the 7i90?
01:11 PM cryptg: Hello good sir
01:11 PM Jymmm: JT-Shop: ...and a bottle of rum
01:11 PM fragalot: gloops: lower torque closed loop may give you higher speeds than the high torque versions on the same hardware (plus you want the frame to be stronger than the motors can push :P)
01:11 PM cryptg: Quite....
01:12 PM Tom_L: you could just add an isolation card if you don't need special IO
01:12 PM Tom_L: he's got those too but i don't know the number
01:12 PM gloops: faster at lower torque - can see whats coming
01:13 PM fragalot: gloops: it all just depends on the application
01:13 PM gloops: yes ok for lasers
01:13 PM fragalot: or engravers, or dot matrix pin punch things
01:15 PM cryptg: Tom, with one daughter cards alone I get 24io?
01:18 PM cryptg: Has anyone here ever interfaced that kit I posted with Linuxcnc by using the rs232? Or can I slice the encoder output out to the Mesa card?
01:19 PM cryptg: As in having the encoder connected to BOTH the drive and the Mesa card
01:23 PM Tom_L: it depends on the card
01:24 PM Tom_L: generally speaking though, yes
01:24 PM Tom_L: i don't think you would want the encoder connected to both
01:25 PM cryptg: Feed back issue was my thought
01:25 PM fragalot: cryptg: they'd jitter a lot
01:25 PM Tom_L: if it's a closed loop stepper let the stepper handle it
01:26 PM fragalot: linuxcc wants position A, but the stepper drive wants to have it 0.5° the other way
01:26 PM fragalot: so they fight
01:26 PM fragalot: or you wind up in a runaway situation
01:26 PM cryptg: I'll just see a speed wobble happen as I tell it a position
01:26 PM cryptg: ...
01:26 PM fragalot: :P
01:27 PM fragalot: just pick either linuxcnc, or the stepper drive to do the closed-loop part
01:27 PM cryptg: Haha
01:28 PM cryptg: I don't think that one through
01:28 PM cryptg: Didn't *
01:30 PM cryptg: So if I choose closed loop to the driver, linuxcnc won't know the real location, but I get stronger steppers, vs if I use closed loop to Linuxcnc I get weaker steppers...
01:31 PM fragalot: you ca get strong steppers in either scenario
01:31 PM fragalot: encoders done separately aren't exactly cheap either
01:31 PM fragalot: so price wise it is probably similar
01:32 PM cryptg: A little background, I am currently using an ACRA mill and a Haas lathe cnc at work
01:32 PM Tom_L: https://www.ebay.com/itm/3pcs-NEMA23-570OZ-IN-5A-3-8-DUAL-SHAFT-STEPPER-MOTOR/253223632606?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m1438.l2649
01:32 PM Tom_L: those aren't weak
01:33 PM cryptg: I like being able to job the axis by hand on the ACRA and have it know where it is
01:33 PM cryptg: Jog*
01:33 PM Tom_L: i've got a pendant on mine for that
01:33 PM fragalot: cryptg: via a pendant, or does it decouple the cnc control temporarily?
01:34 PM cryptg: Yes
01:34 PM cryptg: The Haas is using a pendant
01:34 PM cryptg: But the ACRA decouples
01:35 PM fragalot: i'm not sure if linuxcnc can do that without some convincing
01:35 PM fragalot: but it certainly rules out closed loop steppers
01:35 PM cryptg: Hahaha
01:35 PM fragalot: well not rules out, but they don't offer much advantage anymore
01:35 PM cryptg: Yup
01:36 PM cryptg: Since I've never actually used linuxcnc I don't know it's limitations yet
01:38 PM fragalot: well the limitations are that it's not a heidenhain, and the advantages are that it's not a heidenhain
01:39 PM fragalot: :-)
01:39 PM fragalot: it is very flexible, but may require some tweaking or programming
01:39 PM fragalot: if you're lucky, someone else has already done said tweaking or programming and was nice enough to share it
01:40 PM cryptg: I may be building 2 machines... (-_-)
01:41 PM cryptg: One stationary with closed loop to the drivers, and one miniature una with closed loop to the pc
01:43 PM cryptg: The big one will be for regular milling, while the small one will be portable for smaller jobs / engraving granite and the like
01:45 PM cryptg: I got Linux cnc installed on an old Dell latitude laptop, with a base that gives it a parallel port, just need to get the latencies down, but since it will be on a smaller machine I don't think it will affect it much
01:50 PM Papagno: Hi at all. i have test on master a cycle.ini config with remap the g842 and g843. when start command g84.3 have message pycall(remap.cycle_prolog) failed , because ?
01:50 PM cryptg: Well thanks for all the info everyone!
01:57 PM gloops: hope youre going to show us these machines cryptg
02:09 PM cryptg: I'll try as soon as I get stuff going, as for now I think I will be testing a bunch of stuff
02:10 PM cryptg: I have a few nema17 steppers laying around and 2 optical encoders, I'll start from there and see how Linux cnc reacts
02:14 PM gloops: i doubt youll find any fault with linuxncnc
02:21 PM cryptg: Hopefully, I saw grbl and saw how limited it was
02:22 PM cryptg: It got me hunting for solutions hahaha even converted a mini laser engraver just for the tests, have up after seeing how many commands it lacked.
02:22 PM cryptg: Or rather I felt it was too limiting
02:27 PM gloops: how are you building the milling machine cryptg? like what method, welded steel, epoxy?
02:29 PM gloops: wow no bids on that for 50 notes, looks like universal mill https://www.ebay.co.uk/itm/Milling-machine-240v-selson/123727882233?
02:50 PM jthornton: https://matrix.org/_matrix/media/v1/download/matrix.org/xdoxUqvpruNqYzKrtQqAxvAF
02:54 PM cryptg: gloops, I plan on making a prototype using the conduit/3d printed plan floating around
02:55 PM cryptg: The stationary one will most likely be steel welded, while the portable one will either stay as the conduit version or be remade to a aluminum extruded version
02:57 PM gloops: hmm im on a facebook group for one of those tube plans, cant remember what its called now
02:59 PM cryptg: Well either way I can't 3d print anything right now haha i took my 3d printer to work so Ill have to wait till tomorrow to start
03:00 PM gloops: think i deleted that group anyway
03:00 PM cryptg: Dang
03:00 PM cryptg: Well I found out about it on YouTube
03:01 PM gloops: https://www.facebook.com/groups/MPCNC/
03:01 PM gloops: dont know if thats what you mean
03:01 PM cryptg: https://youtu.be/l91uSr-R7-Y
03:01 PM cryptg: Yep
03:02 PM cryptg: Seems identical
03:05 PM cryptg: I may do this for now as I have these same optical encoders
03:05 PM cryptg: https://youtu.be/wu-1f2CMlmY
03:05 PM cryptg: I'll upgrade to e integrated encoders later if it all pans out
03:06 PM cryptg: The music though...
03:06 PM cryptg: My ears hurt
03:06 PM FinboySlick: gloops: Haha, that's an interesting car in the background of that £49 mill.
03:06 PM FinboySlick: http://www.xiphisternum.com/
03:08 PM gloops: didnt spot that Finboy lol
03:09 PM gloops: at first glance i thought that was some plastic kit crap on a diddy car chassis
03:09 PM gloops: that thing has a fair old lump in it
03:10 PM gloops: cryptg ive pondered adding encoders to mine, tbh i dont think it would be worth the hassle for me
03:10 PM FinboySlick: It's a pile of junk, they couldn't even be bothered to put the steering wheel on the proper side.
03:10 PM gloops: looks like a v12
03:10 PM gloops: not sure if its an old jag egine
03:12 PM cryptg: I only want it for precise control on surfaces that I can't afford to ruin
03:12 PM gloops: i wouldnt collect a mill from someone who drives that lol
03:13 PM FinboySlick: Hah, if it's a real 'Jaaaaag', the guy probably also borrows paintings. According to Top Gear anyway.
03:13 PM gloops: i can remember one specific occassion when i wished id had closed loop, wedding sign that was a whole days cutting knacked up, with one day to the wedding haha
03:13 PM FinboySlick: Admitedly, there's a couple jags I wouldn't entirely mind owning.
03:15 PM methods_: now this is how you make a cnc out of pipes
03:15 PM methods_: https://www.youtube.com/watch?v=8PSG2al1Sus
03:16 PM FinboySlick: methods_: Wow...
03:16 PM methods_: always a classic
03:16 PM cryptg: Just... Wow
03:17 PM cryptg: Looks like something you'd find in a villains lair
03:17 PM methods_: or a mentally handicapped dude that lives in a junkyard
03:18 PM methods_: aka Jymmm
03:18 PM XXCoder: heh i remember that video. pretty crazy
03:19 PM methods_: my favorite cnc of all time
03:20 PM cryptg: Ahaha
03:20 PM cryptg: Hey look at this
03:20 PM cryptg: https://youtu.be/sYaTLtgs-HY
03:21 PM cryptg: I think this is what I'll end up with with the prototype
03:22 PM cryptg: What's with the extra board with the optocouplers though
03:27 PM cryptg: Oh I see he's running the encoder off of 24v
03:39 PM cryptg: Apologies for the long German video
03:58 PM Deejay: gn8
04:04 PM Tom_L: jthornton, no sound on that here..
04:04 PM Tom_L: did you limit the threads to the max depth?
04:05 PM Tom_L: that's what i gathered from your mouse pointer presentation :)
04:23 PM JT-Shop: yea but I now realize that is wrong
04:24 PM JT-Shop: limited to number of threads which is wrong, max depth should be the limit
04:26 PM Tom_L: couldn't tell either but does it select the right drill for the hole?
04:46 PM _unreal_: Ok What do I need to download to build linuxcnc
04:46 PM _unreal_: arm system
04:50 PM JT-Shop: it selects all the drills in the range of that thread size
05:02 PM jthornton: Tom_L: you got qtpyvcp running now?
05:08 PM _unreal_: can anyone help me get linuxcnc built? I have an ARM system setup
05:08 PM _unreal_: Linux tinkerboard 4.19.34-rt18-rockchip #5.78 SMP PREEMPT RT Mon Apr 8 21:07:42 CDT 2019 armv7l armv7l armv7l GNU/Linux
05:08 PM _unreal_: Welcome to ARMBIAN 5.77 stable Ubuntu 18.04.2 LTS 4.19.34-rt18-rockchip
05:11 PM Tom_L: jthornton, yes but i've got a computer issue so i took that ssd out for a while until i get things sorted out
05:11 PM Tom_L: got thru a good part of the tuturial
05:12 PM Tom_L: what libs did you have to install to get the sql stuff for what you're working on?
05:14 PM jthornton: none they are a part of python I think
05:15 PM Tom_L: you didn't have additonal widgets over the qt linuxcnc stuff?
05:15 PM jthornton: https://github.com/jethornton/thread_mill
05:15 PM jthornton: not even any pyqtvcp widgets at all just regular qt ones
05:16 PM jthornton: nothing but buttons, labels, spin boxes
05:16 PM Tom_L: probably won't get to look at that for a day or so
05:16 PM Tom_L: how did you populate the database?
05:16 PM jthornton: import a cvs file for each table
05:17 PM Tom_L: drill table, threadmill table and thread chart table?
05:17 PM jthornton: I use the DB Browser for Sqlite
05:17 PM jthornton: yea
05:18 PM Tom_L: i use memento on my phone
05:18 PM Tom_L: sqlite i think
05:18 PM Tom_L: i import all that from my pc file
05:19 PM jthornton: I am using the qt database tools to query
05:19 PM Tom_L: had an issue importing until i realized it was java and had to add the special char for the import file
05:22 PM Tom_L: what else are you gonna add to that?
05:23 PM jthornton: dunno, it was just a place to sort out thread milling... I'll add that to either mill touch 4 or mill touch 6
05:23 PM Tom_L: did you get a threadmill?
05:24 PM Tom_L: my first attempt was a little snug
05:24 PM _unreal_: Ok so I hve the GIT repository of linxucnc downloaded working on trying to get it built
05:25 PM _unreal_: https://github.com/LinuxCNC/linuxcnc/blob/master/docs/INSTALL
05:25 PM Tom_L: point it to master
05:25 PM Tom_L: i think it will build 2.7 etc also
05:25 PM Tom_L: depending where git is pointed
05:25 PM _unreal_: ./configure [--with-realtime=uspace|/usr/rtai...]
05:25 PM jthornton: not any single points yet, I do have one full form for 1/4-20
05:26 PM _unreal_: Do I need to do ./configure with any options --with-realtime ?
05:26 PM Tom_L: at least i can thread with my little mill now
05:26 PM jthornton: cool
05:26 PM Tom_L: spindle isn't big enough to tap
05:27 PM jthornton: ./configure --help
05:27 PM Tom_L: that one ut i did a while back was only 8 or 10-32
05:27 PM _unreal_: AHH that is a big help
05:27 PM jthornton: I think I killed my pepper plants today :(
05:27 PM Tom_L: how?
05:27 PM Tom_L: it's a bit early for those isn't it?
05:27 PM jthornton: too much sun, they just came up yesterday
05:28 PM jthornton: yea for outside I'm sprouting them
05:29 PM _unreal_: ok thats a lot of options
05:30 PM _unreal_: I just want to build it so I can use it and not simulator mode
05:31 PM Tom_L: jthornton, talking to another dude in NY that was starting stuff and the cat ate it all
05:32 PM _unreal_: what is uspace
05:32 PM Tom_L: user space
05:33 PM _unreal_: ?
05:33 PM Tom_L: you got me :)
05:33 PM _unreal_: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Uspace
05:33 PM _unreal_: I dont know if I just use ./configure --with-realtime=uspace as is printed or type something else?
05:33 PM Tom_L: i think you may need it but don't quote me on that
05:34 PM Tom_L: ask andy :)
05:34 PM Jymmm: methods_: no junkyard, just burny out forst
05:34 PM Jymmm: burnt*
05:34 PM Jymmm: forest*
05:35 PM JT-Shop: uspace is required for mesa ethernet cards and requires rt preempt
05:35 PM _unreal_: I have RT preempt
05:35 PM _unreal_: I just tried installing uspace said no apt-get item
05:36 PM andypugh: I don’t think it is called uspace
05:37 PM andypugh: What is your repository line?
05:37 PM _unreal_: andypugh, which repository are you refering to?
05:38 PM andypugh: That’s what I am asking you...
05:38 PM andypugh: I came in to this half-way through
05:40 PM andypugh: Have you added one of the LinuxCNC builbot stanzas to your repositry list?
05:40 PM andypugh: https://imagebin.ca/v/4d9MeClrZbkt
05:41 PM andypugh: (Assuming that you are trying to get a pre-compiled preempt-rt version of LinuxCNC)
07:39 PM _unreal_: linuxcnc is compiling yay
07:40 PM _unreal_: andypugh, buildbot repository?
07:40 PM Tom_L: one step closer
07:40 PM Tom_L: hope you're taking good notes
07:41 PM andypugh: _unreal_: I joined half-way through, I thought you were wanting to download a precompiled LinuxCNC binary
07:42 PM _unreal_: andypugh, if you can find one that would be amazing but i dont think you can
07:42 PM andypugh: What OS?
07:43 PM _unreal_: Linux tinkerboard 4.19.34-rt18-rockchip #5.78 SMP PREEMPT RT Mon Apr 8 21:07:42 CDT 2019 armv7l armv7l armv7l GNU/Linux
07:44 PM _unreal_: andypugh, https://www.armbian.com/tinkerboard/
07:44 PM _unreal_: I built 3.19
07:45 PM _unreal_: andypugh, http://paste.ubuntu.com/p/qbSSb59gB5/
07:46 PM andypugh: It doesn’t look like the armhf builds are working: http://buildbot.linuxcnc.org/dists/jessie/master-rtpreempt/
07:47 PM _unreal_: heh
07:47 PM _unreal_: told ya
07:47 PM _unreal_: I have to build it from scratch
07:47 PM _unreal_: how do I publish a built linuxcnc?
07:47 PM andypugh: Well, I hadn’t seen any mention of arm until 5 posts ago.
07:48 PM _unreal_: heh
07:48 PM andypugh: I guess you could make a .iso image, your own Live-CD/USB
07:48 PM _unreal_: I'm going to publish the SDCARD image for the tinkerboard. then all anyone has to do is dump the image boot and they have linuxcnc
07:48 PM _unreal_: hum
07:49 PM _unreal_: I mean an install able version of linuxcnc after is been compiled?
07:49 PM andypugh: Yes, we are pretty much talking about the same thing.
07:53 PM _unreal_: odd?
07:53 PM _unreal_: http://linuxcnc.org/docs/devel/html/code/building-linuxcnc.html#Satisfying-Build-Dependencies
07:53 PM _unreal_: I'm not sure how to run the: After you’ve successfully built LinuxCNC it’s time to run the tests:
07:53 PM _unreal_: commands
07:53 PM Tom_L: linuxcnc from a window
07:54 PM Tom_L: or one of the utilities it has
07:54 PM andypugh: just type “runtests”
07:55 PM Jymmm: ... or "gimmebeer"
07:55 PM Jymmm: err... "beerme"
07:56 PM _unreal_: I did runtests and came back with an error
07:57 PM _unreal_: oh Ifigured it out sort of
07:59 PM _unreal_: running the test?
07:59 PM _unreal_: hardly taxing the cpu and moving very slow :(
08:00 PM _unreal_: I guess I make install after the test?
08:02 PM andypugh: I am not sure. In your case you might want to recompile with —with_prefix to put it in the /usr/bin
08:02 PM andypugh: That’s normally a bad idea for something that can be installed as a binary, because it’s harder to update (nothing it tracking file locations)
08:03 PM andypugh: Probably better to make a .deb and install that.
08:03 PM andypugh: (but I haven’t tried that)
08:03 PM _unreal_: not sure how to do a DEB
08:03 PM _unreal_: its still doing its running tests thing
08:03 PM andypugh: The instructions are online somwehere,
08:04 PM andypugh: https://forum.linuxcnc.org/9-installing-linuxcnc/32645-linux-mint-18-1-uspace-deb
08:04 PM andypugh: Maybe
08:06 PM _unreal_: I have to feed my daughter
08:06 PM _unreal_: then I can finish, besides this thing is running its test thing
08:06 PM _unreal_: hell I dont even know how I would launch linuxcnc jus to test
08:08 PM andypugh: just type “linuxcnc”
08:09 PM Jymmm: You don't launch lcnc, you become one with lcnc
09:16 PM _unreal_: I have no idea how to launch linuxcnc now that I have compiled it
09:17 PM Tom_L: from a terminal: linuxcnc
09:18 PM _unreal_: I typed that
09:18 PM _unreal_: no command
09:18 PM Tom_L: i'm not sure on an arm
09:18 PM _unreal_: I did the make
09:18 PM Tom_L: ./linuxcnc?
09:18 PM _unreal_: but there is no make install
09:18 PM Tom_L: oh
09:18 PM _unreal_: I dont see a linuxcnc script
09:18 PM Tom_L: just a sec
09:19 PM Tom_L: may not be able to get to my notes, i've been tearing pc's apart
09:20 PM _unreal_: back in a few putting my daughter tobed
09:21 PM Tom_L: this is for another compile but you could try it
09:22 PM Tom_itx: cd src
09:22 PM Tom_itx: ./autogen.sh
09:22 PM Tom_itx: no wait...
09:23 PM Tom_itx: from the top level directory
09:23 PM Tom_itx: source scripts/rip-environment
09:23 PM Tom_itx: linuxcnc
09:23 PM Tom_itx: try that
09:23 PM skunkworks: http://electronicsam.com/images/greenmachine/20190409_190530.jpg
09:23 PM _unreal_: there
09:23 PM _unreal_: hugs kisses and tickle tourture
09:24 PM Tom_L: nice skunkworks
09:24 PM Tom_L: _unreal_ try that ^^
09:24 PM skunkworks: getting there
09:24 PM Tom_L: or ./scripts/rip-environment
09:25 PM skunkworks: top level of the . ./scripts/rip-enviroment
09:25 PM _unreal_: What does autogen do?
09:27 PM _unreal_: There it is
09:28 PM _unreal_: I just needed to go to /scripts/./linuxcnc
09:28 PM _unreal_: ok so there it is it works
09:29 PM _unreal_: now I need to figure if the GPIO's are picked up in linuxcnc or figure out how to add them
09:29 PM _unreal_: I'm looking at the welcom to linuxcnc screen with the LIST on the left
09:30 PM _unreal_: axis, axis_9axis, axis_mm etc....
09:31 PM Tom_L: one more step...
09:31 PM Tom_L: the autogen was a note i had for something else
09:32 PM _unreal_: REALLLY kicking my self now wish I had gotten the 10" display
09:32 PM SpeedEvil is now known as Guest53750
09:32 PM _unreal_: instead of the 7
09:33 PM Tom_L: i think autogen is if you want to run a different branch other than master etc
09:33 PM Tom_L: but i'm not sure
09:33 PM _unreal_: no idea
09:34 PM _unreal_: the viewer is nice and fast though. looking at the default linuxcnc tool path 3d image
09:34 PM _unreal_: I can zoom around it very fast
09:34 PM Tom_L: hope you're writing all this down...
09:34 PM _unreal_: ya
09:35 PM _unreal_: I have not used linuxcnc for a long time. where do I go to start editing settings like parallel port pins?
09:36 PM Tom_L: in the hal file
09:36 PM Tom_L: there's an ini file and a hal file
09:36 PM _unreal_: file, machine, view, help
09:36 PM Tom_L: in your config directory
09:36 PM Tom_L: and the nc files go in nc_files
09:36 PM _unreal_: There is no setting via GUI in inucnc?
09:36 PM Tom_L: user/linuxcnc/config
09:36 PM Tom_L: etc
09:37 PM Tom_L: pcconfig or something but i've never used it
09:38 PM _unreal_: Tom_L, I think your understanding is a little off...
09:38 PM _unreal_: I did the install http://linuxcnc.org/docs/devel/html/code/building-linuxcnc.html#Setting-up-the-environment
09:38 PM _unreal_: folloing the quickstart uide... but the "install" is IN the download folder that I coompiled it in
09:38 PM _unreal_: Thats part of why I was asking about an INSTALL system or what ever
09:39 PM Rab: _unreal_, try stepconf: http://linuxcnc.org/docs/html/config/stepconf.html
09:39 PM Rab: Although if your GPIO doesn't show up as a parallel port, I'm not sure that will help.
09:40 PM Tom_L: umm, dmesg
09:40 PM Tom_L: clear it before running linuxcnc then run it right after
09:40 PM Tom_L: dmesg -c
09:40 PM Tom_L: linuxcnc
09:40 PM Tom_L: dmesg > pin.file
09:40 PM Tom_L: maybe
09:41 PM _unreal_: hum
11:02 PM BitEvil is now known as SpeedEvil