3D STL file generator for THT PCB panels, online access: https://segmentcontroller.github.io/pcb-tht-holder/
I make almost all of my printed circuit boards with online design software and entrust the manufacturing company to install the SMD components. I install the THT (through hole technology) components at home for two reasons:
I would also like to do the THT installation at home nicely. However, with many panels there are "traces of haste".
In its current state, it facilitates the installation of circular and oblong components. This is sufficient in the following cases: relays, capacitors, resistors, terminals and pin-headers. It automatically calculates the required area and volume based on the height of the parts. But it doesn't mean that there aren't any mistakes in it: if you experience anything, I welcome your comments.
Click here: https://segmentcontroller.github.io/pcb-tht-holder/
Enter a PCB image with drag and drop or file selection, which will automatically flip and become transparent.
Place the THT parts by placing circles or squares. Adjust their height/depth exactly so that they are flush with the PCB. At the end, if necessary, add legs to support the PCB.
Click the Display 3D button and see the generated mesh. Rotate it, check that all components are in place. At the end, download the STL file in binary format. (It is also possible to download a text STL file for debug purposes).
If you want to analyze the location of the components, you can also see how things fit in the wireframe view.
Use a PLA printer to save time and money. Practice shows that it is enough to produce the STL file once, of which 1-3 prints are enough to implant hundreds of PCBs.