X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=beta; bh=yBOIORTqbsx5IsUJkl1ec7BMl K+1PtiSzi7st9lNnP4=; b=bYXeQ4pAkdqRAYHYt3PHypqecW3uRZELExbHW+neV 4lRPJOV39yV46Dt8uZGfVKF34hzoqpWQqsstxw5f3Iz/kplYZq+EXjJSmQzeg4YW me/jZBdzVp78rklICFMMnZ7IdZzrqfLR41vQg5uWFoDuWXPafhG5za73uXeaYpYF 0Y= Message-ID: <50237393.7030503@jump-ing.de> Date: Thu, 09 Aug 2012 10:23:47 +0200 From: Markus Hitter User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: gEDA User Mailing List Subject: [geda-user] PCB size definition Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com Hello all, there's a patch for the G-code exporter available which replaces the definition of the board size. Currently, there are these two values (Width, Height) in the preferences dialog. At the same time, a board shape shall be defined by the outline layer. IMHO, this situation is a bit contradicting in its self. The new solution for the G-code exporter whould be to walk through each track of the outline layer to find the minimum and maximum extents. Looks more reasonable to my understanding and whould make the values in the preferences dialog obsolete (except, perhaps, for internal calculations, which should be hidden). My question now is, whould calculating the board size dynamically be a good solution for the entire application? Users whould resize the board by just moving the tracks on the outline layer and these two preferences items could (eventually) go away. I'd prefer to work on a general solution instead of bringing in custom stuff for just this exporter. Opinions are welcome as much as hints on where/how a general solutuion should be coded. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/