ln_load_name
ln_load_name
¶
Load Name (LN).¶
Note: The LN command was deprecated in revision I4 from October 2013.
The historic LN
command doesn't influence the image in any manner and can safely be
overlooked.
Function of the LN
command:
- LN
is designed to allocate a name to the following section of the file.
- It was originally conceptualized to serve as a human-readable comment.
- For creating human-readable comments, it's advisable to utilize the standard G04
command.
- The LN
command has the flexibility to be executed multiple times within a file.
SPEC: 2023.03
SECTION: 8.1.6
LoadName
¶
Bases: ExtendedCommandToken
Comment token.
Load Name (LN)¶
Note: The LN command was deprecated in revision I4 from October 2013.
The historic LN
command doesn't influence the image in any manner and can safely
be overlooked.
Function of the LN
command:
- LN
is designed to allocate a name to the following section of the file.
- It was originally conceptualized to serve as a human-readable comment.
- For creating human-readable comments, it's advisable to utilize the standard G04
command.
- The LN
command has the flexibility to be executed multiple times within a file.
See section 8.1.6 of The Gerber Layer Format Specification Revision 2023.03 - https://argmaster.github.io/pygerber/latest/gerber_specification/revision_2023_03.html
Source code in src/pygerber/gerberx3/tokenizer/tokens/ln_load_name.py
new
classmethod
¶
Create instance of this class.
Created to be used as callback in ParserElement.set_parse_action()
.
Source code in src/pygerber/gerberx3/tokenizer/tokens/ln_load_name.py
update_drawing_state
¶
Update drawing state.
Source code in src/pygerber/gerberx3/tokenizer/tokens/ln_load_name.py
parser2_visit_token
¶
Perform actions on the context implicated by this token.
Source code in src/pygerber/gerberx3/tokenizer/tokens/ln_load_name.py
get_gerber_code
¶
Get gerber code represented by this token.