#linuxcnc Logs

Feb 11 2024

#linuxcnc Calendar

02:24 AM Deejay: moin
04:20 AM JT-Cave: morning
04:52 AM Tom_L: morning
05:52 AM NoSpark: morning
05:52 AM NoSpark: When editiing MESA bitfiles, is there a way of specifing GPIO direction?
05:54 AM jpa-: no, i think direction always comes from hal
05:57 AM JT-Cave: https://www.youtube.com/watch?v=R-htcY1PLkA
06:00 AM NoSpark: thanks
06:01 AM NoSpark: Congrads on getting it working JT
06:04 AM JT-Cave: making progress for sure
06:27 AM JT-Cave: https://www.youtube.com/watch?v=NNkcIbKM_BA
06:34 AM NoSpark: I can't get Xilinx to licence properly
06:51 AM NoSpark: it is not generating a unique hostid
07:17 AM JT-Cave: https://forum.linuxcnc.org/41-guis/51651-connect-pyqt-button-to-hal#293088
07:39 AM JT-Cave: yuck the docs for hal suck http://linuxcnc.org/docs/stable/html/config/python-hal-interface.html
07:39 AM JT-Cave: nothing works
07:39 AM Tom_L: i'm kinda finding that out as well
07:39 AM Tom_L: any luck yet?
07:46 AM JT-Cave: you see the videos?
07:46 AM JT-Cave: above
07:47 AM JT-Cave: some things in the doc work but none of the ones that start with h. work
07:49 AM Tom_L: checking
07:51 AM Tom_L: progress!
07:51 AM Tom_L: how do you connect them to hal?
07:51 AM Tom_L: postgui?
07:52 AM NoSpark: how are you loading these?
07:52 AM NoSpark: with loadrt?
07:52 AM NoSpark: or seperately?
07:52 AM lcnc-relay: <satiowadahc#0> Do you load the postgui files once your display is loaded?
07:52 AM NoSpark: I mean loading the python scripts?
07:52 AM JT-Cave: yes and making progress on hal :)
07:53 AM JT-Cave: for pyqt things you have to connect them in postgui.hal
07:53 AM NoSpark: take a look at https://termbin.com/b9we for a pure python example
07:54 AM NoSpark: sorry, that one is qtvcp
07:55 AM NoSpark: but if you ignore the qtvcp part, it is pure hal/python
08:00 AM JT-Cave: https://paste.debian.net/1306943/
08:00 AM JT-Cave: this is working
08:02 AM * JT-Cave wanders off to start his chicken day
08:03 AM lcnc-relay: <satiowadahc#0> Nice! I prefer to avoid connecting things in python for other people who might need to debug it as they don't like diving into python but hal they understand better
08:04 AM Tom_L: where do they show up in halshow?
08:08 AM Tom_L: ok i got it
08:30 AM JT-Cave: yup right now I'm just trying to get a handle on the hal python module
08:30 AM JT-Cave: http://linuxcnc.org/docs/stable/html/config/python-hal-interface.html
08:31 AM JT-Cave: all the examples that start with h. fail satiowadach do you know why?
08:36 AM Tom_L: jeff uses h. in axis haltest.py
08:36 AM -!- #linuxcnc mode set to +v by ChanServ
08:47 AM Tom_dev: from hal import *; import time
08:47 AM Tom_dev: h = component("test");
08:47 AM Tom_dev: h.newpin("i", HAL_S32, HAL_OUT);
08:47 AM Tom_L: is it reserved in linuxcnc now for some reason?
08:47 AM Tom_L: i sometimes had to deal with reserved words
08:49 AM lcnc-relay: <satiowadahc#0> Dogs walked. Gonna pour a cup a coffee and dive into it
08:49 AM JT-Cave: Tom_dev, yes any variables inside a function are local unless they are defined outside the function
08:50 AM Tom_dev: at least some things are the same :)
08:50 AM JT-Cave: usr_intf/axis/scripts/axis.py:4180: if hal.pin_has_writer(p): return
08:51 AM lcnc-relay: <satiowadahc#0> Out of curiosity, if you put an @ before my name does the tag work across the bridge?
08:51 AM Tom_dev: @satiowadahc#0 does it?
08:52 AM lcnc-relay: <satiowadahc#0> Nope. That's unfortunate
08:58 AM lcnc-relay: <satiowadahc#0> do you by chance already have a component named test?
08:59 AM lcnc-relay: <satiowadahc#0> When testing components, I generally leave lcnc running in the background, then run your python test. If you just run hal with out lcnc running, the shared mem is not allocated
09:00 AM Tom_dev: i just ran jeff's sample and it runs fine
09:00 AM lcnc-relay: <satiowadahc#0> and while doing so if you make a test, call h.component/h.ready() but forget to call h.exit() you'll run into issues the next test.
09:01 AM lcnc-relay: <satiowadahc#0> I'm missing how to get the hal pin values... I thought there was a get_p signal somewhere
09:03 AM Tom_dev: https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/axis/scripts/haltest.py
09:03 AM Tom_dev: works
09:04 AM Tom_dev: about as basic as it gets
09:07 AM Tom_dev: is '%' modulus? i forgot
09:08 AM lcnc-relay: <satiowadahc#0> in python yet
09:08 AM lcnc-relay: <satiowadahc#0> > 10%2
09:08 AM lcnc-relay: <satiowadahc#0> > 0
09:09 AM lcnc-relay: <satiowadahc#0> hal.get_value() seems to be broken...
09:11 AM NoSpark: satio: I think you could replace all of hal with a python scipt and ppl would find it easier to understand :P
09:11 AM NoSpark: has anyone here used GNUradio? The GUI for that would be absolutly perfect for HAL
09:11 AM lcnc-relay: <satiowadahc#0> Electricians, Machinists and Millwrights... codes scary to these guys
09:12 AM NoSpark: https://wiki.gnuradio.org/images/thumb/0/04/SSB_test_fg.png/861px-SSB_test_fg.png
09:12 AM lcnc-relay: <satiowadahc#0> They understand PLC's and ladder logic, so hal it is
09:13 AM NoSpark: I think hal is needless complicated, unintuitive, and inflexable
09:13 AM NoSpark: but that seems to only be me :)
09:16 AM lcnc-relay: <satiowadahc#0> If you prefer a coding mindset tcl is a super nice replacement to hal
09:16 AM lcnc-relay: <satiowadahc#0> https://pastebin.com/6TMP4vTJ
09:20 AM lcnc-relay: <satiowadahc#0> or not rather super nice, but more intuitive at the very least
09:32 AM JT-Cave: pin_has_writer
09:32 AM JT-Cave: Does the specified pin have a driving pin connected.
09:32 AM JT-Cave: Returns True or False.
09:32 AM JT-Cave: h.in.pin_has_writer()
09:32 AM JT-Cave: that's what I'm talking about that does not work and errors out
09:40 AM lcnc-relay: <satiowadahc#0> interesting... someones wrapped the python boost module... and I need to import _hal to get the actual boost module
09:43 AM Tom_L: JT-Cave, axis ln: 4180, 4209, 4212 use pin_has_writer for examples
09:47 AM lcnc-relay: <satiowadahc#0> interesting... deleted _hal.so and reinstalled and now it works...
09:47 AM JT-Cave: yup saw that but it's not working for me
09:48 AM JT-Cave: >>> h.in.get_dir()
09:48 AM JT-Cave: File "<stdin>", line 1
09:48 AM JT-Cave: h.in.get_dir()
09:48 AM JT-Cave: ^^
09:48 AM JT-Cave: SyntaxError: invalid syntax
09:49 AM JT-Cave: http://linuxcnc.org/docs/stable/html/config/python-hal-interface.html
09:49 AM JT-Cave: get_dir
09:49 AM JT-Cave: Get the HAL object direction type.
09:49 AM JT-Cave: Returns an integer.
09:49 AM JT-Cave: h.in.get_dir()
09:57 AM lcnc-relay: <satiowadahc#0> ```python
09:57 AM lcnc-relay: <satiowadahc#0> >>> h = _hal.component("asdf")
09:57 AM lcnc-relay: <satiowadahc#0> >>> h.newpin("out", _hal.HAL_BIT, _hal.HAL_OUT)
09:57 AM lcnc-relay: <satiowadahc#0> <hal pin "out" BIT-OUT>
09:57 AM lcnc-relay: <satiowadahc#0> >>> h.out
09:57 AM lcnc-relay: <satiowadahc#0> False
09:57 AM lcnc-relay: <satiowadahc#0> >>> dir(h)
09:57 AM lcnc-relay: <satiowadahc#0> ['__class__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__',
09:57 AM lcnc-relay: <satiowadahc#0> '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'exit', 'getitem', 'getpins', 'getprefix
09:57 AM lcnc-relay: <satiowadahc#0> ', 'newparam', 'newpin', 'ready', 'setprefix', 'unready']
09:57 AM lcnc-relay: <satiowadahc#0> >>> type(h.out)
09:57 AM lcnc-relay: <satiowadahc#0> <class 'bool'>
09:57 AM lcnc-relay: <satiowadahc#0> interesting.. the pins are added as python types not dictionaries
10:03 AM lcnc-relay: <satiowadahc#0> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/UKQEAsUOKOLKGHMRDtilqqHS
10:03 AM lcnc-relay: <satiowadahc#0> Only change I can see in the last ten years... either this never worked or this type change wrecked it
10:07 AM JT-Cave: yup
10:08 AM JT-Cave: newpins() works though
10:08 AM * JT-Cave is off for a bit
11:35 AM JT-Cave: satiowadahc#0
11:35 AM JT-Cave: what file is that in?
11:36 AM lcnc-relay: <schoch_> i must be missing somethign obvious but I"m trying probe basic lathe with the conversational stuff and I can't get it to do anything
11:36 AM lcnc-relay: <schoch_> turning prompts for tool change but then says "Cannot do g1 with zero
11:36 AM lcnc-relay: <schoch_> feed rate"
11:36 AM lcnc-relay: <schoch_> i have tried to set `g1 F200` via mdi but that doesn't seem to help
11:37 AM lcnc-relay: <schoch_> does it even work?
11:37 AM lcnc-relay: <schoch_> "conversational"
11:38 AM lcnc-relay: <satiowadahc#0> Jt halmodule.cc
11:38 AM JT-Cave: thanks
11:38 AM lcnc-relay: <satiowadahc#0> Src/hal/Halmodule.cc is _hal.py lib/python/hal.py wraps it with some nice to haves
11:39 AM lcnc-relay: <satiowadahc#0> Schoch can't say I'm familiar with probe basic.. does it have any custom m codes it calls?
11:41 AM lcnc-relay: <schoch_> i have no clue
11:41 AM lcnc-relay: <schoch_> i just got it working this morning
11:41 AM lcnc-relay: <schoch_> "working"
11:45 AM JT-Cave: nap time here
11:49 AM lcnc-relay: <schoch_> g28 produces "can't use MDI when mashine isn't homed"
11:49 AM lcnc-relay: <schoch_> fuck
11:50 AM lcnc-relay: <schoch_> where's the homing button
01:25 PM Unterhaus_ is now known as Unterhausen
01:26 PM lcnc-relay: <unterhausen> been a while since I fiddled with probe basic, if ever. Oftentimes the home button is the axis label.
01:41 PM lcnc-relay: <big_kevin420> damn, thanks
01:42 PM lcnc-relay: <big_kevin420> chad, are you trying to create halpins in the python>?
02:24 PM lcnc-relay: <satiowadahc#0> I mean I have created pins, JT was the one trying to figure it out but we got there!
02:25 PM lcnc-relay: <satiowadahc#0> If you seen my last paste bin. TCL file can be loaded identical to hal files.
02:29 PM Tom_L: are they read on startup though?
02:29 PM Tom_L: like the postgui.hal is
02:31 PM lcnc-relay: <satiowadahc#0> Halfile = mill.tcl will load before startup. Your postgui function has to handle it slightly differently
02:31 PM lcnc-relay: <satiowadahc#0> I think it's haltcl -i or something
02:32 PM bjorkintosh: <satiowadahc#0> are you a tickle fan?
02:33 PM lcnc-relay: <satiowadahc#0> https://linuxcnc.org/docs/html/hal/haltcl.html
02:33 PM lcnc-relay: <satiowadahc#0> On ridiculous machines yes. Simple 3 axis mills I use hal. 4 or more I tend to use tcl
02:34 PM bjorkintosh: I see.
02:34 PM lcnc-relay: <satiowadahc#0> Or ethercat servo drives that have ridiculous amounts of connections
02:37 PM bjorkintosh: also, tcl preferred then?
02:43 PM lcnc-relay: <satiowadahc#0> https://pastebin.com/9SpYmTXD
02:44 PM lcnc-relay: <satiowadahc#0> This doesn't even include all the cmd and fb pins, which all need multipliers and offsets added to them. TCL makes the logic a little nicer
02:45 PM bjorkintosh: good heavens!
02:47 PM lcnc-relay: <satiowadahc#0> I have a love hate relationship with ethercat. Wiring is real nice and simple. Logic is ideally simple. As soon as you had safety into it, I get really frustrated as everything gets harder. And anytim
02:47 PM lcnc-relay: <satiowadahc#0> e you want to add something in the middle of the network, remapping IO gets complicated
02:50 PM bjorkintosh: I see.
02:50 PM bjorkintosh: I don't know anything about ethercat. any good guides to point me to?
02:54 PM lcnc-relay: <satiowadahc#0> Not with any authority... I learned from piecemeal examples... I was bugging my boss I should start sharing more of our builds publicly as tutorials and what not
03:04 PM lcnc-relay: <satiowadahc#0> Is there even any good lcnc tutorials?
03:06 PM bjorkintosh: well, there're the docs on the website.
03:10 PM lcnc-relay: <satiowadahc#0> True the docs can be overwhelming to new users.
03:10 PM lcnc-relay: <satiowadahc#0> Guess I haven't look for intro level things in a while
03:10 PM JT-Shop: you should have seen the docs before I started working on them
03:12 PM bjorkintosh: damn, JT-Shop the docs are your work??
03:12 PM lcnc-relay: <satiowadahc#0> What is your site gnipsel?
03:12 PM bjorkintosh: how on earth do you find the time?!
03:12 PM lcnc-relay: <satiowadahc#0> Wait*
03:12 PM JT-Shop: up to 2.8 yes
03:13 PM JT-Shop: yes my site is gnipsel
03:13 PM lcnc-relay: <satiowadahc#0> I used to use gnipsels documentation alot
03:13 PM JT-Shop: :)
03:13 PM lcnc-relay: <satiowadahc#0> I'll recommend JTs documentation then!
03:14 PM lcnc-relay: <satiowadahc#0> Sometimes rt kernels I'll still go back to your site as I can never seem to remember the order of commands
03:14 PM lcnc-relay: <big_kevin420> alright just wondering, because im doing something similar with axis thing, creating user halpins
03:15 PM lcnc-relay: <satiowadahc#0> Find a few paste bins back I did two different examples for JT
03:15 PM JT-Shop: https://github.com/jethornton/hal
03:16 PM lcnc-relay: <big_kevin420> hmm so tcl hal can do functions
03:17 PM lcnc-relay: <big_kevin420> i only needed one thing, and it was just to save the users doing a math. ill have to see if that will make it easier or not
03:18 PM lcnc-relay: <satiowadahc#0> On my todo this week is make a qt toolbar that can take inputs from an INI and add buttons that call an mdi, executable or toggle a hal pin
03:19 PM lcnc-relay: <big_kevin420> have you looked at plasmac2 at all?
03:19 PM lcnc-relay: <big_kevin420> not the qt one but the axis one
03:19 PM lcnc-relay: <big_kevin420> maybe qt one does it also
03:20 PM lcnc-relay: <big_kevin420> plasmac2/ regularmac800 have a menu for adding mdi, executable or toggle a hal pin as a gui menu thing in axis
03:21 PM lcnc-relay: <big_kevin420> https://raw.githubusercontent.com/cakeslob/regularmac_800/main/images/2022-10-19-205830_1024x768_scrot.png
03:25 PM lcnc-relay: <satiowadahc#0> I don't mind that.
03:26 PM lcnc-relay: <satiowadahc#0> Our main product line is artsy people who don't know anything about cncs so I'm always nervous of putting dangerous controls accessible from gui. But I don't mind putting it in the ini files
03:29 PM NoSpark: ERROR:Security:9c - No 'ISE' nor 'WebPack' feature version 2013.03 was available
03:29 PM NoSpark: for part 'xc6slx16'.
03:36 PM Tom_L: JT-Shop, you figure out why get_dir() doesn't work?
03:36 PM NoSpark: does anyone know if you need a special licence to compile 7-80HD-25 bit files?
03:36 PM Tom_L: nope but you need to find the free one
03:36 PM Tom_L: it's in their archives now
03:37 PM Tom_L: was...
03:37 PM JT-Shop: Tom_L, no
03:38 PM NoSpark: I think the licence issuing system is broken
03:45 PM Tom_L: windows or linux?
03:46 PM lcnc-relay: <satiowadahc#0> Tom the type gets set to python built ins in halmodule.cc instead of haltype
03:47 PM NoSpark: I've tried both
03:47 PM lcnc-relay: <satiowadahc#0> About line 850 in halmodule
03:47 PM NoSpark: No matter which licence I tryI get the same error
03:48 PM Tom_L: i dunno what has changed since amd took over
03:52 PM NoSpark: The last thing I can think to try is to create a new AMD account
03:52 PM Tom_L: it want's me to sign in and i don't have that in front of me atm
03:54 PM roycroft: uh oh, i just got in big trouble
03:54 PM roycroft: i just sent a time-sensitive email to our board of directors
03:54 PM roycroft: our president just replied that it is inappropriate for me to send emails to the board today unless they are extremely urgent
03:55 PM roycroft: he said it's superbowl sunday, and that's as important as any other national holiday, and does not want to be disturbed today
03:55 PM lcnc-relay: <big_kevin420> because sunday or because sportsball
03:55 PM Tom_L: tell him not to read it until tomorrow
03:55 PM roycroft: i thought the football game was tonight
03:56 PM roycroft: didn't they move it from afternoon to evening a few decades ago?
03:56 PM Tom_L: there's a football game tonight?
03:56 PM roycroft: i don't know
03:56 PM roycroft: but the superbowl is tonight
03:56 PM bjorkintosh: are the two events not related?
03:56 PM roycroft: it all depends on whether you call that a football game or not
03:56 PM lcnc-relay: <big_kevin420> that must be an impressive owl
03:56 PM roycroft: no
03:56 PM bjorkintosh: oh.
03:57 PM Tom_L: i'm just messin
03:57 PM roycroft: the superbowl is not about football
03:57 PM XXCoder: water and sewer companies can tell when theres commerical breaks btw
03:57 PM XXCoder: twin spikes of usages
03:57 PM roycroft: it's about taylor swift hypnotizing all of america and telling us to vote for biden :)
03:57 PM roycroft: it is the mother of all conspiracies
03:57 PM Tom_L: but we're not gonna get into that ehh?
03:58 PM roycroft: i'm going back to the shop in a minute anyway
03:58 PM lcnc-relay: <big_kevin420> check out my linuxcnc makershit board, i just made a github
03:58 PM lcnc-relay: <big_kevin420> https://github.com/cakeslob/RRW_LAB
03:58 PM roycroft: we have a deadline tomorrow and this email had to go out today
03:58 PM roycroft: so i sent it
03:58 PM roycroft: i had no idea i'd get in trouble for doing so
04:02 PM NoSpark: Creating a new AMD account allowed me to generate a valid licence ?!?!
04:02 PM Tom_L: yup
04:02 PM Tom_L: or login with your old stuff
04:02 PM Tom_L: i did
04:02 PM NoSpark: I couldn't get a valid licence nomater what I tried on my old account
04:03 PM NoSpark: and I tried everything
04:03 PM Tom_L: maybe you weren't legit :)
04:03 PM NoSpark: It's cause I'm australian :P
04:05 PM roycroft: did you invert your license before you tried it?
04:06 PM Tom_L: roycroft, ask him wwjd?
04:30 PM NoSpark: roycroft: I did try converting it to metric :P
04:35 PM XXCoder: what would JT do? HMMM
04:38 PM roycroft: he would drive 175 miles each way for lunch, take a nap, and then tend to the chickens :)
04:38 PM XXCoder: lol
04:42 PM bjorkintosh: https://www.youtube.com/watch?v=URoVKPVDKPU (how boeing lost its way)
04:48 PM JT-Shop: yup
04:49 PM XXCoder: hat was great video
04:49 PM XXCoder: that
04:51 PM JT-Shop: https://youtu.be/gytKc6NOV8o?list=PLH4J0b3KfGaMGZTjSdnPqrBoB9dAhIBHK&t=943
04:52 PM XXCoder: very low resource but resourceful
04:53 PM XXCoder: they even figure how to best protect eyes. I have seen people with way more professional stuff not protect eyes
05:18 PM roycroft: boeing lost its way by moving to chicago :)
05:19 PM JT-Shop: https://www.youtube.com/watch?v=AaA7kPfC5Hk
05:33 PM roycroft: the secretary of state has just been rushed to hospital
05:33 PM roycroft: but we can all relax, because the bigger headline is that taylor swift has arrived at the superbowl
05:35 PM XXCoder: yay brainwash time
05:36 PM roycroft: i'm actually heading back out to the shop right now
05:36 PM roycroft: so someone please get double brainwashed so you can pass it back on to me late
05:36 PM XXCoder: but how do you keep your brainwashing current?
05:36 PM XXCoder: ah thats how
05:38 PM bjorkintosh: secretary of state? who is that?
05:38 PM * bjorkintosh is far too out of touch.
05:39 PM roycroft: er, sorry, secretary of defense
05:39 PM roycroft: the secretary of state (blinken) is ok
05:40 PM bjorkintosh: oh him. didn't he sneak off to get medical treatment a while back?
05:43 PM roycroft: yes
05:43 PM roycroft: but he's not sneaking around any more
05:43 PM roycroft: so at least he's capable of learning
06:16 PM XXCoder: https://youtu.be/e9TCzF9-mxo
06:17 PM XXCoder: some of em is actually fairly safe, but some of em is just insane
06:17 PM XXCoder: for some I rather have added 2 buttons to start it for exactly one cycle
06:17 PM XXCoder: 2 buttons to keep hands busy
06:17 PM lcnc-relay: <schoch_> i think i hate debian
06:22 PM XXCoder: yeah most of video is safe machines that is even colorized properly. like red for danger stuff
06:22 PM XXCoder: only few is really dangerous if careful
06:24 PM roycroft: i just had a clamp slip which caused the workpiece to move which caused a chisel to skip over and slice my finger
06:25 PM roycroft: there was a lot of bleeding but it wasn't very deep
06:25 PM roycroft: i'm out of commission on shop work for a few days, though
06:26 PM * roycroft has not done anything like yhat in a very long time
06:37 PM XXCoder: ouch. danger of lack of brainwashing
06:37 PM XXCoder: hopefully its not too bad and wont get infected
06:37 PM roycroft: it will be finr
06:37 PM roycroft: fine
06:38 PM roycroft: except it's even more difficult to type now
06:38 PM roycroft: i had disinfectant on it within seconds
06:43 PM lcnc-relay: <satiowadahc#0> I avoid Debian almost always. Too many nice to haves not included out of the box
06:44 PM XXCoder: LMDE should be best debian type I think. I still use linux mint but mostly due to lazyness
06:44 PM roycroft: i run debian almost exclusively
06:44 PM XXCoder: since theyre aiming for as best experence same as linux mint as possible, which is pretty good
06:44 PM roycroft: i like that it's pretty bare-bones by default
06:45 PM roycroft: it's all about different use cases and personal preferences, of course
06:46 PM Unterhausen: I liked mint a lot, I never did figure out why it needed a special lcnc build though
06:46 PM XXCoder: isnt that because of python 2 being dead issues?
06:46 PM bjorkintosh: no real time kernel maybe, Unterhausen?
06:46 PM XXCoder: if so that should have been resolved. ah RT maybe
06:47 PM bjorkintosh: just speculating. never used mint.
06:47 PM Unterhausen: that would be easily fixed with a deb
06:53 PM roycroft: i have mint installed on an old imac and on a laptop
06:53 PM roycroft: i don't use linux workstations much though - primarily servers
06:54 PM roycroft: which is a big reason debian works well for me
06:54 PM roycroft: debian on a workstation is kind of a pain to configure
07:02 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/TRcZytfTquSkgFlVSihYzmRH
07:02 PM XXCoder: recreating in alum eh
07:03 PM lcnc-relay: <skunkworks8841> K&T - love that machine
07:03 PM lcnc-relay: <skunkworks8841> Yes
07:03 PM XXCoder: cool :)
07:03 PM lcnc-relay: <skunkworks8841> Lol . It is made out of an aluminum manifold off the k&t
07:06 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/wNPwikKcrlaeiCFcVvgdheVe
07:06 PM XXCoder: stingy chips eh heh
09:20 PM -!- #linuxcnc mode set to +v by ChanServ
09:20 PM -!- #linuxcnc mode set to +v by ChanServ
10:06 PM lcnc-relay: <satiowadahc#0> Well now I'm more confused JT.
10:06 PM lcnc-relay: <satiowadahc#0> ```python
10:06 PM lcnc-relay: <satiowadahc#0> >>> import hal
10:06 PM lcnc-relay: <satiowadahc#0> >>> h = hal.c
10:06 PM lcnc-relay: <satiowadahc#0> hal.component( hal.component_exists( hal.component_is_ready( hal.connect( hal.ctypes
10:06 PM lcnc-relay: <satiowadahc#0> >>> h = hal.component("asdf")
10:06 PM lcnc-relay: <satiowadahc#0> >>> pin = h.newpin("out", hal.HAL_U32, hal.HAL_OUT)
10:06 PM lcnc-relay: <satiowadahc#0> >>> pin.get_dir()
10:06 PM lcnc-relay: <satiowadahc#0> 32
10:06 PM lcnc-relay: <satiowadahc#0> >>> pin.get_dir() == hal.HAL_OUT
10:06 PM lcnc-relay: <satiowadahc#0> True
10:06 PM lcnc-relay: <satiowadahc#0> >>> pin.get_dir() == hal.HAL_IN