Svg, dxf or stp import to edge cut layer

hi im attempting to take something i designed in ‘front panel designer’ and create gerber files in order to take advantage of jlcpcb’s great prices… my design is a 2 layer faceplate that i will end up gluing together. there are no traces or soldering pads etc, only holes for various bits ill be attaching myself. jlcpcb offer aluminum substrate panels which are just perfect for my needs and very affordable in contrast to cnc made panels.

so, ive managed to import the dxf file to the ‘edge cut’ layer and the lines seem to be accurate and theyre not grouped. they show up in gerber viewers but are not interpreted by jlcpcb as cuts apart from the outline, ie none of the holes seem to trigger a cut in their gerber inspection, so ill likely get a solid panel back from them if i order.

how do i make all lines imported into actual cuts to the panel when manufactured? ill need to export as gerber of course.

thanks for any help!

Where does the cause of the issue lie ? with KiCad or how JLCPCB interpret your Gerbers ?

Does your panel look OK in the KiCad 3D viewer ? if you have an Edge Cuts line issue it will usually show up/be complained about.

I have never used jlcpcb.
If they are in gerber viewers but not seen by jlcpcb that suggest jlcpcb problem.
You can replace lines with hole footprints and see how then.

to be clear, i can see the lines in my gerber viewer output, but the 3d viewer in kicad doesnt show open spaces where there should be, ie inside circular shapes intended to indicate a hole. so its a lot of work to recreate these items and im also using complex shapes not easily recreated in kicad (that i know of) otherwise i would just create these in kicad, and although thats my goal, i need these panels sooner than i will be able to do that.

so i dont know where the issue is. when my user drawing was on the ‘user drawing’ layer, i could see it in the jlcpcb viewer, but there didnt seem to be cutouts, it still looked like a solid panel with line graphics. so now the imported lines are in the edge cuts layer, should they appear as cutouts in kicad 3d viewer? do lines existing in that layer indicate cut should be made?

youre saying i should test a hole i create in kicad in place of one that i imported? ill do that thanks for the hint

edit: i put a circular shape in the PCB editor within the imported item’s area, saved and viewed with the 3d viewer. there was no cutout displayed. so does the edge cut layer include cuts within or on the edge of the working area? or do shapes and holes need to exist on another layer?

I have opening made by edge cuts layer and they are shown in KiCad (V 8.0.8) 3D viewer.
In my case they came from footprint but I remember in other PCB (probably KiCad V5) I was doing opening manually and they were shown in 3D view.

so how to make a footprint is what i want?

I don’t think so. Just closed shape made at Edge Cut layer should work.

even if its imported? is there a way to close shapes? and you mean join lines at the end where they overlap?

I don’t know.
I remember reading (when KiCad was V4 or V5) that minimal distance between line ends are tolerated, but later I sow information that ends must be perfectly one on another. In my example I used round values (90, 180 degree arcs) so ends were one on another.

The lines cannot overlap, they have to end - start at the same point, meaning where one ends the next must start.

Also, some imports, I’ve had it with DXF, import two sets of lines, one on top of the other, if you have that then your shapes are not closed, if you have that you will need to delete the duplicate lines.

Post your zipped Project and I’ll take a quick look, might be able to see what is wrong and set you on the right path . . .

https://drive.google.com/drive/folders/1eahHhuJg5HFWFr4n1bbMj5G3GaO74JEY?usp=sharing

I think this would be a better approach . . . if I import your DXF files to a new project that won’t replicate what you have done.

Post your Project zipped . . .

image

Any way . . . I tried and probably have the issue I described with the DXF import . . .

In the 3D viewer . . .

image

. . . in this case it’s not duplicate overlapping lines that’s the problem.

You need to remove the centre marks . . .

image

they are not a “closed shape”. You need to ungroup the imported graphic, to do this: right click on the line . . .

image

. . . then you select the centre marks and delete them.

That fixed it . . .

1 Like

amazing! thanks for your help! now what about the irregular shapes? on the other dxf i gave you. i imagine its just the same process.

thanks again!

I only tried one quickly while at work . . . you can try the other and let us know how it goes. :+1:

1 Like

i will. thank you so much!

1 Like