20250831 Spinner: Custom PCB Shapes

20250831 Spinner: Custom PCB Shapes

In the beginning

There are some developments in this Hobby which sometimes pushes me beyond the edge and I am not talking about comfort zone. For over more than a decade, I have witness my own development in terms of PCB design and the final products. From basic marker etching to using photolithograhy using software, printouts and positive films, and then to professional standards that costs me. I was grateful for the learning experience at that time but somehow, after the euphoria, I felt that there is more to this. By this time, I more or less felt that something is stopping me from going further. This was because my circuits are ‘expanding’ and I always stubbornly believe that a good PCB design does not require any white jumper cables soldered into it.

JLCPCB.com

Then I discovered JLCPCB which offers double-sided design and plated through-holes as standard. These two features allowed me to not only connect on both sides of the board but also, cram more components into the same board footprint. The best part? I can order the PCBs for around USD2.00 for the first five. This allows me to test the board before I finalise it and go for actual production. Throughout the years, for the same price, JLCPCB not only allows the board to made with certain thickness but allows you to get the board in different colours, a nice feature which they later came up with coloured silk screening. At the same time, there is also the option of getting board made as flexiPCB. Although it was an old technology but with JLCPCB offering it as standard feature, this revolutionary breakthrough allows my design to conform to the internal curves of a model or casing, freeing me from seeing the PCB as some solid sheets of fibreglass.

Custom Shapes

And now, here we are. I am revising my Blade Runner PCB design where the front mandibles are concerned. More than two years ago, the design was good but I forgot to dry fit the part to the main body. So, I had to redesign the PCB again. The main challenge was that the PCB software, EaglepCB was not that flexible when it comes to curves. It does more or less allow you to create the shape you need but it is unable to ‘let ‘glue’ every to line become part of that shape. In other words, you can either do a circle or a weird rectangular shape just as long as each line locks.

Creating the Shape in InkScape

The first thing is to create the shape of the PCB and I used InkScape for this. You can follow a lot of Tutorials from the Internet. I followed Lucadentella.

First I made sure the measurment of the document is in mm and not px. Luckily for me, the revised PCB for the Front Mandibles was not that difficult. I started with creating all the necessary circles and then added the rectangles.
I’m not sure which sequence was correct but what I did was to flatten the design and then [Ctrl-A] to select all and use the Path-> Fracture option to break them into pieces.
I then removed all the lines and shaped that does not belong until I get the silhouette of the PCB.
Clearing all the unwanted debris away, this is the shape of the PCB.
Select the shape using [Ctrl-Alt-A] , then use Path -> Object to Path and Path ->Stroke to Path.
Then, using Extensions -> Modify Path -> Add Nodes
A small pop-up will appear and just make sure you set the Maximum Segment Length = 10.0 and Unit of measurement is in mm. Then press APPLY.
Select the Shape, Press F2, then [Ctrl-Alt-A] to catch all the nodes.
Save the file into .DXF format. I used DXF R12 for this.
Click on the Use LWPOLYLINE and then OK.

Importing the .DXF File into EaglePCB

The only way to test if the design works is to import the .dxf file via EaglePCB. To do that, at the Eagle’s Board Layout, I executed the ULP file, DXF.ULP.

File->Run ULP. From the Window pop-up, locate the file DXF.ULP
From the output file, locate the .dxf file that was saved from Inkscape earlier.
And there it is. Make sure the shape is in Layer 20 (Dimensions).
I overlay the new shape onto the existing disc. The new PCB shape is done!
20250831 Spinner: Custom PCB Shapes
Just to make sure, I uploaded the design to JLCPCB’s Website and it looked really, really good. Right now, I am waiting for some resistors to arrive so I can test the LEDs. Once this is finalised, I will remove the unnecessary lines. And hopefully, I can get them done in white.

Posted in A Piscean Works Blog, Artwork, Blade Runner, Cars, Computers, Design, EaglePCB7.77, Electronics, Fujimi, JLCPCB, Lighting, Model Kits, Printed Circuit Board, Scale Lighting, Scale Models, Sci-Fi, Spinner, Vehicles.

Leave a Reply