20#ifndef LIBREPCB_CORE_BOARDSPECCTRAEXPORT_H
21#define LIBREPCB_CORE_BOARDSPECCTRAEXPORT_H
26#include "../../types/point.h"
93 template <typename THole>
95 const THole& hole) const;
97 const QString&
id, const
Path& path,
98 const QSet<const
Layer*>& layers) const;
102 bool multiline) const;
105 const
Path& path,
bool multiline) const;
The BI_Device class.
Definition bi_device.h:57
The BI_NetSegment class.
Definition bi_netsegment.h:52
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:73
Specctra DSN Export.
Definition boardspecctraexport.h:57
std::unique_ptr< SExpression > genPlacement() const
Definition boardspecctraexport.cpp:260
BoardSpecctraExport(const BoardSpecctraExport &other)=delete
std::unique_ptr< SExpression > genLibraryImage(const BI_Device &dev, std::vector< std::unique_ptr< SExpression > > &fptPadStacks) const
Definition boardspecctraexport.cpp:311
std::unique_ptr< SExpression > genWiring() const
Definition boardspecctraexport.cpp:521
const Board & mBoard
Definition boardspecctraexport.h:123
std::unique_ptr< SExpression > genLibraryPadStack(const BI_FootprintPad &pad) const
Definition boardspecctraexport.cpp:380
std::unique_ptr< SExpression > genNetwork() const
Definition boardspecctraexport.cpp:488
std::unique_ptr< SExpression > genStructureRule() const
Definition boardspecctraexport.cpp:235
BoardSpecctraExport()=delete
std::unique_ptr< SExpression > toPolygon(const QString &layer, const UnsignedLength &width, const Path &path, bool multiline) const
Definition boardspecctraexport.cpp:658
std::unique_ptr< SExpression > toKeepout(const QString &id, const THole &hole) const
Definition boardspecctraexport.cpp:605
std::unique_ptr< SExpression > genParser() const
Definition boardspecctraexport.cpp:130
std::unique_ptr< SExpression > toCircle(const QString &layer, const PositiveLength &diameter, const Point &pos=Point()) const
Definition boardspecctraexport.cpp:682
static std::size_t addToPadStacks(std::vector< std::unique_ptr< SExpression > > &padStacks, std::unique_ptr< SExpression > padStack)
Definition boardspecctraexport.cpp:709
QByteArray generate() const
Definition boardspecctraexport.cpp:75
static PositiveLength maxArcTolerance() noexcept
Definition boardspecctraexport.h:118
std::unique_ptr< SExpression > genWiringPadStack(const BI_Via &via) const
Definition boardspecctraexport.cpp:552
std::unique_ptr< SExpression > toToken(const Length &length) const
Definition boardspecctraexport.cpp:695
std::unique_ptr< SExpression > genStructure(std::vector< std::unique_ptr< SExpression > > &viaPadStacks) const
Definition boardspecctraexport.cpp:151
std::unique_ptr< SExpression > toPath(const QString &layer, const UnsignedLength &width, const Path &path, bool multiline) const
Definition boardspecctraexport.cpp:666
~BoardSpecctraExport() noexcept
Definition boardspecctraexport.cpp:68
std::unique_ptr< SExpression > genResolution() const
Definition boardspecctraexport.cpp:144
static QString getNetName(const BI_NetSegment &ns) noexcept
Definition boardspecctraexport.cpp:700
std::unique_ptr< SExpression > genLibrary(std::vector< std::unique_ptr< SExpression > > &fptPadStacks, std::vector< std::unique_ptr< SExpression > > &viaPadStacks) const
Definition boardspecctraexport.cpp:286
QString getWiringPadStackId(const BI_Via &via) const
Definition boardspecctraexport.cpp:573
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:57
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:76
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition length.h:694