02/18/2017 at 15:10 •
The exporter now simplifies cubic splines with only two vertices by replacing them with an equivalent single line segment.
FidoCadJ includes a style guide for use with codecheck.
I just ran codecheck on my export module....
~/Source/FidoCadJ/dev_tools$ ./checkstyle.sh ../../CodeAnalysis/checkstyle/checkstyle-6.10-all.jar
Checkstyle results stored in fidocadj_check.txt
lines on fidocadj_check.txt
I'd better sort out those indented sections and braces....
Am still wondering about how best to implement footprint rotation...
02/19/2017 at 12:50 •
The style check now passes without errors, so it's time to send the git diff to the lead dev for FidoCadJ, along with the new pcb-rnd exporter module.
The changes to the FidoCadJ code add the export option to the menu system, and allow the Export routine to call the new PCBRNDExporter.java code.
the pcb-rnd exporter module handles the conversion from the internal data structure to the pcb-rnd export file.
The flying spaghetti monster continues to export properly, and the circuit layer in FidoCadJ ends up on bottom silk, as planned, in pcb-rnd.
Testing has confirmed that cubic splines consisting of only two vertices now export to a pcb-rnd layout as a single line segment, keeping the exported file ore compact.
FidoCadJ users now have access to not only gerber export from pcb-rnd, but also g-code.
Thinking ahead, FidoCadJ is likely to be an ideal tool for stroked (centreline defined) font design, i.e. Hershey Family/Engraving/Milling/PCB/EggBot fonts.... but first, we need to confirm that the exported PCB is manufacturable, as intended....
02/20/2017 at 12:50 •
The board was designed with my usual PCB fab, Hackvana, in mind, since Hackvana have specials that apply to 50mm x 50mm, 50mm x 100mm, and 100mm x100mm sizes, or sizes that fit within these dimensions Accordingly, the board fits within 50mm x 100mm.
Hackvana reviewed the gerbers and shceduled the job for manufacture this week. If I'm lucky, I'll have the board within a week, using DHL for freight.
The next step will be blinkenlights and some quick and dirty AtTiny coding.
Until the boards arrive, I think I'll refine the export module in terms of automatic footprint rotation on export, and better default silkscreen widths in the footprints..
The FidoCadJ export module in the layout editor pcb-rnd also deserves some further round trip testing,
02/22/2017 at 12:12 •
element14 got the order today for 300 SMD LEDs, some attiny85 MCUs, 1206 decoupling caps, some 1206 pullup resistors, and a few thousand 0805 current limiting resistors.
I think it's 138 solder joints per board.... times 10, that'll be 1380 solder joints
02/23/2017 at 14:46 •
Did a bit of troubleshooting to improve the round trip with text on the PCB, when going from pcb-rnd->FidoCadJ->pcb-rnd. I think there might be a subtle scaling issue in FidoCadJ when loading text orientated at 180 degrees. I'll need to sniff around their loader/parser a bit... not that text is really expected to make the round trip losslessly, given differences in font rendering and formats. The end user would have to touch up text most times even if the scaling is behaving properly.
I also managed to build pcb-rnd on an android phone within gnu-root. It really needs a mouse for use though. A good example of the portability of C code.
I also got FidoCadJ's android app to work on the same phone.
A keen hardware hacker with a phone or android tablet and a scroll mouse could theoretically design and export gerbers for manufacture, all on the portable device...
02/24/2017 at 15:43 •
The text is behaving pretty well with round trip testing pcb-rnd -> FidoCadJ -> pcb-rnd
and footprints have been improved with circle, silk rectangle and minimum line thicknesses for silk elements
If all goes well, there should be some FidoCadJ equivalent footprints on gedasymbols.org soon....
And here's an example gerber output of the Semiconductor footprints....
02/26/2017 at 12:43 •
DHL sent an SMS telling me that my hackvana PCBs are on their way... yay!!
Not long now!!
02/26/2017 at 12:48 •
The export module code has been submitted to the FidoCadJ mainline from my fork
Anyone wishing to give export to gEDA pcb-rnd/PCB a go before the new export module is integrated into mainline can build from my branch.
you simply git clone the repo
cd into it the directory, then
assuming you have the usual toolchains and Java installed
03/01/2017 at 21:49 •
It's a bit like the joke about Unix airlines; you bring the toolbox to the airstrip, build the plane exactly how you'd like it, then fly it wherever you want to go....
The cubic splines, cubic Bezier tracks, footprints and other features made it into the pcb-rnd layout and thence to gerber thanks to custom export module code written for FidoCadJ... and the stroked font used on the PCBs is the Hershey Sans Stroke font, faithfully ported from EggBot font description files with custom code a while back...
Next up... populating the boards...
03/09/2017 at 06:35 •
Time to warm up the soldering iron for the flying spaghetti monster circuit boards...