From 7e33137f104c168b782bc9761571a98e3752d8c8 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 30 Oct 2023 15:26:45 +0100 Subject: Add track/via avoidance and also generate 1-pin heater mesh anchors --- de.jaseg.kimesh.plugin/plugins/mesh_plugin_dialog.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'de.jaseg.kimesh.plugin/plugins/mesh_plugin_dialog.py') 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 ) @@ -158,6 +158,21 @@ class MainDialog ( wx.Dialog ): fgSizer1.Add( self.m_useOutlineCheckbox, 0, wx.ALL, 5 ) + 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 ) -- cgit