#flex-dev Logs

Jan 14 2025

#flex-dev Calendar

04:08 AM JT-Cave: morning
04:08 AM Tom_L: morning
04:13 AM JT-Cave: https://github.com/jethornton/mesact/issues/127
04:14 AM Tom_L: did you edit gmoccapy at some point?
04:14 AM Tom_L: wonder why they're asking you
04:15 AM JT-Cave: no, don't even know what it looks like
04:15 AM JT-Cave: sounds complicated to maintain if they are using remap and crap
04:16 AM Tom_L: don't quite see how mesact affects that
04:17 AM JT-Cave: seems like he wants me to add a bunch of crap to the configuration if they select gompappty to "fix" his problems with a race condition
04:17 AM Tom_L: heh
04:18 AM Tom_L: mesact is for mesa not gui
04:18 AM JT-Cave: yup
04:19 AM JT-Cave: and it seems to be a problem for them in master only
04:19 AM Tom_L: no real way to test that either
04:20 AM Tom_L: unless you start using gmocrappy with 2.10
04:23 AM JT-Cave: If you do not integrate these changes into MesaCT, Gmoccapy users will no longer have the automatic activation of tool offsets after a tool change. This may cause the machine to crash. This is only for Gmoccapy users who have become accustomed to and rely on this functionality.
04:24 AM JT-Cave: I'll warn them
04:24 AM Tom_L: :)
04:25 AM Tom_L: wonder why they need automatic tool length offset like that anyway
04:26 AM JT-Cave: no clue
04:48 AM JT-Cave: I added a popup warning in mesact about gompappys issues
05:15 AM JT-Cave: https://www.corvetteforum.com/articles/2025-corvette-zr1-pricing/
06:20 AM Tom_L: lookin to get one?
06:34 AM JT-Cave: lol no
06:35 AM JT-Cave: just pushed to flex qss builder launch sample window so you can see all the changes at once
06:36 AM JT-Cave: and I seem to have an error so stand by
06:53 AM * rdtsc-w thinks *everyone* has crashed, or almost crashed, their machine at least once...
07:08 AM rdtsc-w: Tom, just found this, thought you may "like" it: https://pico-systems.com/gcode.html
07:53 AM Tom_L: those must be pretty old if they have a dos exe with them
08:00 AM Tom_L: interesting anyway
08:03 AM JT-Cave: that's Jon's website
08:03 AM Tom_L: jon who?
08:03 AM Tom_L: oh..
08:03 AM JT-Cave: Elson I think
08:03 AM Tom_L: yeah
08:03 AM JT-Cave: he stopped by once they live in St Louis
08:04 AM Tom_L: i saw him at the wichita meet
08:04 AM Tom_L: iirc he brought a mill with him
08:04 AM Tom_L: i wasn't there long, just stopped in one afternoon for a bit
08:05 AM Tom_L: i marked the page anyway..
08:06 AM Tom_L: if you back up on the url it shows his name there
08:09 AM Tom_L: https://pico-systems.com/probe.html
08:11 AM Tom_L: did you fix your blunder yet?
08:12 AM JT-Cave: yup and added some main window stuff
08:15 AM * JT-Cave starts his chicken day
08:15 AM Tom_L: new deb is there
12:06 PM rdtsc-w: xxcoder you trumped the Discord PSA: https://pasteboard.co/1GNJOnQVYxo7.png I was thinking of posting. :) Alas, don't want to single them out though.
12:08 PM xxcoder: lol ok
12:09 PM rdtsc-w: Is there some kind of notice on the Discord side?
12:09 PM xxcoder: in topic yeah
02:24 PM lcnc-relay: <voiditswarranty@> Hey is this the flexgui channel? Is there a way to change the default flexgui plot orientation? I have a horizontal type mill so Y is up, rather than Z. I know I can rotate with the mouse, but it'd be nice for it to init in a chosen orientation, and then the rotation function rotates correctly around the correct vertical axis?
03:21 PM JT-Cave: almost anything is possible with Flex GUI
03:23 PM JT-Cave: if one of the preset views is correct then I can program it to look for an ini entry
03:25 PM lcnc-relay: <voiditswarranty@> how about an option to follow the primary plane of the machine? Such as defined in G18.
03:27 PM lcnc-relay: <voiditswarranty@> the preset options don't quite work right, the default isometric 3d view is nice except Y and Z need to be swapped. the Y preset shows the XZ primary plane, but the rotating buttons are then rotating around the wrong axis and reversed.
03:27 PM lcnc-relay: this config and UI might show the issue, there's a startsim.sh script in the config dir:
03:27 PM lcnc-relay: https://github.com/digiexchris/grinder_touch/
03:31 PM JT-Cave: the only views I have to work with atm are the predefined ones and the plotter is very confusing at the least
03:32 PM JT-Cave: a quick look and I even see how they set the views :(
04:17 PM Tom_L: JT-Cave, what does a lathe sim look like/
04:17 PM Tom_L: ?
04:17 PM Tom_L: i've never bothered to look at one
04:18 PM xxcoder: jt you mean don't even see?
04:20 PM xxcoder: I wonder if it has parameters similiar to vismach
04:20 PM xxcoder: wow that video I made is 5 years old now
04:20 PM Tom_L: there's an ini setting for lathe that might show something if it's different that a regular mill plot
04:20 PM Tom_L: ln 180
04:27 PM Tom_L: change the order of the view_dict ?
04:27 PM JT-Woodshop: flex sets lathe mode if the ini is set
04:28 PM Tom_L: 498
04:28 PM Tom_L: i'm just guessing...
04:28 PM Tom_L: that's probably for presets
04:31 PM Tom_L: 794
04:34 PM JT-Woodshop: what that?
04:34 PM Tom_L: in the plot code just looking at possible lines to rotate the view
04:35 PM Tom_L: maybe setView too on 1073
04:35 PM Tom_L: i doubt any of those could be that simple
04:36 PM xxcoder: roation vector and lat lon?
04:36 PM xxcoder: those is used in vismach if that is same for viewpoint of plotter
04:40 PM Tom_L: # allow anyone else to preset user view with better settings
04:41 PM Tom_L: self._presetFlag = False
04:41 PM Tom_L: # initialize variables for user view
04:41 PM Tom_L: ~200
04:49 PM JT-Shop: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/read_ini.py#L62
04:49 PM JT-Shop: what file are you looking at?
04:49 PM Tom_L: just that plot py file... i forget the name
04:49 PM Tom_L: i closed it
04:50 PM Tom_L: flexplot.py
04:54 PM Tom_L: around Ln 200 looks like the best bet
04:58 PM JT-Shop: yes 200 looks interesting
04:58 PM Tom_L: you'd have to set up another [DISPLAY] USER_VIEW option or something
04:58 PM Tom_L: along side LATHE
04:59 PM Tom_L: that's read in above 200 i think
04:59 PM Tom_L: just closed it again :)
05:02 PM Tom_L: do you know what var needs set in the ini for LATHE?
05:02 PM Tom_L: i'll take a look at it
05:04 PM Tom_L: looks like LATHE=1 and or BACK_TOOL_LATHE=1
05:04 PM Tom_L: there's one for FOAM too
05:07 PM Tom_L: foam shows U V W
05:08 PM Tom_L: lathe shows X Vertical Z horizontal
05:09 PM JT-Shop: what line
05:09 PM Tom_L: BACK_TOOL_LATHE doesn't seem to do anything
05:09 PM Tom_L: line for what?
05:09 PM Tom_L: i just added those to the ini to test
05:10 PM JT-Shop: ah
05:10 PM Tom_L: LAHTE=1 then FOAM=1 then BACK_TOOL_LATHE=1
05:10 PM Tom_L: one at a time
05:10 PM Tom_L: check your view
05:11 PM Tom_L: def __init__(self, colors, geometry, is_foam, lathe_view_option, stat, random, text, linecount, progress, arcdivision):
05:11 PM Tom_L: line 69
05:15 PM JT-Shop: not sure what that does
05:16 PM Tom_L: def is_lathe(self): return self.lathe_view_option
05:16 PM Tom_L: 79
05:16 PM Tom_L: that's part of the cannon code i think
05:17 PM Tom_L: Ln 122 looks for option
05:18 PM Tom_L: 124 looks for coordinates to use
05:18 PM JT-Shop: something has to be sending lathe_view_option to the init but I've never figured out jeff's crazy code
05:18 PM Tom_L: heh
05:18 PM Tom_L: wish i knew python
05:18 PM xxcoder: reverse engineering already source code eh
05:18 PM xxcoder: :)
05:18 PM xxcoder: python I only know very basics, you probably know more than me tom.
05:19 PM xxcoder: I just wish linuxcnc dont use python
05:19 PM JT-Shop: I'm so glad it does use python
05:19 PM xxcoder: remember that time people had to work to move from py2 to 3
05:19 PM xxcoder: yeah?
05:19 PM JT-Shop: https://www.corvetteforum.com/forums/c3-tech-performance/4897803-700r4-tv-cable.html#post1608486803
05:19 PM Tom_L: i can somewhat read it but don't understand it all
05:19 PM Tom_L: fancy
05:20 PM JT-Shop: I understand straight forward code
05:20 PM Tom_L: i've seen c code that was purposely convoluted
05:20 PM JT-Shop: but doesn't seem to fit...
05:20 PM Tom_L: pisses me off
05:20 PM Tom_L: doesn't fit how?
05:20 PM xxcoder: why lessen 3 very readable lines into 1 unreadable line
05:22 PM Tom_L: does that mount bracket need turned the other way?
05:22 PM Tom_L: that would give you another inch or so
05:22 PM JT-Shop: impossible to turn it any other way
05:22 PM Tom_L: ok
05:23 PM JT-Shop: the geometry of both brackets and carburetor linkage is about the same
05:23 PM Tom_L: what's the bottom one for?
05:23 PM JT-Shop: I've more than a few warnings about the TV cable
05:23 PM JT-Shop: down shift the transmission
05:23 PM Tom_L: ok
05:31 PM JT-Shop: actually it controls the pressure
05:32 PM Tom_L: no screw adjustment where it goes thru the bracket?
05:32 PM Tom_L: can't tell here
05:32 PM Tom_L: doesn't look like it
05:32 PM JT-Shop: it's got a button to adjust
05:39 PM JT-Shop: https://www.thirdgen.org/forums/transmissions-drivetrain/770360-need-help-properly-adjust.html
05:41 PM * JT-Shop calls it a night
05:45 PM Tom_L: "auto adjust"
05:45 PM Tom_L: yeah
05:46 PM Tom_L: interesting