How can I design a curved PCB with the form of a banana?
There are several possibilities: If available, you can load a DXF file with the banana data. Use point "Import DXF..." in menu "File / Input-Output Formats / Data exchange":
(Image 1: Import DXF)
DXF unfortunately doesn't contain information on the unit size. If TARGET doesn't guess the right unit, select a proposed value or calibrate the size of the image manually.
If you have no DXF, draw the banana according to an existing bitmap image. Be sure to be in the PCB-View!
(Image 2: Menu point)
Enter the size of the image:
(Image 3: Load picture)
The image is placed in the PCB-Editor. It is a rectangle with a picture attached. The layer is the current drawing layer. The bending mode is "directly":
(Image 4: Points for straight lines)
As TARGET cannot draw curves directly, you have to draw lines first and bend them to slpine curves afterwards. Take care that the lines land on layer 23 = PCB outline:
(Image 5: Bend mode spline curve)
Select the bend mode and click on the middle of a line with M2H (drag&drop). maybe you can swithch the grid function off with [F6] to be more precise:
(Image 6: Bending a line)
At the end you can select and delete the banana image and place the components: