Advanced Search

Search Results (Searched for: )

  • agima2
  • agima2
21 Dec 2024 12:23
Replied by agima2 on topic Linux CNC auf Virtualbox Simulation

Linux CNC auf Virtualbox Simulation

Category: Deutsch

OK,

Wenn also eine Refernzfahrt nur nach Maschinenstart zu machen ist, so muss ich wohl mit dieser  Notlösung leben. Ich dachte ich kann mein Programm laden und dann eine simulierte Referenzfahrt machen.

MfG.
  • JT
  • JT's Avatar
21 Dec 2024 12:20
Replied by JT on topic Should I update

Should I update

Category: General LinuxCNC Questions

My Hardinge CHNC lathe runs Ubuntu 10.04 and LinuxCNC 2.7. if it's not broke don't fix it.

JT
  • 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

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