delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/06/12/05:54:19

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <51B8451B.9060207@xs4all.nl>
Date: Wed, 12 Jun 2013 11:53:31 +0200
From: Bert Timmerman <bert DOT timmerman AT xs4all DOT nl>
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] 3D modelling and gEDA
References: <CAK=z9GWkMwS3NiLEgpvWuPgBVrGB+sHqb7DLCgYZTC3C1OyLSg AT mail DOT gmail DOT com>
In-Reply-To: <CAK=z9GWkMwS3NiLEgpvWuPgBVrGB+sHqb7DLCgYZTC3C1OyLSg@mail.gmail.com>
X-Virus-Scanned: by XS4ALL Virus Scanner
Reply-To: geda-user AT delorie DOT com

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,

I will try to find time this month to look into your stuff.

The pictures on the web page are promising.

In the mean time I will start a bug report on launchpad and upload the 
files.

I will also add a development branch in my local Github repository 
(https://github.com/bert/pcb/branches) for test driving and adding 
improvements if/where needed.

Thanks and kind regards,

Bert Timmerman.


- Raw text -


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