Horizon
Loading...
Searching...
No Matches
horizon::Hole Class Reference

A hole with diameter and position, that's it. More...

#include <hole.hpp>

Public Types

enum class  Shape { ROUND , SLOT }

Public Member Functions

 Hole (const UUID &uu, const json &j)
 Hole (const UUID &uu)
Polygon to_polygon () const
std::pair< Coordi, Coordi > get_bbox () const
UUID get_uuid () const
json serialize () const

Public Attributes

UUID uuid
Placement placement
uint64_t diameter = 0.5_mm
uint64_t length = 0.5_mm
std::string parameter_class
bool plated = false
 true if this hole is PTH, false if NPTH.
Shape shape = Shape::ROUND
LayerRange span

Detailed Description

A hole with diameter and position, that's it.

Member Data Documentation

◆ plated

bool horizon::Hole::plated = false

true if this hole is PTH, false if NPTH.

Used by the gerber exporter.


The documentation for this class was generated from the following files: