Flexible GUI Import Table

More
22 Dec 2024 17:51 #317150 by truyentu
Flexible GUI Import Table was created by truyentu

Flex has added a FSC.
 
JT
hello JT,i want to let the user input some data via a table
then send the data into a python script
The python script will convert that data to Gcode
Could you please help me which function i should use with flexGUI 
Thank you
 

Please Log in or Create an account to join the conversation.

More
23 Dec 2024 14:21 #317201 by JT
Replied by JT on topic Flexible GUI Import Table
The python import section of the docs shows how to import a python file which you can have custom code. You can create your own widgets with object names that you can use in your python code.

gnipsel.com/linuxcnc/flexgui/python.html

The python code I use to open a file for an example is
github.com/jethornton/flexgui/blob/1.1.0...exgui/actions.py#L88
and
github.com/jethornton/flexgui/blob/1.1.0...gui/utilities.py#L45

JT

Please Log in or Create an account to join the conversation.

Time to create page: 0.137 seconds
Powered by Kunena Forum