HatchLine - Classes related to processing PAT files. More...
Classes | |
struct anglePoints | |
class AOC | |
class AOE | |
struct arcPoints | |
class ArrowPropEnum | |
class BaseGeom | |
class BezierSegment | |
class BSpline | |
class CenterLine | |
class CenterLinePy | |
The python export class for CenterLine. More... | |
class Circle | |
class CosmeticEdge | |
class CosmeticEdgePy | |
The python export class for CosmeticEdge. More... | |
class CosmeticExtension | |
class CosmeticExtensionPy | |
The python export class for CosmeticExtension. More... | |
class CosmeticVertex | |
class CosmeticVertexPy | |
The python export class for CosmeticVertex. More... | |
class DashSpec | |
struct DimRef | |
class DrawDimHelper | |
Additional functions for working with Dimensions. More... | |
class DrawGeomHatch | |
class DrawGeomHatchPy | |
The python export class for DrawGeomHatch. More... | |
class DrawHatch | |
class DrawHatchPy | |
The python export class for DrawHatch. More... | |
class DrawLeaderLine | |
class DrawLeaderLinePy | |
The python export class for DrawLeaderLine. More... | |
class DrawPage | |
class DrawPagePy | |
The python export class for DrawPage. More... | |
class DrawParametricTemplate | |
class DrawParametricTemplatePy | |
The python export class for DrawParametricTemplate. More... | |
class DrawProjectSplit | |
class DrawProjGroup | |
Class super-container for managing a collection of DrawProjGroupItem Page Features. More... | |
class DrawProjGroupItem | |
class DrawProjGroupItemPy | |
The python export class for DrawProjGroupItem. More... | |
class DrawProjGroupPy | |
The python export class for DrawProjGroup. More... | |
class DrawRichAnno | |
class DrawRichAnnoPy | |
The python export class for DrawRichAnno. More... | |
class DrawSVGTemplate | |
class DrawSVGTemplatePy | |
The python export class for DrawSVGTemplate. More... | |
class DrawTemplate | |
class DrawTemplatePy | |
The python export class for DrawTemplate. More... | |
class DrawTile | |
class DrawTilePy | |
The python export class for DrawTile. More... | |
class DrawTileWeld | |
class DrawTileWeldPy | |
The python export class for DrawTileWeld. More... | |
class DrawUtil | |
Convenient utility functions for TechDraw Module. More... | |
class DrawView | |
Base class of all View Features in the drawing module. More... | |
class DrawViewAnnotation | |
class DrawViewAnnotationPy | |
The python export class for DrawViewAnnotation. More... | |
class DrawViewArch | |
class DrawViewBalloon | |
class DrawViewClip | |
class DrawViewClipPy | |
The python export class for DrawViewClip. More... | |
class DrawViewCollection | |
Base class for collection of view objects. More... | |
class DrawViewCollectionPy | |
The python export class for DrawViewCollection. More... | |
class DrawViewDetail | |
class DrawViewDimension | |
class DrawViewDimensionPy | |
The python export class for DrawViewDimension. More... | |
class DrawViewDimExtent | |
class DrawViewDimExtentPy | |
The python export class for DrawViewDimExtent. More... | |
class DrawViewDraft | |
class DrawViewImage | |
class DrawViewMulti | |
Base class of all View Features in the drawing module. More... | |
class DrawViewPart | |
class DrawViewPartPy | |
The python export class for DrawViewPart. More... | |
class DrawViewPy | |
The python export class for DrawView. More... | |
class DrawViewSection | |
class DrawViewSpreadsheet | |
class DrawViewSymbol | |
class DrawViewSymbolPy | |
The python export class for DrawViewSymbol. More... | |
class DrawWeldSymbol | |
class DrawWeldSymbolPy | |
The python export class for DrawWeldSymbol. More... | |
class edgeSortItem | |
class edgeVisitor | |
class EdgeWalker | |
class Ellipse | |
class embedItem | |
class ewWire | |
class ewWireList | |
class Face | |
Simple Collection of geometric features based on BaseGeom inherited classes in order. More... | |
class Generic | |
class GeometryObject | |
class GeometryUtils | |
Encapsulates some useful static methods. More... | |
class GeomFormat | |
class GeomFormatPy | |
The python export class for GeomFormat. More... | |
class hTrimCurve | |
class incidenceItem | |
class LandmarkDimension | |
class LineFormat | |
class LineGroup | |
class LineSet | |
a LineSet is all the generated edges for 1 PATLineSpec for 1 Face More... | |
class Module | |
class PATLineSpec | |
PATLineSpec is the result of parsing a singleline from PAT file into accessible parameters. More... | |
class Preferences | |
class PropertyCenterLineList | |
class PropertyCosmeticEdgeList | |
class PropertyCosmeticVertexList | |
class PropertyGeomFormatList | |
class ShapeExtractor | |
struct splitPoint | |
class Vertex | |
class WalkerEdge | |
class Wire | |
Simple Collection of geometric features based on BaseGeom inherited classes in order. More... | |
Enumerations | |
enum ArrowType { FILLED_ARROW = 0, OPEN_ARROW, TICK, DOT, OPEN_CIRCLE, FORK, FILLED_TRIANGLE, NONE } | |
enum edgeClass { ecNONE, ecUVISO, ecOUTLINE, ecSMOOTH, ecSEAM, ecHARD } | |
enum ExtractionType { Plain, WithHidden, WithSmooth } | |
enum GeomType { NOTDEF, CIRCLE, ARCOFCIRCLE, ELLIPSE, ARCOFELLIPSE, BEZIER, BSPLINE, GENERIC } | |
enum ProjItemType { Front, Left, Right, Rear, Top, Bottom, FrontTopLeft, FrontTopRight, FrontBottomLeft, FrontBottomRight } | |
enum SourceType { GEOM, COSEDGE, CENTERLINE } | |
Functions | |
gp_Pnt TechDrawExport findCentroid (const TopoDS_Shape &shape, const Base::Vector3d &direction) | |
Returns the centroid of shape, as viewed according to direction. More... | |
gp_Pnt TechDrawExport findCentroid (const TopoDS_Shape &shape, const gp_Ax2 viewAxis) | |
Returns the centroid of shape, as viewed according to direction. More... | |
Base::Vector3d TechDrawExport findCentroidVec (const TopoDS_Shape &shape, const Base::Vector3d &direction) | |
Base::Vector3d TechDrawExport findCentroidVec (const TopoDS_Shape &shape, const gp_Ax2 cs) | |
gp_Ax2 TechDrawExport getViewAxis (const Base::Vector3d origin, const Base::Vector3d &direction, const Base::Vector3d &xAxis, const bool flip=true) | |
gets a coordinate system specified by Z and X directions More... | |
gp_Ax2 TechDrawExport getViewAxis (const Base::Vector3d origin, const Base::Vector3d &direction, const bool flip=true) | |
utility non-class member functions gets a coordinate system that matches view system used in 3D with +Z up (or +Y up if necessary) used for individual views, but not secondary views in projection groups flip determines Y mirror or not. More... | |
PyObject * initModule () | |
gp_Ax2 TechDrawExport legacyViewAxis1 (const Base::Vector3d origin, const Base::Vector3d &direction, const bool flip=true) | |
TopoDS_Shape TechDrawExport mirrorShape (const TopoDS_Shape &input, const gp_Pnt &inputCenter=gp_Pnt(0.0, 0.0, 0.0), double scale=1.0) | |
TopoDS_Shape TechDrawExport mirrorShapeVec (const TopoDS_Shape &input, const Base::Vector3d &inputCenter=Base::Vector3d(0.0, 0.0, 0.0), double scale=1.0) | |
scales & mirrors a shape about a center More... | |
TopoDS_Shape TechDrawExport moveShape (const TopoDS_Shape &input, const Base::Vector3d &motion) | |
moves a shape More... | |
TopoDS_Shape TechDrawExport rotateShape (const TopoDS_Shape &input, gp_Ax2 &viewAxis, double rotAngle) | |
rotates a shape about a viewAxis More... | |
TopoDS_Shape TechDrawExport scaleShape (const TopoDS_Shape &input, double scale) | |
scales a shape about origin More... | |
Detailed Description
HatchLine - Classes related to processing PAT files.
LineGroup - Classes related to processing LineGroup definition CSV files.
Typedef Documentation
◆ BaseGeomPtrVector
typedef std::vector<BaseGeom *> TechDraw::BaseGeomPtrVector |
◆ CosmeticExtensionPython
◆ DrawGeomHatchPython
◆ DrawHatchPython
◆ DrawLeaderLinePython
◆ DrawPagePython
◆ DrawParametricTemplatePython
◆ DrawProjectSplitPython
◆ DrawRichAnnoPython
◆ DrawSVGTemplatePython
◆ DrawTemplatePython
◆ DrawTilePython
◆ DrawTileWeldPython
◆ DrawViewAnnotationPython
◆ DrawViewClipPython
◆ DrawViewDetailPython
◆ DrawViewDraftPython
◆ DrawViewImagePython
◆ DrawViewMultiPython
◆ DrawViewPartPython
◆ DrawViewPython
◆ DrawViewSectionPython
◆ DrawViewSpreadsheetPython
◆ DrawViewSymbolPython
◆ DrawWeldSymbolPython
◆ edge_t
typedef boost::graph_traits< graph >::edge_descriptor TechDraw::edge_t |
◆ graph
typedef boost::adjacency_list< boost::vecS, boost::vecS, boost::undirectedS, boost::property<boost::vertex_index_t, int>, boost::property<boost::edge_index_t, int> > TechDraw::graph |
◆ planar_embedding_storage_t
typedef std::vector< std::vector<edge_t> > TechDraw::planar_embedding_storage_t |
◆ planar_embedding_t
typedef boost::iterator_property_map< planar_embedding_storage_t::iterator, boost::property_map<graph, boost::vertex_index_t>::type > TechDraw::planar_embedding_t |
◆ pointPair
typedef std::pair<Base::Vector3d,Base::Vector3d> TechDraw::pointPair |
◆ vertex_t
typedef boost::graph_traits< graph >::vertex_descriptor TechDraw::vertex_t |
Enumeration Type Documentation
◆ ArrowType
enum TechDraw::ArrowType |
◆ edgeClass
enum TechDraw::edgeClass |
◆ ExtractionType
◆ GeomType
enum TechDraw::GeomType |
◆ ProjItemType
◆ SourceType
enum TechDraw::SourceType |
Function Documentation
◆ findCentroid() [1/2]
gp_Pnt TechDraw::findCentroid | ( | const TopoDS_Shape & | shape, |
const Base::Vector3d & | direction | ||
) |
Returns the centroid of shape, as viewed according to direction.
References getViewAxis().
Referenced by TechDraw::DrawViewDetail::detailExec(), TechDraw::DrawViewMulti::execute(), findCentroidVec(), TechDraw::DrawViewPart::makeGeometryForShape(), and TechDraw::GeometryObject::projectShapeWithPolygonAlgo().
◆ findCentroid() [2/2]
gp_Pnt TechDraw::findCentroid | ( | const TopoDS_Shape & | shape, |
const gp_Ax2 | viewAxis | ||
) |
Returns the centroid of shape, as viewed according to direction.
◆ findCentroidVec() [1/2]
Base::Vector3d TechDraw::findCentroidVec | ( | const TopoDS_Shape & | shape, |
const Base::Vector3d & | direction | ||
) |
References findCentroid().
◆ findCentroidVec() [2/2]
Base::Vector3d TechDraw::findCentroidVec | ( | const TopoDS_Shape & | shape, |
const gp_Ax2 | cs | ||
) |
References findCentroid().
◆ getViewAxis() [1/2]
gp_Ax2 TechDraw::getViewAxis | ( | const Base::Vector3d | origin, |
const Base::Vector3d & | direction, | ||
const Base::Vector3d & | xAxis, | ||
const bool | flip = true |
||
) |
gets a coordinate system specified by Z and X directions
References Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
◆ getViewAxis() [2/2]
gp_Ax2 TechDraw::getViewAxis | ( | const Base::Vector3d | origin, |
const Base::Vector3d & | direction, | ||
const bool | flip = true |
||
) |
utility non-class member functions gets a coordinate system that matches view system used in 3D with +Z up (or +Y up if necessary) used for individual views, but not secondary views in projection groups flip determines Y mirror or not.
References TechDraw::DrawUtil::checkParallel(), Base::Vector3< _Precision >::Cross(), Base::Vector3< _Precision >::IsEqual(), Base::Vector3< _Precision >::Normalize(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by TechDraw::DrawViewMulti::execute(), findCentroid(), and TechDraw::DrawProjGroupItem::getViewAxis().
◆ initModule()
PyObject * TechDraw::initModule | ( | ) |
◆ legacyViewAxis1()
gp_Ax2 TechDraw::legacyViewAxis1 | ( | const Base::Vector3d | origin, |
const Base::Vector3d & | direction, | ||
const bool | flip = true |
||
) |
References TechDraw::DrawUtil::checkParallel(), Base::Vector3< _Precision >::Cross(), Base::Vector3< _Precision >::IsEqual(), Base::Vector3< _Precision >::Normalize(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by TechDraw::DrawProjectSplit::getEdgesForWalker(), and TechDraw::DrawViewPart::getLegacyX().
◆ mirrorShape()
TopoDS_Shape TechDraw::mirrorShape | ( | const TopoDS_Shape & | input, |
const gp_Pnt & | inputCenter = gp_Pnt(0.0,0.0,0.0) , |
||
double | scale = 1.0 |
||
) |
References Base::Console(), and Base::ConsoleSingleton::Log().
Referenced by TechDraw::DrawViewMulti::execute(), and mirrorShapeVec().
◆ mirrorShapeVec()
TopoDS_Shape TechDraw::mirrorShapeVec | ( | const TopoDS_Shape & | input, |
const Base::Vector3d & | inputCenter = Base::Vector3d(0.0, 0.0, 0.0) , |
||
double | scale = 1.0 |
||
) |
scales & mirrors a shape about a center
References mirrorShape(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
◆ moveShape()
TopoDS_Shape TechDraw::moveShape | ( | const TopoDS_Shape & | input, |
const Base::Vector3d & | motion | ||
) |
moves a shape
References Base::Console(), Base::ConsoleSingleton::Log(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by TechDraw::DrawViewDetail::detailExec(), TechDraw::DrawViewPart::makeGeometryForShape(), TechDraw::GeometryObject::projectShapeWithPolygonAlgo(), and TechDraw::DrawViewSection::sectionExec().
◆ rotateShape()
TopoDS_Shape TechDraw::rotateShape | ( | const TopoDS_Shape & | input, |
gp_Ax2 & | viewAxis, | ||
double | rotAngle | ||
) |
rotates a shape about a viewAxis
References Base::Console(), and Base::ConsoleSingleton::Log().
Referenced by TechDraw::DrawViewDetail::detailExec(), TechDraw::DrawViewMulti::execute(), TechDraw::DrawViewPart::makeGeometryForShape(), and TechDraw::DrawViewSection::sectionExec().
◆ scaleShape()
TopoDS_Shape TechDraw::scaleShape | ( | const TopoDS_Shape & | input, |
double | scale | ||
) |
scales a shape about origin
References Base::Console(), and Base::ConsoleSingleton::Log().
Referenced by TechDraw::DrawViewDetail::detailExec(), TechDraw::DrawProjectSplit::getEdgesForWalker(), TechDraw::DrawViewPart::makeGeometryForShape(), TechDraw::CosmeticEdge::scaledGeometry(), TechDraw::CenterLine::scaledGeometry(), and TechDraw::DrawViewSection::sectionExec().