delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/06/11/03:12:38

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <51B6CDB6.1010909@estechnical.co.uk>
Date: Tue, 11 Jun 2013 08:11:50 +0100
From: Ed Simmons <ed AT estechnical DOT co DOT uk>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6
MIME-Version: 1.0
To: geda-user AT delorie DOT com
CC: Matthew Sager <matthewsager AT gmail DOT com>
Subject: Re: [geda-user] 3D modelling and gEDA
References: <CAK=z9GWkMwS3NiLEgpvWuPgBVrGB+sHqb7DLCgYZTC3C1OyLSg AT mail DOT gmail DOT com>
In-Reply-To: <CAK=z9GWkMwS3NiLEgpvWuPgBVrGB+sHqb7DLCgYZTC3C1OyLSg@mail.gmail.com>
X-Authenticated-As: ed AT estechnical DOT co DOT uk
Reply-To: geda-user AT delorie DOT com

This is a multi-part message in MIME format.
--------------030708090707070709090601
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 11/06/13 02:43, Matthew Sager wrote:
> Hi everyone,
>
> I created a script to help me make a 3D model of a populated PCB. I 
> thought I would share in case someone else has a need for this.  I am 
> using a combination of Gschem, PCB, OpenSCAD, and my custom perl 
> script.  The script just acts like a virtual pick and place machine.
>
> Below is a link to the example project that I created. (The compressed 
> file at the bottom of the page has the schematic, PCB, OpenSCAD 
> models, and Perl script in it. The PCB and models all use mm as the 
> units.)
> To run the script pcbto3d.pl <http://pcbto3d.pl> in the project 
> directory.
> It will create a file called "balance_sensors.scad" that you can open 
> and rotate around in OpenSCAD.
> https://sites.google.com/site/matthewsager/home/projects/electronicsshop/3dgeda
>
> Details about how it works...
> 1. I added the 3D models to the schematic symbols then use one of the 
> BOM backends to export the redefs and 3D model relationship.  (Note 
> the PCB footprints and 3D models need to have the same origin point.)
> 2. Export xy file to be able to find where all the 3D models location 
> and rotation.
> 3. Export the gerber data to get the plated drill hole locations so I 
> could show all the mounting holes and vias.
> 4. Read the work are size from the PCB file. (Note the script does not 
> use the outline layer.)
> 5. Create the OpenSCAD file of the assembled PCB.
>
> Enjoy,
> Matthew
> -- 
> My homepage.
> http://sites.google.com/site/matthewsager/home
Hi Matthew,

That's an awesome script! It would be great to have this as an exporter 
in PCB...

:D

Thanks for sharing this,

Ed

--------------030708090707070709090601
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/06/13 02:43, Matthew Sager wrote:<br>
    </div>
    <blockquote
cite="mid:CAK=z9GWkMwS3NiLEgpvWuPgBVrGB+sHqb7DLCgYZTC3C1OyLSg AT mail DOT gmail DOT com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi everyone,<br>
            <br>
          </div>
          I created a script to help me make a 3D model of a populated
          PCB. I thought I would share in case someone else has a need
          for this.&nbsp; I am using a combination of Gschem, PCB, OpenSCAD,
          and my custom perl script.&nbsp; The script just acts like a
          virtual pick and place machine.&nbsp; <br clear="all">
        </div>
        <div>
          <div>
            <div>
              <div><br>
                Below is a link to the example project that I created.
                (The compressed file at the bottom of the page has the
                schematic, PCB, OpenSCAD models, and Perl script in it.&nbsp;
                The PCB and models all use mm as the units.)<br>
                To run the script <a moz-do-not-send="true"
                  href="http://pcbto3d.pl">pcbto3d.pl</a> in the project
                directory.&nbsp; <br>
                It will create a file called "balance_sensors.scad"&nbsp;
                that you can open and rotate around in OpenSCAD.<br>
                <a moz-do-not-send="true"
href="https://sites.google.com/site/matthewsager/home/projects/electronicsshop/3dgeda">https://sites.google.com/site/matthewsager/home/projects/electronicsshop/3dgeda</a><br>
                <br>
                Details about how it works...<br>
                1. I added the 3D models to the schematic symbols then
                use one of the BOM backends to export the redefs and 3D
                model relationship.&nbsp; (Note the PCB footprints and 3D
                models need to have the same origin point.)<br>
              </div>
              <div>2. Export xy file to be able to find where all the 3D
                models location and rotation.<br>
              </div>
              <div>3. Export the gerber data to get the plated drill
                hole locations so I could show all the mounting holes
                and vias.<br>
              </div>
              <div>4. Read the work are size from the PCB file. (Note
                the script does not use the outline layer.)<br>
              </div>
              <div>5. Create the OpenSCAD file of the assembled PCB.<br>
              </div>
              <div><br>
              </div>
              <div>Enjoy,<br>
              </div>
              <div>Matthew<br>
              </div>
              <div>-- <br>
                My homepage.<br>
                <a moz-do-not-send="true"
                  href="http://sites.google.com/site/matthewsager/home">http://sites.google.com/site/matthewsager/home</a>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Hi Matthew,<br>
    <br>
    That's an awesome script! It would be great to have this as an
    exporter in PCB...<br>
    <br>
    :D<br>
    <br>
    Thanks for sharing this,<br>
    <br>
    Ed<br>
  </body>
</html>

--------------030708090707070709090601--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019