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
mycnc:mycnc_rotate_widget [2018/07/20 12:38] pupalaisermycnc:mycnc_rotate_widget [2022/02/08 16:36] (current) ivan
Line 1: Line 1:
-**MyCNC Rotete Widget. Main window.** +======MyCNC Rotation Widget====== 
-{{ :mycnc:2018-05-25_14-39-01.jpg?nolink&1000 |}} + 
-//**Basic functions.**// +{{youtube>NIEAbr3t-dE?large}} 
-{{ :mycnc:rotate_1.png?nolink&1000 |}} + 
-| {{:mycnc:button-refresh.svg.png?nolink&60|}}   |refresh of the visual display of the nesting chart     |{{:mycnc:rotate.png?60|}}|Applying the transformation| +Below is the main screen of the rotation widget: 
-|{{:mycnc:x_.png?60|}}|Moving along the X axis to the set value|{{:mycnc:lib-run.svg.png?60|}}|Loading the converted cutting map into the main program window| +{{:mycnc:rotation-widget-001-main-screen.png}} 
-|{{:mycnc:y_.png?60|}}|Moving along the Y axis to the set value|{{:mycnc:3dots.png?60|}}|Entering the value of the angle of rotation|+ 
 +//**Basic rotation widget functions:**// 
 +{{:mycnc:rotation-widget-002-tooltips.png}} 
 +|{{:mycnc:rotation-widget-006-button-refresh.png}}|Refresh the nesting chart (visual display)     |{{:mycnc:rotation-widget-003-button-apply.png}}|Apply the rotation / file transformation| 
 +|{{:mycnc:rotation-widget-007-button-x.png}}|Move along the X axis to the specified value|{{:mycnc:rotation-widget-005-button-load.png}}|Load the converted cutting map into the main program window| 
 +|{{:mycnc:rotation-widget-008-button-y.png}}|Move along the Y axis to the specified value|{{:mycnc:rotation-widget-004-button-enter-angle.png}}|Enter the rotation angle value|
 //**Transformation of the control program relative to the vertical axis.**// //**Transformation of the control program relative to the vertical axis.**//
-{{ :mycnc:2018-05-30_17-33-06.jpg?nolink&1000 |}} +{{:mycnc:rotation-widget-009-vertical.png}} 
-| {{ :mycnc:mirror-x.svg.png?nolink&60 |}}  |Turning off the transformation about the vertical axis.|{{ :mycnc:mirror-x-checked.svg.png?nolink&60 |}}|Turning on the transformation about the vertical axis | +| {{ :mycnc:mirror-x.svg.png?nolink&60 |}}  |Signifies that transformation about the vertical axis is OFF.|{{ :mycnc:mirror-x-checked.svg.png?nolink&60 |}}|Transformation about the vertical axis is ON
-//**Transformation of the control program relative to the  horizontal axis.**//+//**Transformation of the control program relative to the horizontal axis.**// 
 + 
 +{{:mycnc:rotation-widget-010-horizontal.png}} 
 +| {{ :mycnc:mirror-y.svg.png?nolink&60 |}}  |Transformation about the horizontal axis is OFF.|{{ :mycnc:mirror-y-checked.svg.png?nolink&60 |}}|Transformation about the horizontal axis is ON| 
 +**//Transformation of the control program relative to the vertical and horizontal axes simultaneously.//** 
 + 
 +{{:mycnc:rotation-widget-011-xy.png}} 
 +|{{ :mycnc:mirror-xy.svg.png?nolink&60 |}}  |Transformation about both the horizontal and the vertical axis is OFF|{{ :mycnc:mirror-xy-checked.svg.png?nolink&60 |}}|Transformation about both the horizontal and the vertical axis is ON.| 
 +**//Rotation of the nesting map to some specified angle//** 
 + 
 +{{:mycnc:rotation-widget-012-enter-angle-popup.png}} 
 +//To be able to use the corrected nesting chart, it is necessary to press the Send button in order to display the rotated file in the main program window. // 
 +{{:mycnc:rotation-widget-013-send.png}} 
 + 
 +**//Sheet position correction by using two points//** 
 + 
 +//Set the first point. Position the plasma torch at the lower left corner of the sheet. The point is recorded by pressing the "1" button. Movement is done with the arrows at the center of the screen.// 
 +{{:mycnc:rotation-widget-014.png}} 
 +//Next, move the plasma torch along the sheet (the longer the distance of this movement, the more accurate the correction will be). We bring the plasma torch to the edge of the sheet after moving along it. We assign this second point by pressing the "2" button. Movement is done with the arrows at the center of the screen.// 
 +{{: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).// 
 +{{: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.// 
 +{{:mycnc:rotation-widget-017.png}} 
 + 
 +**//Rotation of the nesting map to a previously used angle//** 
 + 
 +//Select the rotation angle from the list of previously used values// 
 +{{:mycnc:rotation-widget-018.png}} 
 + 
 +//Confirm or cancel the rotation// 
 +{{: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 .// 
 +{{: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. 
  
-{{ :mycnc:2018-05-30_17-33-48.jpg?nolink&1000 |}} +=====Changing the rotate widget=====
-| {{ :mycnc:mirror-y.svg.png?nolink&60 |}}  |Turning off the transformation about the horizontal axis.|{{ :mycnc:mirror-y-checked.svg.png?nolink&60 |}}|Turning on the transformation about the horizontal axis | +
-**//Transformation of the control program relative to the vertical and horizontal axis simultaneously.//**+
  
-{{ :mycnc:2018-05-30_17-34-10.jpg?nolink&1000 |}} +It is possible to change the orientation of the rotate widgetTo 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'' or ''-90'' (-90 is shown in the example below): 
-|{{ :mycnc:mirror-xy.svg.png?nolink&60 |}}  |Turning off the transformation about the horizontal and vertical axis simultaneously.|{{ :mycnc:mirror-xy-checked.svg.png?nolink&60 |}}|Turning on the transformation about the horizontal and vertical axis simultaneously.| +
-**//Rotate the nesting map to the specified angle//**+
  
-{{:mycnc:rotate_6.png?1000|}} +{{:mycnc:rotation-widget-023-table-rotation.png}}
-//To cut the corrected nesting chart, it is necessary to press the send button of the corrected nesting map to the main program window.// +
-{{:mycnc:rotate_7.png?1000|}}+
  
-**//Correction of the position of the sheet by two points//**+The coordinate system orientation will look the following way depending on your choice: 
  
-//Setting the first point.мInstall the plasma torch on the lower left corner of the sheet. And fix the first point, by pressing the button "1". Moves are carried out with the help of arrows in the center of the screen.// +{{:mycnc:rotation-widget-026-coordinate-systems.png}}
-{{:mycnc:rotate_2.png?1000|}} +
-//Next, move the plasma torch along the sheet (the longer the movement, the more accurate the correction will be). We bring the plasmatron to the edge of the sheet after moving along it. We fix the second point by pressing the button "2". Moves are carried out with the help of arrows in the center of the screen.// +
-{{:mycnc:rotate_3.png?1000|}} +
-//After clicking on the "confirmation confirmation" button, you must confirm the conversion in the appeared window.// +
-{{:mycnc:rotate_4.png?1000|}} +
-//After confirmation, the correction will be displayed on the screen. To cut the corrected nesting chart, it is necessary to press the send button of the corrected nesting map to the main program window.// +
-{{:mycnc:rotate_5.png?1000|}}+
  
-**//Turning the nesting map to the previously used angle//**+Please note that the above table-rotation modification only applies to the arrow buttons. 
  
-//Select the value of the rotation angle from the previously used// +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:rotate_8.png?1000|}}+
  
-//Confirm or cancel the correction// +{{:mycnc:rotation-widget-024-image.png}}
-{{:mycnc:rotate_9.png?1000|}} +
-//To cut the corrected nesting chart, it is necessary to press the send button of the corrected nesting map to the main program window.// +
-{{:mycnc:rotate_10.png?1000|}}+
  
 +The result in this example should look like this: 
  
 +{{:mycnc:rotation-widget-025-result.png}}
  
  
mycnc/mycnc_rotate_widget.1532104734.txt.gz · Last modified: 2018/07/20 12:38 by pupalaiser

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki