Fritzing produces an incomplete border outline in the .gm1 file

I’ve made a custom PCB shape with cutouts in three of the corners. Here is what it looks like:
Amplifier Circuit_pcb

I’ve gone through the proper procedure with identifying the objects:

When exporting as a gerber file, the .gm1 results in the top border line being unexpectedly omitted:

The manufacturers are complaining about this issue. Is there any idea on how to fix this? I think I could manually fix the .gm1 file, if I were to understand the structure of each line. Could someone please decipher this line:
X7493Y3158D02*

What Fritzing version are you using? The provided svg appears to work correctly on 0.9.10 (the latest version) there were a lot of bugs in this area in earlier versions. This is the contour.gm1 output from the gerbv geber viewer of your svg:

and as you see it looks correct. If you are on an older version of Fritzing upgrade to the latest version. That said, this could be easier done by setting the size of the rectangle in inspector and dragging three holes from core parts in for the mounting holes. The outline svg is usually used for cutouts and oddly shaped pcbs and is generally fairly hard to work with.

Peter

I am using version 0.9.9. I will see about upgrading to the latest version, but I would rather use the outline svg because I have some important content to include on the silkscreen, especially for later versions of this PCB.

That being said, it appears that .gm1 file is not completing the outline. It would be wonderful if I could just add a single line to the file to complete the outline. I’m not sure how these files are structured, but it would seem as though I could just add the origin point somewhere in the file to close it. Here is the gerber file:

G04 MADE WITH FRITZING*
G04 WWW.FRITZING.ORG*
G04 DOUBLE SIDED*
G04 HOLES PLATED*
G04 CONTOUR ON CENTER OF CONTOUR VECTOR*
%ASAXBY*%
%FSLAX23Y23*%
%MOIN*%
%OFA0B0*%
%SFA1.0B1.0*%
%ADD10C,0.005000*%
%ADD10C,0.008*%
%LNCONTOUR*%
G90*
G70*
G54D10*
X7493Y3158D02*
X7494Y3158D01*
X7495Y3158D01*
X7496Y3158D01*
X7497Y3158D01*
X7498Y3158D01*
X7499Y3158D01*
X7500Y3158D01*
X7501Y3158D01*
X7502Y3158D01*
X7503Y3158D01*
X7504Y3158D01*
X7505Y3158D01*
X7506Y3158D01*
X7507Y3157D01*
X7508Y3157D01*
X7509Y3157D01*
X7510Y3157D01*
X7511Y3157D01*
X7512Y3157D01*
X7513Y3156D01*
X7514Y3156D01*
X7515Y3156D01*
X7516Y3156D01*
X7517Y3155D01*
X7518Y3155D01*
X7519Y3155D01*
X7520Y3154D01*
X7521Y3154D01*
X7522Y3153D01*
X7523Y3153D01*
X7524Y3153D01*
X7525Y3152D01*
X7526Y3152D01*
X7527Y3151D01*
X7528Y3151D01*
X7529Y3150D01*
X7530Y3149D01*
X7531Y3149D01*
X7532Y3148D01*
X7533Y3147D01*
X7534Y3147D01*
X7535Y3146D01*
X7536Y3145D01*
X7537Y3144D01*
X7538Y3143D01*
X7539Y3142D01*
X7540Y3142D01*
X7541Y3141D01*
X7541Y3140D01*
X7542Y3139D01*
X7543Y3138D01*
X7544Y3137D01*
X7545Y3136D01*
X7546Y3135D01*
X7546Y3134D01*
X7547Y3133D01*
X7548Y3132D01*
X7548Y3131D01*
X7549Y3130D01*
X7550Y3129D01*
X7550Y3128D01*
X7551Y3127D01*
X7551Y3126D01*
X7552Y3125D01*
X7552Y3123D01*
X7553Y3122D01*
X7553Y3121D01*
X7554Y3120D01*
X7554Y3118D01*
X7555Y3117D01*
X7555Y3114D01*
X7556Y3113D01*
X7556Y3108D01*
X7557Y3107D01*
X7557Y3094D01*
X7556Y3093D01*
X7556Y3088D01*
X7555Y3087D01*
X7555Y3084D01*
X7554Y3083D01*
X7554Y3081D01*
X7553Y3080D01*
X7553Y3079D01*
X7552Y3078D01*
X7552Y3076D01*
X7551Y3075D01*
X7551Y3074D01*
X7550Y3073D01*
X7550Y3072D01*
X7549Y3071D01*
X7548Y3070D01*
X7548Y3069D01*
X7547Y3068D01*
X7546Y3067D01*
X7546Y3066D01*
X7545Y3065D01*
X7544Y3064D01*
X7543Y3063D01*
X7542Y3062D01*
X7541Y3061D01*
X7541Y3060D01*
X7540Y3060D01*
X7539Y3059D01*
X7538Y3058D01*
X7537Y3057D01*
X7536Y3056D01*
X7535Y3055D01*
X7534Y3054D01*
X7533Y3054D01*
X7532Y3053D01*
X7531Y3052D01*
X7530Y3052D01*
X7529Y3051D01*
X7528Y3051D01*
X7527Y3050D01*
X7526Y3049D01*
X7525Y3049D01*
X7524Y3048D01*
X7523Y3048D01*
X7522Y3048D01*
X7521Y3047D01*
X7520Y3047D01*
X7519Y3046D01*
X7518Y3046D01*
X7517Y3046D01*
X7516Y3045D01*
X7515Y3045D01*
X7514Y3045D01*
X7513Y3045D01*
X7512Y3044D01*
X7511Y3044D01*
X7510Y3044D01*
X7509Y3044D01*
X7508Y3044D01*
X7507Y3044D01*
X7506Y3043D01*
X7505Y3043D01*
X7504Y3043D01*
X7503Y3043D01*
X7502Y3043D01*
X7501Y3043D01*
X7500Y3043D01*
X7499Y3043D01*
X7498Y3043D01*
X7497Y3043D01*
X7496Y3043D01*
X7495Y3043D01*
X7494Y3043D01*
X7493Y3043D01*
X7492Y3044D01*
X7491Y3044D01*
X7490Y3044D01*
X7489Y3044D01*
X7488Y3044D01*
X7487Y3044D01*
X7486Y3045D01*
X7485Y3045D01*
X7484Y3045D01*
X7483Y3045D01*
X7482Y3046D01*
X7481Y3046D01*
X7480Y3046D01*
X7479Y3047D01*
X7478Y3047D01*
X7477Y3048D01*
X7476Y3048D01*
X7475Y3048D01*
X7474Y3049D01*
X7473Y3049D01*
X7472Y3050D01*
X7471Y3051D01*
X7470Y3051D01*
X7469Y3052D01*
X7468Y3052D01*
X7467Y3053D01*
X7466Y3054D01*
X7465Y3054D01*
X7464Y3055D01*
X7463Y3056D01*
X7462Y3057D01*
X7461Y3058D01*
X7460Y3059D01*
X7459Y3060D01*
X7458Y3061D01*
X7457Y3062D01*
X7456Y3063D01*
X7455Y3064D01*
X7454Y3065D01*
X7453Y3066D01*
X7453Y3067D01*
X7452Y3068D01*
X7451Y3069D01*
X7451Y3070D01*
X7450Y3071D01*
X7450Y3072D01*
X7449Y3073D01*
X7448Y3074D01*
X7448Y3075D01*
X7447Y3076D01*
X7447Y3078D01*
X7446Y3079D01*
X7446Y3080D01*
X7445Y3081D01*
X7445Y3083D01*
X7444Y3084D01*
X7444Y3087D01*
X7443Y3088D01*
X7443Y3093D01*
X7442Y3094D01*
X7442Y3107D01*
X7443Y3108D01*
X7443Y3113D01*
X7444Y3114D01*
X7444Y3117D01*
X7445Y3118D01*
X7445Y3120D01*
X7446Y3121D01*
X7446Y3122D01*
X7447Y3123D01*
X7447Y3125D01*
X7448Y3126D01*
X7448Y3127D01*
X7449Y3128D01*
X7450Y3129D01*
X7450Y3130D01*
X7451Y3131D01*
X7451Y3132D01*
X7452Y3133D01*
X7453Y3134D01*
X7453Y3135D01*
X7454Y3136D01*
X7455Y3137D01*
X7456Y3138D01*
X7457Y3139D01*
X7458Y3140D01*
X7459Y3141D01*
X7460Y3142D01*
X7461Y3143D01*
X7462Y3144D01*
X7463Y3145D01*
X7464Y3146D01*
X7465Y3147D01*
X7466Y3147D01*
X7467Y3148D01*
X7468Y3149D01*
X7469Y3149D01*
X7470Y3150D01*
X7471Y3150D01*
X7472Y3151D01*
X7473Y3152D01*
X7474Y3152D01*
X7475Y3153D01*
X7476Y3153D01*
X7477Y3153D01*
X7478Y3154D01*
X7479Y3154D01*
X7480Y3155D01*
X7481Y3155D01*
X7482Y3155D01*
X7483Y3156D01*
X7484Y3156D01*
X7485Y3156D01*
X7486Y3156D01*
X7487Y3157D01*
X7488Y3157D01*
X7489Y3157D01*
X7490Y3157D01*
X7491Y3157D01*
X7492Y3157D01*
X7493Y3158D01*
D02*
X93Y158D02*
X94Y158D01*
X95Y158D01*
X96Y158D01*
X97Y158D01*
X98Y158D01*
X99Y158D01*
X100Y158D01*
X101Y158D01*
X102Y158D01*
X103Y158D01*
X104Y158D01*
X105Y158D01*
X106Y158D01*
X107Y157D01*
X108Y157D01*
X109Y157D01*
X110Y157D01*
X111Y157D01*
X112Y157D01*
X113Y156D01*
X114Y156D01*
X115Y156D01*
X116Y156D01*
X117Y155D01*
X118Y155D01*
X119Y155D01*
X120Y154D01*
X121Y154D01*
X122Y153D01*
X123Y153D01*
X124Y153D01*
X125Y152D01*
X126Y152D01*
X127Y151D01*
X128Y150D01*
X129Y150D01*
X130Y149D01*
X131Y149D01*
X132Y148D01*
X133Y147D01*
X134Y147D01*
X135Y146D01*
X136Y145D01*
X137Y144D01*
X138Y143D01*
X139Y142D01*
X140Y141D01*
X141Y140D01*
X142Y139D01*
X143Y138D01*
X144Y137D01*
X145Y136D01*
X146Y135D01*
X146Y134D01*
X147Y133D01*
X148Y132D01*
X148Y131D01*
X149Y130D01*
X149Y129D01*
X150Y128D01*
X151Y127D01*
X151Y126D01*
X152Y125D01*
X152Y123D01*
X153Y122D01*
X153Y121D01*
X154Y120D01*
X154Y118D01*
X155Y117D01*
X155Y114D01*
X156Y113D01*
X156Y108D01*
X157Y107D01*
X157Y94D01*
X156Y93D01*
X156Y88D01*
X155Y87D01*
X155Y84D01*
X154Y83D01*
X154Y81D01*
X153Y80D01*
X153Y79D01*
X152Y78D01*
X152Y76D01*
X151Y75D01*
X151Y74D01*
X150Y73D01*
X149Y72D01*
X149Y71D01*
X148Y70D01*
X148Y69D01*
X147Y68D01*
X146Y67D01*
X146Y66D01*
X145Y65D01*
X144Y64D01*
X143Y63D01*
X142Y62D01*
X141Y61D01*
X140Y60D01*
X139Y59D01*
X138Y58D01*
X137Y57D01*
X136Y56D01*
X135Y55D01*
X134Y54D01*
X133Y54D01*
X132Y53D01*
X131Y52D01*
X130Y52D01*
X129Y51D01*
X128Y51D01*
X127Y50D01*
X126Y49D01*
X125Y49D01*
X124Y48D01*
X123Y48D01*
X122Y48D01*
X121Y47D01*
X120Y47D01*
X119Y46D01*
X118Y46D01*
X117Y46D01*
X116Y45D01*
X115Y45D01*
X114Y45D01*
X113Y45D01*
X112Y44D01*
X111Y44D01*
X110Y44D01*
X109Y44D01*
X108Y44D01*
X107Y44D01*
X106Y43D01*
X105Y43D01*
X104Y43D01*
X103Y43D01*
X102Y43D01*
X101Y43D01*
X100Y43D01*
X99Y43D01*
X98Y43D01*
X97Y43D01*
X96Y43D01*
X95Y43D01*
X94Y43D01*
X93Y43D01*
X92Y44D01*
X91Y44D01*
X90Y44D01*
X89Y44D01*
X88Y44D01*
X87Y44D01*
X86Y45D01*
X85Y45D01*
X84Y45D01*
X83Y45D01*
X82Y46D01*
X81Y46D01*
X80Y46D01*
X79Y47D01*
X78Y47D01*
X77Y48D01*
X76Y48D01*
X75Y48D01*
X74Y49D01*
X73Y49D01*
X72Y50D01*
X71Y51D01*
X70Y51D01*
X69Y52D01*
X68Y52D01*
X67Y53D01*
X66Y54D01*
X65Y54D01*
X64Y55D01*
X63Y56D01*
X62Y57D01*
X61Y58D01*
X60Y59D01*
X59Y60D01*
X58Y60D01*
X58Y61D01*
X57Y62D01*
X56Y63D01*
X55Y64D01*
X54Y65D01*
X53Y66D01*
X53Y67D01*
X52Y68D01*
X51Y69D01*
X51Y70D01*
X50Y71D01*
X50Y72D01*
X49Y73D01*
X48Y74D01*
X48Y75D01*
X47Y76D01*
X47Y78D01*
X46Y79D01*
X46Y80D01*
X45Y81D01*
X45Y83D01*
X44Y84D01*
X44Y87D01*
X43Y88D01*
X43Y93D01*
X42Y94D01*
X42Y107D01*
X43Y108D01*
X43Y113D01*
X44Y114D01*
X44Y117D01*
X45Y118D01*
X45Y120D01*
X46Y121D01*
X46Y122D01*
X47Y123D01*
X47Y125D01*
X48Y126D01*
X48Y127D01*
X49Y128D01*
X49Y129D01*
X50Y130D01*
X51Y131D01*
X51Y132D01*
X52Y133D01*
X53Y134D01*
X53Y135D01*
X54Y136D01*
X55Y137D01*
X56Y138D01*
X57Y139D01*
X58Y140D01*
X58Y141D01*
X59Y142D01*
X60Y142D01*
X61Y143D01*
X62Y144D01*
X63Y145D01*
X64Y146D01*
X65Y147D01*
X66Y147D01*
X67Y148D01*
X68Y149D01*
X69Y149D01*
X70Y150D01*
X71Y151D01*
X72Y151D01*
X73Y152D01*
X74Y152D01*
X75Y153D01*
X76Y153D01*
X77Y153D01*
X78Y154D01*
X79Y154D01*
X80Y155D01*
X81Y155D01*
X82Y155D01*
X83Y156D01*
X84Y156D01*
X85Y156D01*
X86Y156D01*
X87Y157D01*
X88Y157D01*
X89Y157D01*
X90Y157D01*
X91Y157D01*
X92Y157D01*
X93Y158D01*
D02*
X7493Y158D02*
X7494Y158D01*
X7495Y158D01*
X7496Y158D01*
X7497Y158D01*
X7498Y158D01*
X7499Y158D01*
X7500Y158D01*
X7501Y158D01*
X7502Y158D01*
X7503Y158D01*
X7504Y158D01*
X7505Y158D01*
X7506Y158D01*
X7507Y157D01*
X7508Y157D01*
X7509Y157D01*
X7510Y157D01*
X7511Y157D01*
X7512Y157D01*
X7513Y156D01*
X7514Y156D01*
X7515Y156D01*
X7516Y156D01*
X7517Y155D01*
X7518Y155D01*
X7519Y155D01*
X7520Y154D01*
X7521Y154D01*
X7522Y153D01*
X7523Y153D01*
X7524Y153D01*
X7525Y152D01*
X7526Y152D01*
X7527Y151D01*
X7528Y151D01*
X7529Y150D01*
X7530Y149D01*
X7531Y149D01*
X7532Y148D01*
X7533Y147D01*
X7534Y147D01*
X7535Y146D01*
X7536Y145D01*
X7537Y144D01*
X7538Y143D01*
X7539Y142D01*
X7540Y142D01*
X7541Y141D01*
X7541Y140D01*
X7542Y139D01*
X7543Y138D01*
X7544Y137D01*
X7545Y136D01*
X7546Y135D01*
X7546Y134D01*
X7547Y133D01*
X7548Y132D01*
X7548Y131D01*
X7549Y130D01*
X7550Y129D01*
X7550Y128D01*
X7551Y127D01*
X7551Y126D01*
X7552Y125D01*
X7552Y123D01*
X7553Y122D01*
X7553Y121D01*
X7554Y120D01*
X7554Y118D01*
X7555Y117D01*
X7555Y114D01*
X7556Y113D01*
X7556Y108D01*
X7557Y107D01*
X7557Y94D01*
X7556Y93D01*
X7556Y88D01*
X7555Y87D01*
X7555Y84D01*
X7554Y83D01*
X7554Y81D01*
X7553Y80D01*
X7553Y79D01*
X7552Y78D01*
X7552Y76D01*
X7551Y75D01*
X7551Y74D01*
X7550Y73D01*
X7549Y72D01*
X7549Y71D01*
X7548Y70D01*
X7548Y69D01*
X7547Y68D01*
X7546Y67D01*
X7546Y66D01*
X7545Y65D01*
X7544Y64D01*
X7543Y63D01*
X7542Y62D01*
X7541Y61D01*
X7541Y60D01*
X7540Y60D01*
X7539Y59D01*
X7538Y58D01*
X7537Y57D01*
X7536Y56D01*
X7535Y55D01*
X7534Y54D01*
X7533Y54D01*
X7532Y53D01*
X7531Y52D01*
X7530Y52D01*
X7529Y51D01*
X7528Y51D01*
X7527Y50D01*
X7526Y49D01*
X7525Y49D01*
X7524Y48D01*
X7523Y48D01*
X7522Y48D01*
X7521Y47D01*
X7520Y47D01*
X7519Y46D01*
X7518Y46D01*
X7517Y46D01*
X7516Y45D01*
X7515Y45D01*
X7514Y45D01*
X7513Y45D01*
X7512Y44D01*
X7511Y44D01*
X7510Y44D01*
X7509Y44D01*
X7508Y44D01*
X7507Y44D01*
X7506Y43D01*
X7505Y43D01*
X7504Y43D01*
X7503Y43D01*
X7502Y43D01*
X7501Y43D01*
X7500Y43D01*
X7499Y43D01*
X7498Y43D01*
X7497Y43D01*
X7496Y43D01*
X7495Y43D01*
X7494Y43D01*
X7493Y43D01*
X7492Y44D01*
X7491Y44D01*
X7490Y44D01*
X7489Y44D01*
X7488Y44D01*
X7487Y44D01*
X7486Y45D01*
X7485Y45D01*
X7484Y45D01*
X7483Y45D01*
X7482Y46D01*
X7481Y46D01*
X7480Y46D01*
X7479Y47D01*
X7478Y47D01*
X7477Y48D01*
X7476Y48D01*
X7475Y48D01*
X7474Y49D01*
X7473Y49D01*
X7472Y50D01*
X7471Y51D01*
X7470Y51D01*
X7469Y52D01*
X7468Y52D01*
X7467Y53D01*
X7466Y54D01*
X7465Y54D01*
X7464Y55D01*
X7463Y56D01*
X7462Y57D01*
X7461Y58D01*
X7460Y59D01*
X7459Y60D01*
X7458Y61D01*
X7457Y62D01*
X7456Y63D01*
X7455Y64D01*
X7454Y65D01*
X7453Y66D01*
X7453Y67D01*
X7452Y68D01*
X7451Y69D01*
X7451Y70D01*
X7450Y71D01*
X7450Y72D01*
X7449Y73D01*
X7448Y74D01*
X7448Y75D01*
X7447Y76D01*
X7447Y78D01*
X7446Y79D01*
X7446Y80D01*
X7445Y81D01*
X7445Y83D01*
X7444Y84D01*
X7444Y87D01*
X7443Y88D01*
X7443Y93D01*
X7442Y94D01*
X7442Y107D01*
X7443Y108D01*
X7443Y113D01*
X7444Y114D01*
X7444Y117D01*
X7445Y118D01*
X7445Y120D01*
X7446Y121D01*
X7446Y122D01*
X7447Y123D01*
X7447Y125D01*
X7448Y126D01*
X7448Y127D01*
X7449Y128D01*
X7450Y129D01*
X7450Y130D01*
X7451Y131D01*
X7451Y132D01*
X7452Y133D01*
X7453Y134D01*
X7453Y135D01*
X7454Y136D01*
X7455Y137D01*
X7456Y138D01*
X7457Y139D01*
X7458Y140D01*
X7459Y141D01*
X7460Y142D01*
X7461Y143D01*
X7462Y144D01*
X7463Y145D01*
X7464Y146D01*
X7465Y147D01*
X7466Y147D01*
X7467Y148D01*
X7468Y149D01*
X7469Y149D01*
X7470Y150D01*
X7471Y150D01*
X7472Y151D01*
X7473Y152D01*
X7474Y152D01*
X7475Y153D01*
X7476Y153D01*
X7477Y153D01*
X7478Y154D01*
X7479Y154D01*
X7480Y155D01*
X7481Y155D01*
X7482Y155D01*
X7483Y156D01*
X7484Y156D01*
X7485Y156D01*
X7486Y156D01*
X7487Y157D01*
X7488Y157D01*
X7489Y157D01*
X7490Y157D01*
X7491Y157D01*
X7492Y157D01*
X7493Y158D01*
D02*
G54D10*
X0Y3200D02*
X0Y0D01*
X7600Y0D01*
X7600Y3200D01*
D02*
G04 End of contour*
M02*

I appreciate your response time, and I will let you know about updating to the latest version.

Is 0.9.10 not free open source?

If you search the forums you should find the earlier posts on this subject. As I recall the problem was that the ending z (or Z) in the path was not completing in Fritzing. @microMerlin had a work around that would fix that by manually editing the path. That said, I just ran your svg through Fritzing 0.9.9 on Win10 and it also renders correctly so an upgrade may not help:

0.9.9

I usually struggle with these as I don’t know that much about svg paths. Someone else may have a better suggestion.

Peter