2class TopTools_HSequenceOfShape;
5#include "../Core/PrecompiledHeaders.h"
6#include "../Core/TexGen.h"
51 static void CopyShapesToRange(TopTools_HSequenceOfShape &Shapes,
XYZ Vector,
int iLowerLimit,
int iUpperLimit);
65 bool SaveToIGES(
char szFileName[], TopTools_HSequenceOfShape &Shapes);
67 bool SaveToSTEP(
char szFileName[], TopTools_HSequenceOfShape &Shapes);
Abstract base class representing the domain in which a textile cell may lie.
Class to re-create geometry in OpenCASCADE and in turn export to IGES or STEP.
bool OutputTextileToIGES(char szFileName[], CTextile &Textile)
Output the textile to IGES file format.
bool SaveToIGES(char szFileName[], TopTools_HSequenceOfShape &Shapes)
Save sequence of shapes to IGES file.
void SetSubtractYarns(bool bSubtractYarns)
void ConvertYarn(TopTools_HSequenceOfShape &Shapes, CYarn &Yarn, const CDomain *pDomain=NULL)
Convert yarn to a sequence of OpenCascade TopoDS_Shape.
void ConvertTextile(TopTools_HSequenceOfShape &Shapes, CTextile &Textile)
Convert textile to a sequence of OpenCascade TopoDS_Shape.
void SetExportDomain(bool bExportDomain)
static void CopyShapesToRange(TopTools_HSequenceOfShape &Shapes, XYZ Vector, int iLowerLimit, int iUpperLimit)
Copy the shapes to given range with given repeat vector.
bool OutputDomainToIGES(char szFileName[], CDomain &Domain)
Output the domain to IGES file format.
TopoDS_Shape ConvertDomain(const CDomain &Domain)
Convert domain to a OpenCascade TopoDS_Shape.
bool OutputDomainToSTEP(char szFileName[], CDomain &Domain)
Output the domain to STEP file format.
TopoDS_Wire ConvertSection(const vector< XYZ > &SectionPoints)
Convert a yarn section to a OpenCascade wire.
bool ConfineYarnsToDomain(TopTools_HSequenceOfShape &Yarns, const TopoDS_Shape &Domain)
Trim the yarns such they fit within the domain.
bool SaveToSTEP(char szFileName[], TopTools_HSequenceOfShape &Shapes)
Save sequence of shapes to STEP file.
void SubtractYarnsFromDomain(TopoDS_Shape &Domain, const TopTools_HSequenceOfShape &Yarns)
Subtract yarns from the domain (NOTE: THIS IS UNSTABLE AND VERY SLOW)
void SetJoinYarns(bool bJoinYarns)
bool OutputTextileToSTEP(char szFileName[], CTextile &Textile)
Output the textile to STEP file format.
void SetFaceted(bool bFaceted)
Represents a textile cell containing yarns.
Represents a yarn consisting of master nodes, section and interpolation function.
Namespace containing a series of customised math operations not found in the standard c++ library.
Struct for representing points in 3D space.