#linuxcnc Logs

Feb 22 2024

#linuxcnc Calendar

02:37 AM mrec: did anyone change a fanuc controller to linuxcnc?
02:59 AM -!- #linuxcnc mode set to +v by ChanServ
03:08 AM -!- #linuxcnc mode set to +v by ChanServ
06:54 PM Tom_L: JT-Cave, tool_offset_lb shows all of them
07:01 PM Tom_L: would be nice if you could take the 'text' setting in the widget and display it like the name of what it does: 'Flood' on etc
07:07 PM Tom_L: you could use the default 'TextLabel' to display none
07:13 PM -!- #linuxcnc mode set to +v by ChanServ
07:14 PM Tom_dev: parent.tool_lb.setText(f'Tool: {tool}')
07:14 PM Tom_dev: add the label descriptor like above to this:
07:14 PM Tom_dev: getattr(parent, f'{value}').setText(f'{stat_dict[key][getattr(parent.status, f"{key}")]}')
07:14 PM Tom_dev: using a var or something to read the label 'text' from the widget
07:17 PM Tom_L: i dunno if that's possible
07:17 PM Tom_dev: <string>Flood</string>
07:17 PM Tom_dev: from the ui file
07:21 PM Tom_dev: <string>TextLabel</string>
07:21 PM Tom_dev: ignore it if it shows that
07:29 PM Tom_L: maybe you could create a label for them when you scan for _lb in startup.py if they exhist
07:30 PM Tom_L: exist
07:30 PM Tom_L: brain fade tonight