KiCad PCB EDA Suite
gbr_plotter_aperture_macros.h File Reference

specialized plotter for GERBER files format More...

Go to the source code of this file.

Macros

#define APER_MACRO_ROUNDRECT_NAME   "RoundRect"
 
#define APER_MACRO_ROUNDRECT_HEADER   "%AMRoundRect*\n\0 Rectangle with rounded corners*\n\0 $1 Rounding radius*\n\0 $2 $3 $4 $5 $6 $7 $8 $9 X,Y pos of 4 corners*\n\0 Add a 4 corners polygon primitive as box body*\n\4,1,4,$2,$3,$4,$5,$6,$7,$8,$9,$2,$3,0*\n\0 Add four circle primitives for the rounded corners*\n\1,1,$1+$1,$2,$3*\n\1,1,$1+$1,$4,$5*\n\1,1,$1+$1,$6,$7*\n\1,1,$1+$1,$8,$9*\n\0 Add four rect primitives between the rounded corners*\n\20,1,$1+$1,$2,$3,$4,$5,0*\n\20,1,$1+$1,$4,$5,$6,$7,0*\n\20,1,$1+$1,$6,$7,$8,$9,0*\n\20,1,$1+$1,$8,$9,$2,$3,0*\%\n"
 
#define APER_MACRO_ROT_RECT_NAME   "RotRect"
 
#define APER_MACRO_ROT_RECT_HEADER   "%AMRotRect*\n\0 Rectangle, with rotation*\n\0 The origin of the aperture is its center*\n\0 $1 length*\n\0 $2 width*\n\0 $3 Rotation angle, in degrees counterclockwise*\n\0 Add horizontal line*\n\21,1,$1,$2,0,0,$3*%\n"
 
#define APER_MACRO_SHAPE_OVAL_NAME   "HorizOval"
 
#define APER_MACRO_SHAPE_OVAL_HEADER   "%AMHorizOval*\n\0 Thick line with rounded ends*\n\0 $1 width*\n\0 $2 $3 position (X,Y) of the first rounded end (center of the circle)*\n\0 $4 $5 position (X,Y) of the second rounded end (center of the circle)*\n\0 Add line between two ends*\n\20,1,$1,$2,$3,$4,$5,0*\n\0 Add two circle primitives to create the rounded ends*\n\1,1,$1,$2,$3*\n\1,1,$1,$4,$5*%\n"
 
#define APER_MACRO_OUTLINE4P_NAME   "Outline4P"
 
#define APER_MACRO_OUTLINE4P_HEADER   "%AMOutline4P*\n\0 Free polygon, 4 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 4*\n\0 $1 to $8 corner X, Y*\n\0 $9 Rotation angle, in degrees counterclockwise*\n\0 create outline with 4 corners*\n\4,1,4,$1,$2,$3,$4,$5,$6,$7,$8,$1,$2,$9*%\n"
 
#define APER_MACRO_OUTLINE5P_NAME   "Outline5P"
 
#define APER_MACRO_OUTLINE5P_HEADER   "%AMOutline5P*\n\0 Free polygon, 5 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 5*\n\0 $1 to $10 corner X, Y*\n\0 $11 Rotation angle, in degrees counterclockwise*\n\0 create outline with 5 corners*\n\4,1,5,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$1,$2,$11*%\n"
 
#define APER_MACRO_OUTLINE6P_NAME   "Outline6P"
 
#define APER_MACRO_OUTLINE6P_HEADER   "%AMOutline6P*\n\0 Free polygon, 6 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 6*\n\0 $1 to $12 corner X, Y*\n\0 $13 Rotation angle, in degrees counterclockwise*\n\0 create outline with 6 corners*\n\4,1,6,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$1,$2,$13*%\n"
 
#define APER_MACRO_OUTLINE7P_NAME   "Outline7P"
 
#define APER_MACRO_OUTLINE7P_HEADER   "%AMOutline7P*\n\0 Free polygon, 7 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 7*\n\0 $1 to $14 corner X, Y*\n\0 $15 Rotation angle, in degrees counterclockwise*\n\0 create outline with 7 corners*\n\4,1,7,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$1,$2,$15*%\n"
 
#define APER_MACRO_OUTLINE8P_NAME   "Outline8P"
 
#define APER_MACRO_OUTLINE8P_HEADER   "%AMOutline8P*\n\0 Free polygon, 8 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 8*\n\0 $1 to $16 corner X, Y*\n\0 $17 Rotation angle, in degrees counterclockwise*\n\0 create outline with 8 corners*\n\4,1,8,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$1,$2,$17*%\n"
 

Detailed Description

specialized plotter for GERBER files format

Definition in file gbr_plotter_aperture_macros.h.

Macro Definition Documentation

◆ APER_MACRO_OUTLINE4P_HEADER

#define APER_MACRO_OUTLINE4P_HEADER   "%AMOutline4P*\n\0 Free polygon, 4 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 4*\n\0 $1 to $8 corner X, Y*\n\0 $9 Rotation angle, in degrees counterclockwise*\n\0 create outline with 4 corners*\n\4,1,4,$1,$2,$3,$4,$5,$6,$7,$8,$1,$2,$9*%\n"

Definition at line 93 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_OUTLINE4P_NAME

#define APER_MACRO_OUTLINE4P_NAME   "Outline4P"

Definition at line 91 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_OUTLINE5P_HEADER

#define APER_MACRO_OUTLINE5P_HEADER   "%AMOutline5P*\n\0 Free polygon, 5 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 5*\n\0 $1 to $10 corner X, Y*\n\0 $11 Rotation angle, in degrees counterclockwise*\n\0 create outline with 5 corners*\n\4,1,5,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$1,$2,$11*%\n"

Definition at line 107 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_OUTLINE5P_NAME

#define APER_MACRO_OUTLINE5P_NAME   "Outline5P"

Definition at line 105 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_OUTLINE6P_HEADER

#define APER_MACRO_OUTLINE6P_HEADER   "%AMOutline6P*\n\0 Free polygon, 6 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 6*\n\0 $1 to $12 corner X, Y*\n\0 $13 Rotation angle, in degrees counterclockwise*\n\0 create outline with 6 corners*\n\4,1,6,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$1,$2,$13*%\n"

Definition at line 121 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_OUTLINE6P_NAME

#define APER_MACRO_OUTLINE6P_NAME   "Outline6P"

Definition at line 119 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_OUTLINE7P_HEADER

#define APER_MACRO_OUTLINE7P_HEADER   "%AMOutline7P*\n\0 Free polygon, 7 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 7*\n\0 $1 to $14 corner X, Y*\n\0 $15 Rotation angle, in degrees counterclockwise*\n\0 create outline with 7 corners*\n\4,1,7,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$1,$2,$15*%\n"

Definition at line 135 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_OUTLINE7P_NAME

#define APER_MACRO_OUTLINE7P_NAME   "Outline7P"

Definition at line 133 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_OUTLINE8P_HEADER

#define APER_MACRO_OUTLINE8P_HEADER   "%AMOutline8P*\n\0 Free polygon, 8 corners , with rotation*\n\0 The origin of the aperture is its center*\n\0 number of corners: always 8*\n\0 $1 to $16 corner X, Y*\n\0 $17 Rotation angle, in degrees counterclockwise*\n\0 create outline with 8 corners*\n\4,1,8,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$1,$2,$17*%\n"

Definition at line 149 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_OUTLINE8P_NAME

#define APER_MACRO_OUTLINE8P_NAME   "Outline8P"

Definition at line 147 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_ROT_RECT_HEADER

#define APER_MACRO_ROT_RECT_HEADER   "%AMRotRect*\n\0 Rectangle, with rotation*\n\0 The origin of the aperture is its center*\n\0 $1 length*\n\0 $2 width*\n\0 $3 Rotation angle, in degrees counterclockwise*\n\0 Add horizontal line*\n\21,1,$1,$2,0,0,$3*%\n"

Definition at line 60 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_ROT_RECT_NAME

#define APER_MACRO_ROT_RECT_NAME   "RotRect"

Definition at line 58 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_ROUNDRECT_HEADER

#define APER_MACRO_ROUNDRECT_HEADER   "%AMRoundRect*\n\0 Rectangle with rounded corners*\n\0 $1 Rounding radius*\n\0 $2 $3 $4 $5 $6 $7 $8 $9 X,Y pos of 4 corners*\n\0 Add a 4 corners polygon primitive as box body*\n\4,1,4,$2,$3,$4,$5,$6,$7,$8,$9,$2,$3,0*\n\0 Add four circle primitives for the rounded corners*\n\1,1,$1+$1,$2,$3*\n\1,1,$1+$1,$4,$5*\n\1,1,$1+$1,$6,$7*\n\1,1,$1+$1,$8,$9*\n\0 Add four rect primitives between the rounded corners*\n\20,1,$1+$1,$2,$3,$4,$5,0*\n\20,1,$1+$1,$4,$5,$6,$7,0*\n\20,1,$1+$1,$6,$7,$8,$9,0*\n\20,1,$1+$1,$8,$9,$2,$3,0*\%\n"

Definition at line 38 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_ROUNDRECT_NAME

#define APER_MACRO_ROUNDRECT_NAME   "RoundRect"

Definition at line 36 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_SHAPE_OVAL_HEADER

#define APER_MACRO_SHAPE_OVAL_HEADER   "%AMHorizOval*\n\0 Thick line with rounded ends*\n\0 $1 width*\n\0 $2 $3 position (X,Y) of the first rounded end (center of the circle)*\n\0 $4 $5 position (X,Y) of the second rounded end (center of the circle)*\n\0 Add line between two ends*\n\20,1,$1,$2,$3,$4,$5,0*\n\0 Add two circle primitives to create the rounded ends*\n\1,1,$1,$2,$3*\n\1,1,$1,$4,$5*%\n"

Definition at line 77 of file gbr_plotter_aperture_macros.h.

◆ APER_MACRO_SHAPE_OVAL_NAME

#define APER_MACRO_SHAPE_OVAL_NAME   "HorizOval"

Definition at line 75 of file gbr_plotter_aperture_macros.h.