#linuxcnc Logs

Dec 08 2023

#linuxcnc Calendar

01:17 AM CaptHindsight: jwash: LCNC supports Cartesian system lasers as well as analog or xy2-100 galvos
01:41 AM Deejay: moin
03:58 AM Tom_L: morning
03:58 AM Tom_L: 47°F High 59°F
04:30 AM JT-Cave: morning
05:18 AM rene-dev1 is now known as rene-dev
06:59 AM JT-Cave: rooster just crowed
09:51 AM bjorkintosh: JT-Cave, a crazy thought just occured to me about the text editor you're working on. would it make sense as a table instead?
09:52 AM bjorkintosh: GCode is very structured already.
09:52 AM bjorkintosh: with a table, iterating over a sequence is more or less straightforward.
09:52 AM bjorkintosh: or hell, an indexed sqlite db.
09:53 AM bjorkintosh: /crazy shower thoughts.
09:54 AM bjorkintosh: so a schema representing the GCODE could be presented as a table and then accessed as needed with a well known set of instructions.
09:54 AM bjorkintosh: is that nuts?
11:37 AM Unterhaus_ is now known as Unterhausen
12:42 PM -!- #linuxcnc mode set to +v by ChanServ
12:55 PM Unterhausen: is that tomp email on the emc developer's list legit?
01:41 PM JT-Shop: bjorkintosh, I think the plain text edit is the easy way to display the g code file
01:41 PM JT-Shop: anyway I have it working nice now even run from line
01:44 PM JT-Shop: right now the plain text edit has 3 functions, display the g code file, show what line motion is at, allow the user to pick a line for run from line
01:44 PM bjorkintosh: ah alright.
01:44 PM bjorkintosh: I'll play around with the idea one of these fine days.
01:46 PM JT-Shop: ok
01:46 PM JT-Shop: I don't even think qt has tables...
01:48 PM bjorkintosh: https://doc.qt.io/qt-6/qtablewidget.html
01:48 PM JT-Shop: hmm never used it before
01:49 PM JT-Shop: I've used the qlistwidget a lot
01:51 PM JT-Shop: if you get a chance check out my gui
01:51 PM bjorkintosh: for what I have in mind, it'll use sqlite as the store, and a tablewidget as the viewer and so on.
01:51 PM bjorkintosh: JT-Shop, I shall.
01:51 PM bjorkintosh: I wish I had a little bit of time to contribute directly to it.
01:53 PM JT-Shop: https://github.com/jethornton/pyqt5
01:54 PM JT-Shop: yep I thought I've never used the table widget
02:08 PM XXCoder: amazing inheirance machining video today
02:29 PM Tom_L: weekend finally arrived
02:29 PM JT-Shop: yup
02:30 PM Tom_L: been kinda busy
02:30 PM XXCoder: weekend arrived for me in middle of summer 2020
02:30 PM JT-Shop: sometimes that's a good thing
02:30 PM XXCoder: yep
02:31 PM Tom_L: as long as the ink is black and not red, it's good
02:33 PM bjorkintosh: hmm. black ink. ... blink!!
02:33 PM bjorkintosh: or blank??
02:33 PM bjorkintosh: nah doesn't work. some of my new words simply won't catch on.
02:35 PM JT-Shop: we got invited to a xmas dinner tomorrow by some friends in the Corvette club... first time since we moved here in 1998
02:35 PM JT-Shop: they live 1 1/2 hours away
02:35 PM bjorkintosh: JT-Shop, perhaps your corvette is the newest of them all. Queen of the ball!
02:36 PM JT-Shop: they don't pay much attention to that... they are fun people to be around
02:37 PM JT-Shop: I think it's because I have chickens...
02:37 PM bjorkintosh: hahahaha
02:37 PM JT-Shop: chickens make for good conversation
02:40 PM JT-Shop: roycroft, is bowling alley wax as good as the old Johnson's paste wax
03:20 PM roycroft: i think bowling alley wax is a little harder than johnson's
03:20 PM JT-Shop: thanks
03:20 PM roycroft: don't quote me on that though
03:21 PM JT-Shop: I see Leo uses bowling alley wax I think in place of the can of johnson's he used to have
03:25 PM JT-Shop: bjorkintosh, actually mine is not the newest one in the club
03:27 PM roycroft: it must be friday
03:28 PM JT-Shop: so I've been told
03:28 PM roycroft: i just installed a debian and when it rebooted it presented a gui interface
03:28 PM roycroft: and the root password i had set did not work
03:28 PM roycroft: i cannot remember the last time i botched a debian install
03:29 PM JT-Shop: nor can I
03:30 PM roycroft: oh well, it only took a few seconds to scrub it
03:30 PM roycroft: and it will only take 20 minutes to install a new one
03:31 PM roycroft: i do stupid, scary stuff all the time that hoses an install, but i always take a snapshot before doing the scary thing, so recovery is quick
03:31 PM roycroft: i'm really good about getting the base install done right, though
03:42 PM roycroft: this time there's no gui, and i can su
03:42 PM * roycroft has no idea what he did the first time
03:46 PM JT-Shop: I hate when that happens
04:02 PM JT-Shop: https://youtu.be/m3jg0RDnLv0?t=549
04:53 PM XXCoder: yeah more and more that friday is also my machinist video day lol. friday and sat
04:54 PM JT-Shop: link?
04:54 PM XXCoder: oh currently watching https://youtu.be/6P6UxirNLQU . nothing major just uypgrading his lathe
04:55 PM XXCoder: guy isnt best of machinist channels but fun enough
04:57 PM CaptHindsight: https://sourceforge.net/p/emc/mailman/message/58710709/ malware in the installer?
05:07 PM * JT-Shop calls it a day
05:13 PM roycroft: yeah, it's the end of the day for me too
05:13 PM roycroft: i did finally get this app to run on debian 12 with php7.4
05:14 PM roycroft: so i spent all day getting to a baseline
05:14 PM roycroft: frustrating
05:14 PM roycroft: but now it's the weekend!
05:14 PM roycroft: and my tapered router cutters have arrived
05:14 PM roycroft: so i'll be spending some time in the shop this weekend
05:16 PM XXCoder: nice
05:16 PM Tom_L: i'll be curious on those
05:17 PM roycroft: they're really long
05:18 PM roycroft: i hope the work well in the shaper origin
05:18 PM roycroft: if not i can cut them shorter
05:18 PM roycroft: they are 3" oal
05:18 PM roycroft: and i found some similar ones later that are 2" oal
05:19 PM roycroft: i'll be initially using them on hard maple or beech, so they'll get a good test
05:23 PM Tom_L: ebony
05:23 PM Tom_L: that's some hard stuff
05:24 PM roycroft: yes, but i'm not going to waste ebony making jigs and fixtures
07:17 PM roycroft: the new cutters are actually just the right length
07:18 PM roycroft: it's cold enough in my shop to be uncomfortable, and i'm not going to turn the heat on and wait an hour for it to heat up only to spend an hour working tonight, so i'll do my work tomorrow
07:18 PM Tom_L: roycroft,
07:18 PM * roycroft dreams of a shop that's energy-efficient so that he can keep it heated all the time
07:18 PM Tom_L: how do i add a function to a dimension so it's driven by another one in sw?
07:19 PM XXCoder: if only we could make real maxwell demon machine
07:19 PM roycroft: um, i usually keep that stuff in a spreadsheet that's linked to the drawing
07:19 PM Tom_L: sketch
07:19 PM roycroft: let me find an example really quick
07:22 PM roycroft: i think you can name a dimension and reference that
07:24 PM roycroft: i don't have anything with a table in a local directory - all my drawings that use that are on the gitlab server
07:25 PM roycroft: but iirc you can define variables in a table and give them values, and then your dimension would be '+=$Variable+1+1/2in' or some
07:25 PM Tom_L: equasions i think
07:25 PM roycroft: thing similar
07:25 PM roycroft: yes, it's equasions
07:25 PM roycroft: equations
07:26 PM roycroft: but i'm pretty sure you can define some values built-in
07:26 PM roycroft: i've been using excel spreadsheets
07:26 PM roycroft: but i don't think that's necessary
07:26 PM roycroft: it's useful if you have multiple drawings that need some of the same variables
07:26 PM roycroft: which is when i generally use them
07:26 PM roycroft: hang on a sec
07:26 PM Tom_L: i got it
07:29 PM Tom_L: ok that works
07:32 PM roycroft: yeah, you can do it with global variables and not have to define a table
07:36 PM roycroft: so you create your driving dimension
07:36 PM roycroft: but instead of entering a value, enter "=drivingvariable"
07:37 PM Tom_L: just double click on the dimension you want to add an equasion to
07:37 PM roycroft: a box will pop up asking if you want to make a global variable
07:37 PM Tom_L: then the list of exhisting dimensions are there
07:37 PM roycroft: you say yes, then give it the value
07:37 PM Tom_L: you don't need to do that
07:37 PM Tom_L: just use the ones that are already there
07:37 PM roycroft: then whenever you do another dimension you can click on global variables and write an equation to modify it
07:38 PM roycroft: sounds like you found a shortcut to that
07:38 PM Tom_L: just use an '=' in the dimension box
07:39 PM Tom_L: the popup one
07:39 PM Tom_L: kinda like excel
07:39 PM roycroft: yeah, same as what i'm doing
07:39 PM roycroft: except you don't have to create a global variable - you just use the auto-generated dimension name
07:39 PM Tom_L: i'm using an old version that doesn't yet support it
07:39 PM Tom_L: too lazy to reboot
07:40 PM roycroft: and yes, it's kind of like excel
07:40 PM roycroft: i really like how sw lets you enter values
07:40 PM roycroft: you can say, for example "= 1in + 7/43in -3.24mm" and sw will get it right
07:41 PM roycroft: i don't know of any other cad software that handles values like that
07:43 PM Tom_L: i bet catia will
07:44 PM Tom_L: it converts the units though as you enter them
07:44 PM Tom_L: to whatever the default for that drawing is
07:44 PM roycroft: autocad is still smugly unitless
07:45 PM roycroft: and the type of thing in the example i gave above can be really useful
07:45 PM roycroft: for example, when i'm designing a cabinet or something similar using american customary units, but need to install metric hardware such as eurohinges, being able to mix units is really convenient