KiCad is used for circuit design. If you have a board larger than KiCad supports and you’re seriously considering manufacturing it, you are swimming in money and can afford to pay for development to fix it for you on your own fork. It will still be cheaper than most alternatives. That’s the benefit of open source. You can just hire someone to make it do exactly what you want, leveraging a huge and expensive code base.

Otherwise you have no need for any of it and I worry it’s some elaborate way to waste time and resources of the project.

Do you have a practical use case? Explain.

If all you want is to import a large DXF and scale it down during import, that can be done easily without reworking KiCad, just a change to the import plugin to add that option if it’s not there. Trivial stuff. But you didn’t ask about that. You asked to grow KiCad PCB size limits. That’s an important distinction. The latter is a monumental effort, the former is an afternoon’s worth of work. 

You can rescale the DXF down in Inkscape or AutoCad etc. before import as a workaround. 

I don’t speak for anyone else but myself, just to make it clear.

- Kuba

25. nov. 2024 kl. 11:07 am skrev Liang Jia <[email protected]>:


Hi All,

I am writing to inquire about the challenges we are facing when importing DXF files which contain large numbers into our system. 

I have noticed that when the number exceeds a certain threshold(such as 4437 mm), the import process results in an int overflow error.

I did the search below:
1. Found that there was a ticket to track it, but it seems it still opens.

2. From the Kicad document:
The internal measurement resolution of all objects in KiCad is 1 nanometer, and measurements are stored as 32-bit integers. This means it is possible to create boards up to approximately 4 meters by 4 meters
I think the root cause is here: Kicad tried to convert the DXF number into nanometer, but those numbers exceeded the limit of integer.

Questions:
1. Is there any workaround for this case, and let Kicad import those files successfully?
2. If I want to fix ticket 12392, what should I do?
    Change the measurement store from 32-bit to 64-bit, so Kicad can support a larger board.
    Change the resolution of all objects to mm

Looking forward to any comment or workaround.

Sincerely
Liang

--
You received this message because you are subscribed to the Google Groups "KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/kicad.org/d/msgid/devlist/CAE0Ak8bd%3DgDwW%3DDWVXH-TKj%3Dr4nsgW370aNqB6PbP7T8b2QU6A%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/kicad.org/d/msgid/devlist/E8C1332E-CE75-4C42-8255-D9E6C9E4DF02%40mareimbrium.org.

Reply via email to