Advanced Search

Search Results (Searched for: )

  • Sandro
  • Sandro
21 Dec 2024 12:12
Replied by Sandro on topic Probe Basic do not start

Probe Basic do not start

Category: QtPyVCP

Found the issue:

CONFIG_FILE = custom_config.yml

was missing from the INI-File.

Sorry!
  • Hossein74Majidi
  • Hossein74Majidi
21 Dec 2024 12:01 - 21 Dec 2024 12:05
G Code Syntax Check (Python + Qt Designer) was created by Hossein74Majidi

G Code Syntax Check (Python + Qt Designer)

Category: Qtvcp

Hi
I'm going to use Qt Designer for my Display.
In my python handler I have a method as following:
def load_selected_gcode(self):        
if self.modenumber_str != "Auto":             
self.show_message("Invalid Mode", "Switch to Auto Mode.",0)             
return        
index = self.w.listGCodeFiles.currentIndex()        
file_name = self.model.data(index, QtCore.Qt.DisplayRole)         
file_path = os.path.join(self.gcode_directory, file_name)        
self.loaded_gcod = file_path        
with open(file_path, 'r') as file:             
gcode_content = file.read()         
self.w.showGCode.setText(gcode_content)        
self.command.reset_interpreter()         
self.command.program_open(file_path)        
self.show_message("Success", "G Code is loaded successfully", 1)


this method loads the g code file content into a QTextEdit Widget named " showGCode" now before self.command.reset_interpreter() command and self.command.program_open(file_path) which load the G Code into linuxcnc, I want to check the gcode file syntax. How can I do it? How do I know if my G Code file is ok.
  • Sandro
  • Sandro
21 Dec 2024 11:52
Replied by Sandro on topic Probe Basic do not start

Probe Basic do not start

Category: QtPyVCP

Hello everyone

I am having a different error when trying to start Probe Basic. I am coming from a currently working Gmoccapy machine. The error message is as follows:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtpyvcp/actions/__init__.py", line 62, in bindWidget
    method = getattr(method, item)
             ^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'qtpyvcp.actions' has no attribute 'settings'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 198, in getMenuAction
    actions.bindWidget(menu_action, action_name)
  File "/usr/lib/python3/dist-packages/qtpyvcp/actions/__init__.py", line 67, in bindWidget
    raise InvalidAction("Could not get action method: %s" % item)
qtpyvcp.actions.InvalidAction: Could not get action method: settings
2024-12-21 12:36:01,809 - qtpyvcp.widgets.form_widgets.main_window - ERROR - Error binding menu action settings.backplot.show-program-ticks
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtpyvcp/actions/__init__.py", line 62, in bindWidget
    method = getattr(method, item)
             ^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'qtpyvcp.actions' has no attribute 'settings'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 198, in getMenuAction
    actions.bindWidget(menu_action, action_name)
  File "/usr/lib/python3/dist-packages/qtpyvcp/actions/__init__.py", line 67, in bindWidget
    raise InvalidAction("Could not get action method: %s" % item)
qtpyvcp.actions.InvalidAction: Could not get action method: settings
2024-12-21 12:36:01,998 - qtpyvcp.app.launcher - INFO - Loading POSTGUI_HALFILE: /home/cnc/linuxcnc/configs/ethercat_milling_machine_csv_probe_basic/probe_basic_postgui.hal

Greetings
Sandro

 
  • MaHa
  • MaHa
21 Dec 2024 09:19
Replied by MaHa on topic Linux CNC auf Virtualbox Simulation

Linux CNC auf Virtualbox Simulation

Category: Deutsch

Wenn man über den Configpicker eine axis.sim ersellt, hat es in der .ini unter anderem folgende Einträge:
HALFILE = core_sim.hal
HALFILE = sim_spindle_encoder.hal
HALFILE = axis_manualtoolchange.hal
HALFILE = simulated_home.hal
HALFILE = cooling.hal

Da wird die Hardware simuliert.
Dann kann auch HOME , MIN_LIMIT und MAX_LIMIT eingestellt werden und Referenzfahren nur nach Maschinenstart.

 
Displaying 21691 - 21694 out of 21694 results.
Time to create page: 0.702 seconds
Powered by Kunena Forum