2#include "util/uuid.hpp"
4#include "nlohmann/json_fwd.hpp"
6#include "util/placement.hpp"
22 uint64_t diameter = 0.5_mm;
23 uint64_t length = 0.5_mm;
24 std::string parameter_class;
32 enum class Shape { ROUND, SLOT };
33 Shape shape = Shape::ROUND;
38 std::pair<Coordi, Coordi> get_bbox()
const;
40 UUID get_uuid()
const;
43 json serialize()
const;
A hole with diameter and position, that's it.
Definition hole.hpp:15
bool plated
true if this hole is PTH, false if NPTH.
Definition hole.hpp:30
Definition layer_range.hpp:11
Definition placement.hpp:8
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition polygon.hpp:25
For commonly used Pad shapes.
Definition shape.hpp:15
This class encapsulates a UUID and allows it to be uses as a value type.
Definition uuid.hpp:16
a class to store JSON values
Definition json.hpp:177
basic_json<> json
default JSON class
Definition json_fwd.hpp:62