discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Eagle board Modeler

HW
Harvey white
Thu, Jul 25, 2024 10:23 PM

As part of a project to make an OpenPNP machine, I am modeling the
machine in OpenSCAD.

I've used NopSCADlib to model most of it, and have integrated my own
libraries with the NopSCADlib parts.  The models include custom circuit
boards designed in EAGLE (Version 7.x). The parsing program is written
in C++, and is still a bit of a work in progress.

Given the right models, you process the board file and end up with an
SCAD file.

I've attached a board top and bottom as an example.

Harvey

As part of a project to make an OpenPNP machine, I am modeling the machine in OpenSCAD. I've used NopSCADlib to model most of it, and have integrated my own libraries with the NopSCADlib parts.  The models include custom circuit boards designed in EAGLE (Version 7.x). The parsing program is written in C++, and is still a bit of a work in progress. Given the right models, you process the board file and end up with an SCAD file. I've attached a board top and bottom as an example. Harvey
D
Daniel
Thu, Jul 25, 2024 10:56 PM

wow looks amazing

On 25 July 2024 23:23:03 IST, Harvey white via Discuss discuss@lists.openscad.org wrote:

As part of a project to make an OpenPNP machine, I am modeling the machine in OpenSCAD.

I've used NopSCADlib to model most of it, and have integrated my own libraries with the NopSCADlib parts.  The models include custom circuit boards designed in EAGLE (Version 7.x). The parsing program is written in C++, and is still a bit of a work in progress.

Given the right models, you process the board file and end up with an SCAD file.

I've attached a board top and bottom as an example.

Harvey

wow looks amazing On 25 July 2024 23:23:03 IST, Harvey white via Discuss <discuss@lists.openscad.org> wrote: >As part of a project to make an OpenPNP machine, I am modeling the machine in OpenSCAD. > >I've used NopSCADlib to model most of it, and have integrated my own libraries with the NopSCADlib parts.  The models include custom circuit boards designed in EAGLE (Version 7.x). The parsing program is written in C++, and is still a bit of a work in progress. > >Given the right models, you process the board file and end up with an SCAD file. > >I've attached a board top and bottom as an example. > >Harvey >
M
madyn@dragonworks.info
Fri, Jul 26, 2024 1:57 AM

I should give NopSCADlib credit for many of the models.  Some I have done myself (capacitors now have values on them, unlike the real ceramic parts), possibly some transistors (I did more), some multiple pin transistor IC’s, all of the modules shown, the 2mm and 1.0 mm pin headers and sockets.  Likely a few other things in there.  He doesn’t model things (mostly) that he doesn’t use in his own projects, and my projects are quite a bit different.  Hence, my models.

The programming reads an EAGLE file, and on a per part basis, selects my library of parts or his.  Both can be expanded.  Some of my parts are composite parts built in NopSCADlib.  The trick is knowing how to take the EAGLE *.brd file apart and then produce the *.scad file.  No idea if it will work on more EAGLE files than 7.x files, but it seems to be working so far.  Since it parses text files, the board files need to be XML.

I should give NopSCADlib credit for many of the models. Some I have done myself (capacitors now have values on them, unlike the real ceramic parts), possibly some transistors (I did more), some multiple pin transistor IC’s, all of the modules shown, the 2mm and 1.0 mm pin headers and sockets. Likely a few other things in there. He doesn’t model things (mostly) that he doesn’t use in his own projects, and my projects are quite a bit different. Hence, my models. The programming reads an EAGLE file, and on a per part basis, selects my library of parts or his. Both can be expanded. Some of my parts are composite parts built in NopSCADlib. The trick is knowing how to take the EAGLE \*.brd file apart and then produce the \*.scad file. No idea if it will work on more EAGLE files than 7.x files, but it seems to be working so far. Since it parses text files, the board files need to be XML.