diff options
author | jaseg <git@jaseg.de> | 2023-10-30 15:26:45 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-10-30 15:26:45 +0100 |
commit | 7e33137f104c168b782bc9761571a98e3752d8c8 (patch) | |
tree | 4586a1ec77bf69f9f2c403df07662b615dcc5880 /de.jaseg.kimesh.plugin/plugins/mesh_plugin_dialog.py | |
parent | d50efe4695afe21a0a6e18d3d721411e196941b7 (diff) | |
download | kimesh-7e33137f104c168b782bc9761571a98e3752d8c8.tar.gz kimesh-7e33137f104c168b782bc9761571a98e3752d8c8.tar.bz2 kimesh-7e33137f104c168b782bc9761571a98e3752d8c8.zip |
Add track/via avoidance and also generate 1-pin heater mesh anchors
Diffstat (limited to 'de.jaseg.kimesh.plugin/plugins/mesh_plugin_dialog.py')
-rw-r--r-- | de.jaseg.kimesh.plugin/plugins/mesh_plugin_dialog.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/de.jaseg.kimesh.plugin/plugins/mesh_plugin_dialog.py b/de.jaseg.kimesh.plugin/plugins/mesh_plugin_dialog.py index 790caa8..062e63c 100644 --- a/de.jaseg.kimesh.plugin/plugins/mesh_plugin_dialog.py +++ b/de.jaseg.kimesh.plugin/plugins/mesh_plugin_dialog.py @@ -17,7 +17,7 @@ import wx.xrc class MainDialog ( wx.Dialog ): def __init__( self, parent ): - wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Security Mesh Generator Plugin", pos = wx.DefaultPosition, size = wx.Size( 632,580 ), style = wx.CLOSE_BOX|wx.DEFAULT_DIALOG_STYLE|wx.MINIMIZE_BOX|wx.RESIZE_BORDER|wx.STAY_ON_TOP ) + wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Security Mesh Generator Plugin", pos = wx.DefaultPosition, size = wx.Size( 632,650 ), style = wx.CLOSE_BOX|wx.DEFAULT_DIALOG_STYLE|wx.MINIMIZE_BOX|wx.RESIZE_BORDER|wx.STAY_ON_TOP ) self.SetSizeHints( wx.DefaultSize, wx.DefaultSize ) @@ -160,6 +160,21 @@ class MainDialog ( wx.Dialog ): fgSizer1.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + self.m_trackClearanceCheckbox = wx.CheckBox( self, wx.ID_ANY, u"Respect Tracks and Vias", wx.DefaultPosition, wx.DefaultSize, 0 ) + fgSizer1.Add( self.m_trackClearanceCheckbox, 0, wx.ALL, 5 ) + + self.m_staticText15 = wx.StaticText( self, wx.ID_ANY, u"Track/Via clearance", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.m_staticText15.Wrap( -1 ) + + fgSizer1.Add( self.m_staticText15, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 ) + + self.m_trackClearanceSpin = wx.SpinCtrlDouble( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.SP_ARROW_KEYS, 0, 1000, 0.2, 0.1 ) + self.m_trackClearanceSpin.SetDigits( 3 ) + fgSizer1.Add( self.m_trackClearanceSpin, 0, wx.ALL, 5 ) + + + fgSizer1.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + self.m_vizCheckbox = wx.CheckBox( self, wx.ID_ANY, u"Save layout visualizations", wx.DefaultPosition, wx.DefaultSize, 0 ) self.m_vizCheckbox.SetValue(True) fgSizer1.Add( self.m_vizCheckbox, 0, wx.ALL, 5 ) |