en:appnote:an015

AN015 - How to install custom panels

The purpose of this application note is to illustrate steps to install custom panels and start its from RosettaCNC top bar.

1. Steps to install

  1. Install control software version 1.9.6 or later 64-bit version.
  2. 64-bit version also install an embedded python version located in %LocalAppData%\Programs\RosettaCNC.python
  3. Open a Windows command prompt at %LocalAppData%\Programs\RosettaCNC.python
  4. Type:
    1. python -m pip install --upgrade --force-reinstall pip
  5. Install necessary python libraries with the follows commands:
    1. Scripts\pip install cnc-api-client-core
    2. Scripts\pip install pyside6
    3. Scripts\pip install numpy
  6. Unpack the attached archive in a folder of your preference.
  7. Open your control software and go to Program Settings. Enable API server:
  8. Restart control software.
  9. Set in Program Settings panel→ External Programs fields as:
  10. Two new icons appairs in top toolbar to start new panels
  11. If you want a customized icon place a icon file named external_program_1_E01.png in %APPDATA%\RosettaCNC-1\customize folder. For other info please refer to %APPDATA%\RosettaCNC-1\customize\readme.txt file.

2. Attached files

3. Multiple cuts panel

This is a very simple panel to set the same application target position and repetition. When you press the Calcola button, related code will be set in main control software editor.

4. Auto learn panel

This is a panel that can be used to auto compose a gcode part program by moving the machine and press a button. Every time you press the button you can define if the actual machine position is a point if for a feed linear movement, rapid or is a part of arc definition.

Tha panel have a header and a tail so part program is every time valid for compile and preview.

5. Big size DRO panel

This is a DRO application. Take a look to UI_SCALING to scale panel to fit monitor size. Look at UI_USE_MONITOR if your application have two monitors.

For an optimal results use the Klartext Mono font.

  • Last modified: 2023/05/18 07:45
  • (external edit)