X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <51C9D3A8.8070203@xs4all.nl> Date: Tue, 25 Jun 2013 19:30:16 +0200 From: Bert Timmerman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc13 SeaMonkey/2.0.14 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] LP699502-openscad-exporter References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Reply-To: geda-user AT delorie DOT com Markus Hitter wrote: > I've just pushed Bert Timmermans work on an OpenSCAD exporter into the > central repository, branch LP699502-openscad-exporter. > > Very well coded, including documentation and tests. A few issues are > left, especially the "just works"-feature is apparently missing. > Perhaps Bert can elaborate a bit more on this? > > > Markus > > - - - - - - - - - - - - - - - - - - - > Dipl. Ing. (FH) Markus Hitter > http://www.jump-ing.de/ > > > > > > Hi all, Now this exporter lives in a topic branch in the main pcb repo it's about time for some further explanation. WARNING: there still are some caveats and bugs ! Do not use on production work --> play it safe in a sandbox ;-) The exporter creates a single file defining the toplevel 3D model in OpenSCAD language (resembles C code), have a look at the generated pcb.pdf file in the doc subdirectory (page 28 and further) for a bit more detailed information. The maximum length and maximum width dimensions of the board are used regardless the information in the outline layer. The height of the parts is not generated from footprints, pcb has no knowledge of that, pcb doesn't even know the board thickness. You have to specify board thickness in the exporter pop-up dialog window, the dialog gives a default value (in mil/100 or mm) which can be altered. The parts on the pcb themselves are to be created by the user (IMHO content is the user's responsibility, geda-devs should only supply methods), if you want some I made look here: https://github.com/bert/openscad-models Either download a zipped archive or git-clone (or fork as a github repo and add for all to benefit). YMMV ;-) Make sure all required 3D models are within the scope of the toplevel 3D model file. Based on demand these will be included by OpenSCAD. By ticking 'modules' some basic modules for the 'board', 'pin holes', 'via holes' and a module for inserting parts are inserted in the top level 3D model file, do not tick if you want to use your own *.scad files for those basic modules. If you have more questions please do ask. Patches, comments and all other forms of feedback are welcome. Kind regards, Bert Timmerman.