hi,
I had a "strange" PCB layer that on open show the following error in Messages tab:

"Number of parameters to aperture macro (129) are more than gerbv is able to store (102)"

see linked:
https://drive.google.com/open?id=13SQqcVJ4muES1R9F5_FL-SjgPl-E-yaX


Looking at the spec revision 2018.11, par. 4.5.4.6 "Outline, Code 4", pag.60, say "The maximum number of vertices is 5000"

I tested with:

93:gerbv.h
#define APERTURE_PARAMETERS_MAX 10002

and memory allocation is not so different to comply with the spec.
With the attached patch Gerbv work as expected in all 4 rendering modes.

see attached: gerbv_2.6Agit+patch_shot.7z

--
Valerio

Attachment: 0001-let-use-up-to-5000-point-in-polygon-for-aperture-mac.tgz
Description: application/compressed-tar

Attachment: gerbv_2.6Agit+patch_shot.7z
Description: application/7z-compressed

_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to