KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PADS_IO::COPPER_SHAPE Struct Reference

A copper shape from the LINES section (type=COPPER). More...

#include <pads_parser.h>

Public Attributes

std::string name
 Shape name.
 
std::string net_name
 Associated net (empty if unconnected)
 
int layer = 0
 Layer number.
 
double width = 0.0
 Line width (for open polylines)
 
bool filled = false
 True for filled shapes (COPCLS, COPCIR)
 
bool is_cutout = false
 True for cutouts (COPCUT, COPCCO)
 
std::vector< ARC_POINToutline
 Shape outline vertices.
 

Detailed Description

A copper shape from the LINES section (type=COPPER).

Copper shapes are standalone copper areas not part of a pour. They can be associated with a net and may include cutouts.

Definition at line 568 of file pads_parser.h.

Member Data Documentation

◆ filled

bool PADS_IO::COPPER_SHAPE::filled = false

True for filled shapes (COPCLS, COPCIR)

Definition at line 574 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ is_cutout

bool PADS_IO::COPPER_SHAPE::is_cutout = false

True for cutouts (COPCUT, COPCCO)

Definition at line 575 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ layer

int PADS_IO::COPPER_SHAPE::layer = 0

Layer number.

Definition at line 572 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ name

std::string PADS_IO::COPPER_SHAPE::name

Shape name.

Definition at line 570 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ net_name

std::string PADS_IO::COPPER_SHAPE::net_name

Associated net (empty if unconnected)

Definition at line 571 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ outline

std::vector<ARC_POINT> PADS_IO::COPPER_SHAPE::outline

Shape outline vertices.

Definition at line 576 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().

◆ width

double PADS_IO::COPPER_SHAPE::width = 0.0

Line width (for open polylines)

Definition at line 573 of file pads_parser.h.

Referenced by PADS_IO::PARSER::parseSectionLINES().


The documentation for this struct was generated from the following file: