Here’s the exception:
It’s in the std C++ library, but it throws again trying to generate a stack trace and kills the debugger. However, I think I did discover the issue: the layer popup in the Import DXF File dialog defaults to Dwgs_User, but if your board doesn’t define that layer then it gets set to undefined and causes the exception. Cheers, Jeff. > On 23 Jul 2018, at 10:46, jp charras <[email protected]> wrote: > > Le 22/07/2018 à 23:53, Jeff Young a écrit : >> Hi JP, >> >> I get an exception when trying to import the various BoardOnly_* files from >> https://bugs.launchpad.net/kicad/+bug/1594607 >> <https://bugs.launchpad.net/kicad/+bug/1594607>. >> >> Cheers, >> Jeff. > > Thanks Jeff, for your test. > > I tested these imports both on W7 32 and Linux 64bits (Ubuntu 14 LTS), and I > do not have any assert > or exception. > > Could it be a OSX specific issue? > Have you a backtrace? > >> >> >>> On 22 Jul 2018, at 19:32, jp charras <[email protected]> wrote: >>> >>> Hi All, >>> >>> I just committed a large change related to DXF import: >>> >>> - The old DXF library is replaced by a new library. It is 8 times smaller >>> and when running a static >>> analyzer (cppcheck) I have only minor warnings (not initialized vars and >>> shadowed vars) I have fixed >>> (The previous DXF lib had a lot of serious warnings/errors). >>> - I added the import of b-splines, used in "recent" dxf files. >>> - They are converted to Bezier Curves, supported by Pcbnew since a long >>> time, but not really used. >>> - I fixed many bugs related to Bezier Curves in Kicad (especially when a >>> Bezier Curve was used in >>> footprints). >>> - I added the missing code related to Bezier Curves support (optimization, >>> bounding box, Hit test, >>> plot, editing ...) >>> - AFAIK, Bezier curves can be also created from Eagle files import (can >>> someone who know Eagle >>> confirm that?) >>> >>> Now, I need volunteers to test the DXF file import both in board editor and >>> footprint editor, before >>> committing these changes in 5.1 branch. >>> >>> Remember only basic dxf items are imported, because the purpose of dxf >>> import is to allow user to >>> draw a board/footprint outline, and Pcbnew is not a MCAD tool. >>> >>> Note: >>> - The board file format is not modified, because Bezier curves exist since >>> a long time in Pcbnew. >>> - One cannot create a Bezier curve inside Pcbnew: they can be only imported. >>> - Currently, Bezier curves cannot be used to create a custom shaped pad. >>> >>> Thanks. >>> >>> -- >>> Jean-Pierre CHARRAS >>> > > > -- > Jean-Pierre CHARRAS > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > <https://launchpad.net/~kicad-developers> > Post to : [email protected] > <mailto:[email protected]> > Unsubscribe : https://launchpad.net/~kicad-developers > <https://launchpad.net/~kicad-developers> > More help : https://help.launchpad.net/ListHelp > <https://help.launchpad.net/ListHelp>
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

