Skip to content

Bump APERTURE_PARAMETERS_MAX to 10006#172

Merged
ooxi merged 1 commit intogerbv:mainfrom
jaseg:pr-macro-params
May 26, 2023
Merged

Bump APERTURE_PARAMETERS_MAX to 10006#172
ooxi merged 1 commit intogerbv:mainfrom
jaseg:pr-macro-params

Conversation

@jaseg
Copy link
Copy Markdown

@jaseg jaseg commented Apr 29, 2023

Previously, this was set to only 102 and referenced an outdated version of the Gerber file format specification. As of revision 2021.02, the Gerber file format specification lists the maximum vertex count of an aperture macro outline as 5000, and thus the largest possible outline macro might have 10006 parameters.

Spec: https://www.ucamco.com/files/downloads/file_en/416/the-gerber-file-format-specification-revision-2020-09-update_en.pdf#page=62

Section 4.5.1.6:

The maximum number of vertices is 5000. The purpose of this primitive is to create apertures to
flash pads with special shapes. The purpose is not to create copper pours. Use the region
statement for copper pours; see 4.10

Previously, this was set to only 102 and referenced an outdated version
of the Gerber file format specification. As of revision 2021.02, the
Gerber file format specification lists the maximum vertex count of an
aperture macro outline as 5000, and thus the largest possible outline
macro might have 10006 parameters.
@eyal0
Copy link
Copy Markdown
Collaborator

eyal0 commented May 1, 2023

This is related to #171

@ooxi
Copy link
Copy Markdown
Contributor

ooxi commented May 26, 2023

Reintegrated as 1364c29, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants