My bad! I somehow skipped two posts.
I am sure in v4 there was an option to import DXF as outline or filled. That option seems to have gone in v5 (and 5.99). I haven’t checked in the source code but I guess there is a line property KiCad looks at instead.
It may also be why I went for a script.
Any suggestions on where the problem might be, and how to correct it?
I seemed to have solved the Edge.Cuts problem. I discovered that two additional rectangles defining the board size had somehow gotten placed on top of the first one. Upon deleting two of them, I no longer get the Edge.Cuts error in 3D view, but the other problems remain.
Took a look at this, and I was lost on the very first line of instruction, “install python”. I know nothing about python beyond it being a programming language used in writing scripts. So to those who aren’t programmers, and have no idea how to install or use python, this is completely unusable without more detailed step by step instructions for the average person.
Given the behavior of other programs that I attempted to open and view the DXF R12 file with, it is possible that Inkscape is not saving the DXF R12 file correctly, but I have no other way to confirm this beyond what I had described above.
If you installed KiCad, you can install python almost as easily. Google, read, click, install
Of course I am aware of that. That’s why we have a friendly support forum
I was banging my head trying to find this option also, I remembered that there was someting like that… it turns out it is an option of the DXF exporter
I wasn’t able to find that plot dialog that you mention in the other thread. At least in the version of KiCAD that I have, there is no export function to DXF, or any obvious apparent way to bring up that plot dialog. I did try that copy / paste method that was described there. I did work as far as being able to copy and paste from one instance of the program to another, but the pasted result is still unfilled traces that are unable to be filled.
My first sentence in first answer to your question (8 days and 73 posts ago) was:
Are you still sure that you have chosen the easiest way to achieve the goal of making
I suppose (we didn’t sow your schematics yet) that experienced KiCad user (I’m not - specially I have no experience in using KiCad library with footprint selection stage in the process) may be would be able to do it in one day (having the cheat sheet with placement and routing ready).
I also suppose that after 8 days you could be now close to finishing them.
At the same time experience got with KiCad use normal way would be much more useful then experience got using KiCad your way, I think.
So while waiting for any responses that may be useful in figuring out what’s wrong, I decided to try the last resort solution with board number 2 since the design is the most simple of the three boards that I need, it is not much more than some rectangles with plated through holes in some of them. So I totally redrew the board in KiCAD, with each rectangle and the unetched groundplane on the back of the board being zones, and dropped in the plated through holes. I am now able to turn the filled view on and off, and see where the copper is supposed to be. But in the 3D view, I get this:
Is this how it is supposed to look in the 3D view? I don’t see any rectangles of copper!
Hey, what do you know! I just tried that, and I don’t think that it worked properly. Would you like to know how many hours I just spent taking your advice?
I’m very rapidly coming to the conclusion that ordering boards from a board house is NOT the easiest way. That is exactly correct, in the amount of time I have spent trying to make gerber files, I could have built an electroplating rig and have finished the boards by now (if I had all the propert materials on hand, including the board substrates) by methods that have been proven to actually work.
Because you keep refusing to do it properly, despite all the advice given in this thread.
Here is one of my test boards I have done with KiCad:
As I use 3D viewer to test PCB I assumed that in most cases it shows it correctly.
The only bug in 3D view I have noticed, you can see here. The 3D viewer does not notice that the edge is broken by the holes and paints the edge where there is none.
I have never placed copper as you do it so I had never chance to notice that 3D viewer probably don’t shows it at all.
If you tried and you don’t think it worked properly then why you asked 0 questions about how to use KiCad properly?
Seeing no such questions I have a right to assume that you just didn’t tried, I think.
Because you keep refusing to do it properly, despite all the advice given in this thread.
And who are you to say what is proper, and what is not? I don’t remember you attempting to contribute anything useful here.
If you tried and you don’t think it worked properly then why you asked 0 questions about how to use KiCad properly?
You apparently haven’t noticed that I’ve been asking an entire threads’ worth of questions, you’ve been too busy being more persistently discouraging than anyone else here. Do you troll and attempt to derail constructive discussion in every thread, as you have done here?
Again, many thanks to those who have attempted to offer useful advice on getting the import function to actually work. Any further attempts would be much appreciated.
Hmm, maybe I imagined it, not sure if I have a copy of v4 somewhere.
Anyway, I’ve been googling It seems that creating filled polys is actually a common DXF question. To create solid areas, HATCH attribute can be used.
So I created a test file in LibreCad, but the hatched poly is not imported by KiCad, only the polyline.
It appears that designing layouts in DXF and importing directly to KiCad is not a viable method.
test_hatch.dxf (19.0 KB)
Do you troll and attempt to derail constructive discussion in every thread, as you have done here?
I did everything in my power to put your thinking on the right track. But if it doesn’t suit you then I’m out.
I wish you a lot of fun solving the problems you create for yourself.
And who are you to say what is proper, and what is not? I don’t remember you attempting to contribute anything useful here.
I agree with chschlue, Piotr and the others here. As far as I understand you are still trying to use KiCad as a general mechanical CAD program with some features added such as holes in a PCB. As long as you keep doing that, your progress will be a slow and unpleasant experience for you.
This thread is also dragging on much to long, and getting a bit confusing. I just now noticed it was started by ronsimpson, and 2 weeks later hijacked by GoldenAge. (And this explains why GoldenAge was not able to upload a screenshot)
This thread also seems to be derailing, there are clearly some frustrations growing by different people (including me!).
KiCad works pretty well if you use it as it is intended to use, and that is:
- Draw a schematic.
- Assign footprints.
- Port it to Pcbnew.
- Make a PCB.
Note that there is no mention of DXF files in this workflow. DXF import is mostly meant to be some simple graphics and things like for example the PCB outline, but not for copper features.
If you try to import DXF and use that as copper, you are (almost certainly) abusing KiCad. And if you’re a beginner with KiCad, then you can scrap the “almost” from the previous sentence.
The best advice I can give is to (for the near future) forget about DXF import, and first learn how to use the normal workflow in KiCad.
I think we all tried our best, but we have to accept that not everyone can be helped.
Anyway, I’ve been googling It seems that creating filled polys is actually a common DXF question. To create solid areas, HATCH attribute can be used.
So I created a test file in LibreCad, but the hatched poly is not imported by KiCad, only the polyline.
Interesting! This appears to confirm what I had postulated the problem was, that the shapes were losing their fill somewhere between being saved as a DXF R12 in Inkscape, and importation into KiCAD.
It appears that designing layouts in DXF and importing directly to KiCad is not a viable method.
I don’t know enough about this so say whether it would be viable or not, but perhaps going back to this:
you will need to change all the text “Dwgs.Users” to “F.Cu” from the lines drawing lines (gr_line):
and thinking along these same lines might offer a possible solution. Since zones can apparently be either filled or unfilled, might it be possible to edit the _pcb file to consider the DXF R12 import shapes as zones, and therefore allow them to be filled? A vector is a vector, there is another piece of additional information that should be contained somewhere in the file to indicate whether or not the shapes are filled. The question is, what and where is it?
Some tips for DXF->Gerber conversion
https://www.numericalinnovations.com/blogs/news/6116174-dxf-dwg-to-gerber-conversion-guidelines
From the quoted article:
"It is estimated over 10% of all PCB/RF electronic layouts are still designed using AutoCAD or other similar CAD tools (like SolidWorks, ProE, etc). Why?
The power of AutoCAD is that it supports a wide array of entities types which can be used to construct various electronic designs from the simplest PCB to the most extremely complex RF/Microwave circuit, MEMs design, chemical milling artwork, or other high-end electronic layout. Designers generally choose to layout their designs in AutoCAD when existing EDA/CAD tools do not possess the capabilities to meet unique geometrical requirements."
I did everything in my power to put your thinking on the right track
I suppose that over 10% of those doing board design don’t think correctly.
I’m out.
Thank you.
As far as I understand you are still trying to use KiCad as a general mechanical CAD program with some features added such as holes in a PCB
If over 10% of the people out there are taking a similar approach to their workflow, then it obviously has merit, regardless of your opinion.
I just now noticed it was started by ronsimpson, and 2 weeks later hijacked by GoldenAge.
So asking about the same topic in an existing thread rather than starting a new one is now hijacking? I always thought that was proper forum conduct. Nice attempt at a personal attack.
(And this explains why GoldenAge was not able to upload a screenshot)
You apparently missed me doing it after someone had explained how, you’re obviously too busy being persistently discouraging.
This thread is also dragging on much to long
It would be shorter without those who are only here to attempt discouragement rather than contribute anything constructive.
The only real reason to use a DXF is for a board outline or to describe some sort of RF feature.
Some people try to reverse engineer boards - usually to get some sort of faithful reproduction and this is always going to be a somewhat painful process whatever EDA you use - Mentor Graphics/Altium/Horizon whatever - none of these will make reverse engineering a board easy.
The general frustration is that you have already got the design that you need so you really don’t need to go to the lengths that you seem determined to. Just follow a simple project tutorial through from beginning to end and you will see for the type of design I think you are talking about - a few through hole components - that just laying out a schematic and following through with component selection, placement and routing is pretty straightforward. My feeling is that you feel that you have invested so long in the design that you think that redoing it in KiCad will take longer than your import DXF route whilst the reverse is almost certainly true. Unless you have some very specific RF feature on your board, I would encourage you to abandon this route. Even then, you would be well advised to selectively use the DXF to guide the RF feature, not the whole board. Importing DXFs is always going to be pretty niche.
Please just try using the software with a path for which it is optimised. Your complaint that it ‘doesn’t work when I use it this way’ like complaining that a screwdriver is useless for driving 6" nails.