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 revisionBoth sides next revision
mycnc:mycnc_rotate_widget [2020/12/21 08:48] ivanmycnc:mycnc_rotate_widget [2021/04/01 15:47] ivan
Line 50: Line 50:
  
  
 +=====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>
 +<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>
  
  
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