Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added axisfree panel for finishing passes
- Loading branch information
Showing
4 changed files
with
120 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<requires lib="gtk+" version="2.16"/> | ||
<!-- interface-requires gladevcp 0.0 --> | ||
<!-- interface-naming-policy project-wide --> | ||
<object class="GtkWindow" id="window1"> | ||
<property name="can_focus">False</property> | ||
<child> | ||
<object class="GtkTable" id="tbl_marius"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="n_rows">3</property> | ||
<property name="n_columns">2</property> | ||
<property name="column_spacing">5</property> | ||
<property name="row_spacing">5</property> | ||
<child> | ||
<object class="HAL_ToggleButton" id="hal_togglebutton_freex"> | ||
<property name="label" translatable="yes">Free X</property> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="receives_default">True</property> | ||
<property name="draw_indicator">True</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="HAL_LED" id="hal_led_x_enabled"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="led_bicolor">True</property> | ||
<property name="led_blink_rate">0</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">1</property> | ||
<property name="right_attach">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="HAL_ToggleButton" id="hal_togglebutton_freez"> | ||
<property name="label" translatable="yes">Free Z</property> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="receives_default">True</property> | ||
<property name="draw_indicator">True</property> | ||
</object> | ||
<packing> | ||
<property name="top_attach">2</property> | ||
<property name="bottom_attach">3</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="HAL_LED" id="hal_led_z_enabled"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="led_blink_rate">0</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">1</property> | ||
<property name="right_attach">2</property> | ||
<property name="top_attach">2</property> | ||
<property name="bottom_attach">3</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="HAL_ToggleButton" id="hal_togglebutton_freey"> | ||
<property name="label" translatable="yes">Free Y</property> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="receives_default">True</property> | ||
<property name="draw_indicator">True</property> | ||
</object> | ||
<packing> | ||
<property name="top_attach">1</property> | ||
<property name="bottom_attach">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="HAL_LED" id="hal_led_y_enabled"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="led_bicolor">True</property> | ||
<property name="led_blink_rate">0</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">1</property> | ||
<property name="right_attach">2</property> | ||
<property name="top_attach">1</property> | ||
<property name="bottom_attach">2</property> | ||
</packing> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
net x-motor-enable axisfree.hal_led_x_enabled | ||
net y-motor-enable axisfree.hal_led_y_enabled | ||
net z-motor-enable axisfree.hal_led_z_enabled | ||
#net machine-is-enabled => hm2_7i76e.0.gpio.006.out | ||
unlinkp hm2_7i76e.0.gpio.006.out | ||
net machine-is-enabled => and2.axisfree.x.in0 | ||
net axisfree-x axisfree.hal_togglebutton_freex-not => and2.axisfree.x.in1 | ||
net x-motor-enable and2.axisfree.x.out => hm2_7i76e.0.gpio.006.out | ||
|
||
unlinkp hm2_7i76e.0.gpio.007.out | ||
net machine-is-enabled => and2.axisfree.y.in0 | ||
net axisfree-y axisfree.hal_togglebutton_freey-not => and2.axisfree.y.in1 | ||
net y-motor-enable and2.axisfree.y.out => hm2_7i76e.0.gpio.007.out | ||
|
||
unlinkp hm2_7i76e.0.gpio.009.out | ||
net machine-is-enabled => and2.axisfree.z.in0 | ||
net axisfree-z axisfree.hal_togglebutton_freez-not => and2.axisfree.z.in1 | ||
net z-motor-enable and2.axisfree.z.out => hm2_7i76e.0.gpio.009.out | ||
|
||
|