User Tools

Site Tools


mycnc:mycnc_rotate_widget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
mycnc:mycnc_rotate_widget [2019/10/31 11:44] ivanmycnc:mycnc_rotate_widget [2022/02/08 16:20] ivan
Line 1: Line 1:
 ======MyCNC Rotation Widget====== ======MyCNC Rotation Widget======
 +
 +{{youtube>NIEAbr3t-dE?large}}
  
 Below is the main screen of the rotation widget: Below is the main screen of the rotation widget:
Line 33: Line 35:
 {{:mycnc:rotation-widget-015.png}} {{:mycnc:rotation-widget-015.png}}
 //After clicking on the "Apply Correction" button, you must confirm the program conversion in the popup window (press the check mark icon).// //After clicking on the "Apply Correction" button, you must confirm the program conversion in the popup window (press the check mark icon).//
-{{:mycnc:rotate_4.png?1000|}}+{{:mycnc:rotation-widget-016.png}}
 //After the confirmation button has been pressed, the correction will be displayed on the screen. To use this corrected program file, it is now necessary to press the Send button to display the altered nesting map in the main program window.// //After the confirmation button has been pressed, the correction will be displayed on the screen. To use this corrected program file, it is now necessary to press the Send button to display the altered nesting map in the main program window.//
-{{:mycnc:rotate_5.png?1000|}}+{{:mycnc:rotation-widget-017.png}}
  
 **//Rotation of the nesting map to a previously used angle//** **//Rotation of the nesting map to a previously used angle//**
  
 //Select the rotation angle from the list of previously used values// //Select the rotation angle from the list of previously used values//
-{{:mycnc:rotate_8.png?1000|}}+{{:mycnc:rotation-widget-018.png}}
  
 //Confirm or cancel the rotation// //Confirm or cancel the rotation//
-{{:mycnc:rotate_9.png?1000|}}+{{:mycnc:rotation-widget-019.png}}
 //After the changes have been applied, it is necessary to press the Send button to display the rotated nesting map in the main program window so that .// //After the changes have been applied, it is necessary to press the Send button to display the rotated nesting map in the main program window so that .//
-{{:mycnc:rotate_10.png?1000|}}+{{:mycnc:rotation-widget-020.png}} 
 + 
 + 
 +=====Rotation via global variables===== 
 + 
 +A video on program rotation via global variables #8195 and #8199 is available here:  
 + 
 +{{youtube>Lh67Tr-uH8s?large}} 
 + 
 +The code in the video is the following:  
 + 
 +<code XML> 
 +<gitem where="xp"  
 + position="880;0"  width="40" height="40" action="cnc-gvariable-vset-8199/1" type="button" 
 + image="alphabet/alphabet-1" image-hovered="alphabet/alphabet-1"  hotkey="Ctrl+Y" 
 + /> 
 + 
 +<gitem where="xp"  
 + position="880;40"  width="40" height="40" action="cnc-gvariable-vset-8199/2" type="button" 
 + image="alphabet/alphabet-2" image-hovered="alphabet/alphabet-2"  hotkey="Alt+U" 
 + /> 
 + 
 +<gitem where="xp"  
 + position="960;0"  width="40" height="40" action="cnc-gvariable-vset-8195/0" type="button" 
 + image="alphabet/alphabet-0" image-hovered="alphabet/alphabet-0"  
 + /> 
 + 
 +<gitem where="xp" position="920;40" width="85" displayWidth="50" height="40" labelWidth="35"  
 + name="display-cnc-gvariable-8195" 
 + bgColor="##b-display" fgColor="##f-display"  
 + labelFgColor="##f-label" labelFontSize="12" labelFontStyle="normal"  
 + fontSize="12" fontStyle="bold" format="%6.3f" type="display"
 +            <message>Angle</message> 
 +</gitem></code> 
 + 
 + 
 +=====Preserving and resetting rotation on program reload===== 
 + 
 +myCNC allows to either keep the rotation angle/state when reloading the G-code program (this is the default behaviour), or to reset the rotation angle back to 0 once the reload button is pressed: 
 + 
 +{{:mycnc:rotation-wigdet-022-reload.png}}  
 + 
 +To enable this reset, head into Settings > Config > Preferences > Common, and enable the "Clear rotation on NC-Refresh" option:  
 + 
 +{{:mycnc:rotation-wigdet-021-pref-common.png}} 
 + 
 +With this option enabled, the reload will now reset the rotation angle back to zero. This is useful on systems which measure the current cutting material rotation every time after loading in a new G-code file.  
 + 
 +=====Changing the rotate widget===== 
 + 
 +It is possible to change the orientation of the rotate widget. To do so, first change the orientation of the navigation arrows (in the bottom centre of the screen) by heading into your profile folder's ''x-rotate.xml'' file, and changing the table-rotation value from ''0'' to ''+-90'', ''+-180'', or ''+-270'' (-90 is shown in the example below):  
 + 
 +{{:mycnc:rotation-widget-023-table-rotation.png}} 
 + 
 +Next, you can alter the orientation of the table image itself, by heading into myCNC Settings > Advanced > UI Settings, and selecting the necessary Table Image: 
 + 
 +{{:mycnc:rotation-widget-024-image.png}}
  
 +The result in this example should look like this: 
  
 +{{:mycnc:rotation-widget-025-result.png}}
  
  
mycnc/mycnc_rotate_widget.txt · Last modified: 2022/02/08 16:36 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki