Mail Archives: geda-user/2013/06/12/05:54:19
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 -