cyclone-pcb-factory/Software/Replath/replath/gladesource/wxplotgerber.wxg

674 lines
42 KiB
XML

<?xml version="1.0"?>
<!-- generated by wxGlade 0.6.3 on Sun Jul 20 23:54:17 2008 -->
<application path="/home/stef/projects/reprap/stef/pyRepRap/scripts/reprapplot" name="" class="" option="0" language="python" top_window="frmMain" encoding="UTF-8" use_gettext="0" overwrite="0" use_new_namespace="1" for_version="2.8" is_template="0">
<object class="MyFrame" name="frmMain" base="EditFrame">
<style>wxDEFAULT_FRAME_STYLE</style>
<icon>code:wx.Bitmap(appIcon)</icon>
<title>RepRap Plotter</title>
<menubar>1</menubar>
<centered>1</centered>
<statusbar>1</statusbar>
<toolbar>1</toolbar>
<size>869, 579</size>
<object class="wxMenuBar" name="frmMain_menubar" base="EditMenuBar">
<menus>
<menu name="mnuFile" label="&amp;File">
<item>
<label>&amp;Open\tCtrl+O</label>
<id>0</id>
<name>mnuOpen</name>
<handler>onClickOpen</handler>
</item>
<item>
<label>---</label>
<id>---</id>
<name>---</name>
</item>
<item>
<label>&amp;Plot\tCtrl+P</label>
<id>2</id>
<name>mnuPlot</name>
<handler>onClickPlot</handler>
</item>
<item>
<label>---</label>
<id>---</id>
<name>---</name>
</item>
<item>
<label>&amp;Quit\tCtrl+Q</label>
<id>1</id>
<name>mnuQuit</name>
<handler>onClickQuit</handler>
</item>
</menu>
<menu name="" label="&amp;Edit">
<item>
<label>Pr&amp;eferences</label>
<id>10</id>
<handler>onClickPreferences</handler>
</item>
</menu>
<menu name="" label="&amp;Help">
<item>
<label>&amp;About</label>
<id>40</id>
<name>mnuAbout</name>
<handler>onClickAbout</handler>
</item>
</menu>
</menus>
</object>
<object class="wxStatusBar" name="frmMain_statusbar" base="EditStatusBar">
<fields>
<field width="-1">frmMain_statusbar</field>
</fields>
</object>
<object class="wxToolBar" name="frmMain_toolbar" base="EditToolBar">
<style>wxTB_TEXT</style>
<bitmapsize>32,32</bitmapsize>
<tools>
<tool>
<id>100</id>
<label>Open</label>
<type>0</type>
<short_help>Open file</short_help>
<long_help></long_help>
<bitmap1>code:wx.Bitmap( os.path.join(iconPath, 'document-open.png'), wx.BITMAP_TYPE_ANY )</bitmap1>
<bitmap2></bitmap2>
<handler>onClickOpen</handler>
</tool>
<tool>
<id>---</id>
<label>---</label>
<type>0</type>
<short_help>---</short_help>
<long_help></long_help>
<bitmap1>---</bitmap1>
<bitmap2>---</bitmap2>
</tool>
<tool>
<id>110</id>
<label>Stop</label>
<type>0</type>
<short_help>Stop current plotting action</short_help>
<long_help></long_help>
<bitmap1>code:wx.Bitmap( os.path.join(iconPath, 'media-playback-stop.png'), wx.BITMAP_TYPE_ANY )</bitmap1>
<bitmap2></bitmap2>
<handler>onClickStop</handler>
</tool>
<tool>
<id>---</id>
<label>---</label>
<type>0</type>
<short_help>---</short_help>
<long_help></long_help>
<bitmap1>---</bitmap1>
<bitmap2>---</bitmap2>
</tool>
<tool>
<id>120</id>
<label>Plot</label>
<type>0</type>
<short_help>Plot to output plugin</short_help>
<long_help></long_help>
<bitmap1>code:wx.Bitmap( os.path.join(iconPath, 'media-playback-start.png'), wx.BITMAP_TYPE_ANY )</bitmap1>
<bitmap2></bitmap2>
<handler>onClickPlot</handler>
</tool>
<tool>
<id>---</id>
<label>---</label>
<type>0</type>
<short_help>---</short_help>
<long_help></long_help>
<bitmap1>---</bitmap1>
<bitmap2>---</bitmap2>
</tool>
<tool>
<id>130</id>
<label>Preferences</label>
<type>0</type>
<short_help></short_help>
<long_help></long_help>
<bitmap1>code:wx.Bitmap( os.path.join(iconPath, 'configure.png'), wx.BITMAP_TYPE_ANY )</bitmap1>
<bitmap2></bitmap2>
<handler>onClickPreferences</handler>
</tool>
</tools>
</object>
<object class="wxBoxSizer" name="sizer_6" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxPanel" name="panel_1" base="EditPanel">
<style>wxTAB_TRAVERSAL</style>
<object class="wxBoxSizer" name="sizer_main" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<option>0</option>
<object class="wxStaticLine" name="static_line_1" base="EditStaticLine">
<style>wxLI_HORIZONTAL</style>
<attribute>1</attribute>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxBoxSizer" name="sizer_19" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>1</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_22" base="EditStaticText">
<attribute>1</attribute>
<label>Output :</label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>1</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxChoice" name="choice_output" base="EditChoice">
<selection>0</selection>
<choices>
</choices>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>1</height>
<width>20</width>
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_23" base="EditStaticText">
<attribute>1</attribute>
<label>Toolhead :</label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>1</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxChoice" name="choice_toolhead" base="EditChoice">
<selection>0</selection>
<choices>
</choices>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<option>0</option>
<object class="wxStaticLine" name="static_line_2" base="EditStaticLine">
<style>wxLI_HORIZONTAL</style>
<attribute>1</attribute>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>1</border>
<option>5</option>
<object class="DrawCanvas" name="pygameCanvas" base="CustomWidget">
<arguments>
<argument>$parent</argument>
<argument>$id</argument>
</arguments>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="PreferencesDialog" name="dialogPreferences" base="EditDialog">
<style>wxDEFAULT_DIALOG_STYLE</style>
<icon>code:wx.Bitmap(appIcon)</icon>
<title>RepRap Gerber Plotter - Preferences</title>
<centered>1</centered>
<object class="wxStaticBoxSizer" name="sizer_7" base="EditStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label></label>
<object class="sizeritem">
<flag>wxALL|wxEXPAND|wxADJUST_MINSIZE</flag>
<border>16</border>
<option>1</option>
<object class="wxBoxSizer" name="sizer_5" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>1</option>
<object class="wxNotebook" name="notebook_main" base="EditNotebook">
<style>wxNB_LEFT</style>
<tabs>
<tab window="panel_general">General</tab>
<tab window="panel_inputs">Plotter Plugins</tab>
<tab window="panel_outputs">Output Plugins</tab>
<tab window="panel_toolheads">Toolhead Plugins</tab>
</tabs>
<object class="wxPanel" name="panel_general" base="EditPanel">
<style>wxTAB_TRAVERSAL</style>
<object class="wxBoxSizer" name="sizer_2" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>10</border>
<option>1</option>
<object class="wxStaticBoxSizer" name="sizer_9" base="EditStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label></label>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>10</border>
<option>0</option>
<object class="wxFlexGridSizer" name="grid_sizer_1" base="EditFlexGridSizer">
<hgap>0</hgap>
<rows>4</rows>
<growable_cols>4,8</growable_cols>
<cols>11</cols>
<vgap>4</vgap>
<object class="sizeritem">
<flag>wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_8" base="EditStaticText">
<attribute>1</attribute>
<label>Plot offset (mm) : </label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>20</width>
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_9" base="EditStaticText">
<attribute>1</attribute>
<label>X : </label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxTextCtrl" name="text_offsetX" base="EditTextCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>20</width>
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_10" base="EditStaticText">
<attribute>1</attribute>
<label>Y :</label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>1</option>
<object class="wxTextCtrl" name="text_offsetY" base="EditTextCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>20</width>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>20</width>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>10</border>
<option>1</option>
<object class="wxFlexGridSizer" name="grid_sizer_2" base="EditFlexGridSizer">
<hgap>0</hgap>
<rows>7</rows>
<growable_cols>2</growable_cols>
<cols>3</cols>
<vgap>4</vgap>
<object class="sizeritem">
<flag>wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_11" base="EditStaticText">
<attribute>1</attribute>
<label>Fill density (lines / mm) :</label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>1</option>
<object class="wxTextCtrl" name="text_fillDensity" base="EditTextCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_16" base="EditStaticText">
<attribute>1</attribute>
<label>Circle resolution (lines / mm in c) :</label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>1</option>
<object class="wxTextCtrl" name="text_circleResolution" base="EditTextCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_1" base="EditStaticText">
<attribute>1</attribute>
<label>Delay between lines (seconds) :</label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>1</option>
<object class="wxTextCtrl" name="text_lineDelay" base="EditTextCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_2" base="EditStaticText">
<attribute>1</attribute>
<label>Zoom step (factor) :</label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxTextCtrl" name="text_zoomStep" base="EditTextCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxStaticText" name="label_3" base="EditStaticText">
<attribute>1</attribute>
<label>Grid division (mm) :</label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxTextCtrl" name="text_gridDivision" base="EditTextCtrl">
</object>
</object>
<object class="sizeritem">
<flag>wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="wxCheckBox" name="checkbox_debug" base="EditCheckBox">
<label>Debug</label>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>10</width>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>20</width>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="wxPanel" name="panel_inputs" base="EditPanel">
<style>wxTAB_TRAVERSAL</style>
<object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>10</border>
<option>1</option>
<object class="wxNotebook" name="notebook_inputs" base="EditNotebook">
<style>wxNB_LEFT</style>
<tabs>
</tabs>
</object>
</object>
</object>
</object>
<object class="wxPanel" name="panel_outputs" base="EditPanel">
<style>wxTAB_TRAVERSAL</style>
<object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>10</border>
<option>1</option>
<object class="wxNotebook" name="notebook_outputs" base="EditNotebook">
<style>wxNB_LEFT</style>
<tabs>
</tabs>
</object>
</object>
</object>
</object>
<object class="wxPanel" name="panel_toolheads" base="EditPanel">
<style>wxTAB_TRAVERSAL</style>
<object class="wxBoxSizer" name="sizer_4" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<flag>wxALL|wxEXPAND</flag>
<border>10</border>
<option>1</option>
<object class="wxNotebook" name="notebook_toolheads" base="EditNotebook">
<style>wxNB_LEFT</style>
<tabs>
</tabs>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<flag>wxADJUST_MINSIZE</flag>
<border>0</border>
<option>0</option>
<object class="spacer" name="spacer" base="EditSpacer">
<height>20</height>
<width>20</width>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND</flag>
<border>0</border>
<option>0</option>
<object class="wxBoxSizer" name="sizer_7_copy" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<flag>wxEXPAND|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>1</option>
<object class="wxButton" name="button_Ok" base="EditButton">
<stockitem>OK</stockitem>
<label>&amp;OK</label>
<events>
<handler event="EVT_BUTTON">hanBtnOk</handler>
</events>
</object>
</object>
<object class="sizeritem">
<flag>wxEXPAND|wxADJUST_MINSIZE</flag>
<border>0</border>
<option>1</option>
<object class="wxButton" name="button_Cancel" base="EditButton">
<stockitem>CANCEL</stockitem>
<label>&amp;Cancel</label>
<events>
<handler event="EVT_BUTTON">hanBtnCancel</handler>
</events>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</application>