20#ifndef LIBREPCB_CORE_BOARDSPECCTRAEXPORT_H
21#define LIBREPCB_CORE_BOARDSPECCTRAEXPORT_H
26#include "../../types/point.h"
94 template <typename THole>
96 const THole& hole) const;
98 const QString&
id, const
Path& path,
99 const QSet<const
Layer*>& layers) const;
103 bool multiline) const;
106 const
Path& path,
bool multiline) const;
The BI_Device class.
Definition bi_device.h:57
The BI_NetSegment class.
Definition bi_netsegment.h:53
A pad in a board (either standalone or from a footprint)
Definition bi_pad.h:49
The BI_Via class.
Definition bi_via.h:44
The Board class represents a PCB of a project and is always part of a circuit.
Definition board.h:74
Specctra DSN Export.
Definition boardspecctraexport.h:57
std::unique_ptr< SExpression > genPlacement() const
Definition boardspecctraexport.cpp:266
BoardSpecctraExport(const BoardSpecctraExport &other)=delete
std::unique_ptr< SExpression > genWiring() const
Definition boardspecctraexport.cpp:597
const Board & mBoard
Definition boardspecctraexport.h:124
std::unique_ptr< SExpression > genNetwork() const
Definition boardspecctraexport.cpp:535
std::unique_ptr< SExpression > genStructureRule() const
Definition boardspecctraexport.cpp:241
BoardSpecctraExport()=delete
std::unique_ptr< SExpression > toPolygon(const QString &layer, const UnsignedLength &width, const Path &path, bool multiline) const
Definition boardspecctraexport.cpp:743
std::unique_ptr< SExpression > toKeepout(const QString &id, const THole &hole) const
Definition boardspecctraexport.cpp:690
std::unique_ptr< SExpression > genParser() const
Definition boardspecctraexport.cpp:135
std::unique_ptr< SExpression > toCircle(const QString &layer, const PositiveLength &diameter, const Point &pos=Point()) const
Definition boardspecctraexport.cpp:767
static std::size_t addToPadStacks(std::vector< std::unique_ptr< SExpression > > &padStacks, std::unique_ptr< SExpression > padStack)
Definition boardspecctraexport.cpp:794
QByteArray generate() const
Definition boardspecctraexport.cpp:75
static PositiveLength maxArcTolerance() noexcept
Definition boardspecctraexport.h:119
std::unique_ptr< SExpression > genWiringPadStack(const BI_Via &via) const
Definition boardspecctraexport.cpp:628
std::unique_ptr< SExpression > toToken(const Length &length) const
Definition boardspecctraexport.cpp:780
std::unique_ptr< SExpression > genStructure(std::vector< std::unique_ptr< SExpression > > &viaPadStacks) const
Definition boardspecctraexport.cpp:156
std::unique_ptr< SExpression > genLibraryPadStack(const BI_Pad &pad) const
Definition boardspecctraexport.cpp:431
std::unique_ptr< SExpression > toPath(const QString &layer, const UnsignedLength &width, const Path &path, bool multiline) const
Definition boardspecctraexport.cpp:751
~BoardSpecctraExport() noexcept
Definition boardspecctraexport.cpp:68
std::unique_ptr< SExpression > genResolution() const
Definition boardspecctraexport.cpp:149
static QString getNetName(const BI_NetSegment &ns) noexcept
Definition boardspecctraexport.cpp:785
std::unique_ptr< SExpression > genLibrary(std::vector< std::unique_ptr< SExpression > > &fptPadStacks, std::vector< std::unique_ptr< SExpression > > &viaPadStacks) const
Definition boardspecctraexport.cpp:305
QString getWiringPadStackId(const BI_Via &via) const
Definition boardspecctraexport.cpp:649
std::unique_ptr< SExpression > genLibraryImage(std::vector< std::unique_ptr< SExpression > > &fptPadStacks) const
Definition boardspecctraexport.cpp:332
The Layer class provides all supported geometry layers.
Definition layer.h:42
The Length class is used to represent a length (for example 12.75 millimeters)
Definition length.h:82
The Path class represents a list of vertices connected by straight lines or circular arc segments.
Definition path.h:59
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The SExpression class.
Definition sexpression.h:69
Definition occmodel.cpp:77
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition length.h:694