#hazzy Logs
Jun 16 2020
#hazzy Calendar
03:26 AM becksvill: hey guys. just a question here about setting up a auto tool setter with probe basic.
03:28 AM becksvill: I bought one of these https://www.aliexpress.com/item/33015203771.html?spm=a2g0s.9042311.0.0.1dab4c4dpDDitl
03:29 AM becksvill: as a simple cheap solution for auto tool touch off
03:29 AM becksvill: this is going on a cnc mill
03:31 AM becksvill: as I understand it I need to have a g53 x and y location of where my auto toolsetter is on the mill table. which gets run when I push the auto touch off button
03:31 AM becksvill: I think i can modify that in qt designer.
03:31 AM becksvill: just wondering how other people are doing it
03:35 AM becksvill: any examples would be much appreciated
04:50 AM Joco[m]1: isn't that location a setting inside PB?
04:52 AM Joco[m]1: on the Offsets tab?
04:52 AM Joco[m]1: becksvill: see abov
04:54 AM JT-Cave: morning
04:54 AM Joco[m]1: hi JT
06:00 AM hazzy-m1: morning
06:01 AM Joco[m]1: Off for sleeps. Hope the work trip is going well.
08:15 AM Lcvette: Morning
08:16 AM Lcvette: Hazzy where did you fly too?
08:30 AM Lcvette: becksvill: age you wanton b.f to do your own thing with the tool setter?
08:30 AM Lcvette: Or need some guidance on how probe basics works?
08:30 AM Lcvette: * becksvill: are you wanting to do your own thing with the tool setter?
08:31 AM Lcvette: * Or need some guidance on how probe basics tool tiuch off works?
09:37 AM TurBoss: morning
10:21 AM JT-Cave: morning
01:03 PM hazzy-m1: Lcvette: Jacksonville, nice and close
01:06 PM Lcvette: Florida or NC?
01:07 PM Lcvette: TurBoss: o/
01:07 PM Lcvette: are you with dev?
01:11 PM TurBoss: no
01:11 PM TurBoss: im away 20 min
01:17 PM TurBoss: Lcvette: yo arround
01:17 PM TurBoss: whats up?
01:18 PM Lcvette: o/
01:18 PM Lcvette: just home sick
01:18 PM Lcvette: wondering if you were working on things
01:18 PM TurBoss: 😲
01:18 PM Lcvette: i am on dev if you are
01:18 PM TurBoss: whats that?
01:18 PM TurBoss: some bugfix?
01:18 PM Lcvette: dunno, have a respiratory infection
01:19 PM Lcvette: don't think it is corona though
01:19 PM TurBoss: ah qml
01:19 PM TurBoss: oj
01:19 PM TurBoss: * ok
01:19 PM TurBoss: ops
01:19 PM TurBoss: take care
01:19 PM Lcvette: yes qml
01:19 PM Lcvette: :D
01:19 PM TurBoss: did you call the doctor?
01:19 PM Lcvette: \o/
01:19 PM Lcvette: you want to play in it?
01:20 PM Lcvette: no
01:20 PM TurBoss: sure
01:20 PM Lcvette: not yet if i don't feel better in a day or two i will call the doc
01:21 PM TurBoss: ok how are we goin to operate the thing?
01:21 PM TurBoss: subroutines? qtwidgets? rules? slots?
01:21 PM TurBoss: signals?
01:21 PM TurBoss: :P
01:21 PM TurBoss: morse?
01:21 PM Lcvette: probably a bit of all
01:22 PM Lcvette: i think get the graphics squared away first
01:22 PM Lcvette: i looked at the qml in qtcreator and i could not make heads or tails of it
01:23 PM Lcvette: if you could show me where the tool positions are for movement, i could fiddle with it in that small area to tweak it in
01:23 PM TurBoss: open it again
01:23 PM TurBoss: lol
01:23 PM TurBoss: I told you the magic bits
01:24 PM Lcvette: its open
01:25 PM TurBoss: there 4 main items
01:25 PM Lcvette: it does not look like each tool has its own thing
01:25 PM TurBoss: 2 Row 1 col 1 holder
01:26 PM Lcvette: maybe i need to adjust the image boxes so the alignment falls correctly?
01:26 PM Lcvette: would that be eaier?
01:26 PM Lcvette: maybe set it so all tool points fall on the center of their box
01:26 PM TurBoss: yup is to change the origin
01:26 PM TurBoss: currntly is all center mid
01:27 PM Lcvette: oh so we can change to left or right corners?
01:27 PM TurBoss: yes but how is coded all the tools in the upper top are one block
01:28 PM TurBoss: goto line 190
01:28 PM TurBoss: there each tool is asigned one image
01:29 PM TurBoss: ok got it
01:29 PM TurBoss: i saw
01:29 PM Lcvette: ok
01:29 PM TurBoss: we need 3 more lists like there from line 192 to 213
01:29 PM TurBoss: with the setting of the origin
01:29 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/OgrIvYTpvozkgQtedMEuyMdO >
01:29 PM TurBoss: I'll be doing meanwhile
01:31 PM TurBoss: i'm adding neext to there
01:31 PM TurBoss: ```javascript
01:31 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/jcXFOljAWmuNvFUqGLsdctgu >
01:32 PM TurBoss: the property is called ''tranformOrigin"
01:33 PM TurBoss: https://doc.qt.io/qt-5/qml-qtquick-item.html#transformOrigin-prop
01:33 PM TurBoss: found this on the qml docs
01:36 PM Lcvette: ok reading
01:37 PM Lcvette: mapToItem
01:37 PM Lcvette: ?
01:39 PM TurBoss: I'm doing this
01:39 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/DogHybgfTlzyshlMkHyKNuHa >
01:40 PM Lcvette: ok
01:40 PM Lcvette: :o
01:40 PM TurBoss: now I'm adding a list with the posible options
01:40 PM Lcvette: rotation?
01:40 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/CByvKXjGzMhFOJmCXRanZYBK >
01:40 PM TurBoss: 3 list
01:40 PM Lcvette: perfect
01:40 PM Lcvette: !!
01:40 PM Lcvette: hurray i understand what you are making options for the image corner
01:41 PM Lcvette: or mid
01:41 PM TurBoss: cool
01:41 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/mJcrSLETcKQAXflUKiBIcaZX >
01:42 PM TurBoss: function is named set_imags
01:42 PM TurBoss: * function is named set_images
01:42 PM TurBoss: we can do 2 things there
01:42 PM TurBoss: rename "set_images()" to "set_properties()"
01:42 PM TurBoss: or add "set_origins()"
01:43 PM Lcvette: ok
01:44 PM TurBoss: I'll rename the function
01:44 PM TurBoss: ```javascript
01:44 PM TurBoss: set_properties(upper_tools, upper_tool_pics, upper_tools_origin);
01:46 PM Lcvette: ok
01:47 PM Lcvette: im with youin spirit!
01:47 PM Lcvette: * im with you in spirit! \o/
01:47 PM TurBoss: \o/
01:47 PM Lcvette: :D
01:48 PM TurBoss: okI'm goin to test
01:50 PM Lcvette: \o/
01:50 PM Lcvette: hurray!!
01:50 PM TurBoss: ok shows the picture but the origin is not modified
01:50 PM TurBoss: :/
01:52 PM Lcvette: :(
01:52 PM Lcvette: /o\
01:53 PM Lcvette: you mean it does not move the image to the requested position of the image frame?
01:53 PM TurBoss: yes
01:53 PM Lcvette: ok
01:53 PM Lcvette: any ideas why?
01:55 PM * TurBoss uploaded an image: Captura de pantalla de 2020-06-16 20-45-34.png (137KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/VCRSqbwGMzRYiGUDKrNgVBwk >
01:55 PM TurBoss: hohohoh
01:55 PM Lcvette: /o\
01:55 PM Lcvette: lol
01:55 PM TurBoss: just a test
01:55 PM Lcvette: rotation intiated
02:09 PM Lcvette: figuring it?
02:09 PM TurBoss: part...
02:11 PM Lcvette: what part is elusive?
02:12 PM Lcvette: i can research
02:12 PM TurBoss: when we set the 3 lists we store "Item.BottomLeft"
02:28 PM TurBoss: ok plan B
02:32 PM Lcvette: lol
02:33 PM Lcvette: ok plan B it is!
02:33 PM Lcvette: \o/
02:40 PM Lcvette: turboss, what is plan B?
02:41 PM Lcvette: Big Panda?
02:41 PM Lcvette: :o
02:48 PM TurBoss: :o
02:48 PM Lcvette: :D
02:48 PM TurBoss: instead of store Bottom_Left
02:48 PM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/bsKKThRHFfjsbzNuCDrKZIeW >
02:49 PM Lcvette: :o
02:49 PM TurBoss: could not figure how to
02:49 PM TurBoss: do the other way
02:49 PM Lcvette: /o\
02:49 PM Lcvette: oh this way works?
02:49 PM Lcvette: :D
02:49 PM Lcvette: \o/
02:50 PM TurBoss: not yet
02:50 PM TurBoss: fighting with
02:50 PM Lcvette: ok
02:50 PM TurBoss: but I can continue latter or tomorrow
02:55 PM Lcvette: ok
02:56 PM Lcvette: glorious vitory awaits!
05:46 PM -!- #hazzy mode set to +o by weber.freenode.net
06:44 PM * Lcvette posted a file: master_tool_mode.mkv (705KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/XgGmCSCeghbcEGTJyhOILsJh >
06:44 PM Lcvette: master tool mode optional tab for 2 modes of tool setting, is this more better?
06:59 PM Not-944e: [02probe_basic] 07TurBoss pushed 031 commit to 03Qml_Lathe [+0/-0/±1] 13https://git.io/Jf57Q
06:59 PM Not-944e: [02probe_basic] 07TurBoss 03cc4668e - set origin offset for qml lathe widget
06:59 PM Not-944e: [02probe_basic] 07TurBoss created branch 03Qml_Lathe - 13https://git.io/JeDwL
07:00 PM travis-ci: kcjengr/probe_basic#410 (Qml_Lathe - cc4668e : TurBoss): The build passed.
07:00 PM travis-ci: Diff view : https://github.com/kcjengr/probe_basic/commit/cc4668ea483b
07:00 PM travis-ci: Build details : https://travis-ci.org/kcjengr/probe_basic/builds/699128197
07:06 PM * TurBoss uploaded a video: lathe_tool_touch_off.mp4 (906KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/fJWEhtmXnmWthrZpKGbZvUXm >
07:07 PM TurBoss: where do the right clumn of tool set offset?
08:10 PM Not-944e: [02probe_basic] 07TurBoss pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/Jf5FU
08:10 PM Not-944e: [02probe_basic] 07TurBoss 0361b8533 - set origin offset for qml lathe widget
08:10 PM Not-944e: [02probe_basic] 07TurBoss deleted branch 03Qml_Lathe
08:10 PM Not-944e: [02probe_basic] 07TurBoss deleted branch 03Qml_Lathe - 13https://git.io/JeDwL
08:10 PM TurBoss: Lcvette: yo arround?
08:11 PM TurBoss: where do the tools in the left go to touch zero
08:11 PM Lcvette: Yo
08:11 PM Not-944e: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/Jf5FI
08:11 PM Not-944e: [02probe_basic] 07traviscibot 03378385b - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
08:11 PM TurBoss: sorry I mean in the right
08:11 PM TurBoss: the dril and the others
08:12 PM Lcvette: Drill is center
08:12 PM Lcvette: The other tools touch same edge add the points
08:16 PM Lcvette: Bottom 2 tools touch bottom corner
08:17 PM TurBoss: same as others?
08:17 PM Lcvette: Top 2 tools touch opposite
08:18 PM Lcvette: They touch on inside edge
08:18 PM Lcvette: Of the dimension line
08:20 PM TurBoss: is this layout correct?
08:20 PM * TurBoss uploaded an image: Captura de pantalla de 2020-06-17 03-11-06.png (14KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/aXJAkmsoWRXgjmRTnGClGZWE >
08:22 PM Lcvette: Yes
08:22 PM Lcvette: Top two tools touch inside edge
08:25 PM * Lcvette uploaded an image: 20200616_211542.jpg (176KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/dSoBOzolInQLFOkijEGEYFMh >
08:25 PM TurBoss: lol coool!
08:25 PM Lcvette: Does that make sense?
08:25 PM TurBoss: yes
08:26 PM Lcvette: Drill is center
08:27 PM TurBoss: \o/
08:28 PM Lcvette: You did it?
08:28 PM Lcvette: \o/
08:28 PM TurBoss: yes!
08:28 PM TurBoss: hurray!
08:28 PM TurBoss: no commit spam
08:29 PM TurBoss: :/
08:29 PM Lcvette: Hurray!
08:29 PM TurBoss: ok now we need to notify something that the tool has been clicked, no?
08:30 PM Lcvette: Yes
08:30 PM Lcvette: And needs to click the tool when a tool of same orientation is loaded
08:31 PM TurBoss: ok
08:31 PM Lcvette: Tool click clicks the orientation label
08:31 PM Lcvette: Also
08:31 PM TurBoss: ok
08:32 PM * TurBoss needs to take a na
08:32 PM * TurBoss * needs to take a nap
08:32 PM TurBoss: latter
08:32 PM Lcvette: Ok
08:32 PM TurBoss: o/
08:33 PM Lcvette: Did you push?
08:33 PM TurBoss: i think
08:33 PM TurBoss: no commit messages over here
08:33 PM TurBoss: 😲
08:36 PM Lcvette: Ok
08:36 PM Lcvette: Take a nap
08:37 PM Lcvette: 😴
09:41 PM MrHindsight is now known as CaptHindsight
10:22 PM Not-944e: [02probe_basic] 07Lcvette pushed 032 commits to 03master [+0/-0/±2] 13https://git.io/Jf5Ag
10:22 PM Not-944e: [02probe_basic] 07Lcvette 03ef2967e - work on tool touch in ui file
10:22 PM Not-944e: [02probe_basic] 07Lcvette 03496a449 - Merge remote-tracking branch 'origin/master'
10:24 PM Not-944e: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/Jf5Ar
10:24 PM Not-944e: [02probe_basic] 07traviscibot 0364f85a1 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages