8#include "RshPluginCmdShape/RshPluginCmdShapeDefines.h"
9#include "RshPluginDShape/SShape/SShape.h"
10#include "RshPluginScriptInterface/Script/SObjectStatic.h"
13namespace rsh::ScriptBinding
81 Array<SShape> iCompTable,
83 SMatrix iCoordinateSystemMatrix = {}
104class _SCADMultiUtil :
public SObjectStatic
129 Number iApproxDiameter,
133 Number iApproxLength,
138 Number iCalculationAccuracy,
140 Boolean iDetectAbsurdPoints,
142 Number iSmoothNeutralAxis,
144 Boolean iReconstructPipe
164 Number iApproxDiameter,
168 Number iApproxLength,
173 Number iCalculationAccuracy,
175 Number iSmoothNeutralAxis,
177 Boolean iReconstructPipe
185class _SCADPolyUtil :
public SObjectStatic
207 Boolean iMakePerpendicular,
209 Boolean iTurnWthCurve,
211 Boolean iUsePathToLeanOn,
213 Boolean iStartAtProfilePosition,
215 Boolean iCloseExtremities,
225class _SCADShapeUtil :
public SObjectStatic
248 Boolean iCloseExtremities,
249 Array<SComp> iShapes);
266 Boolean iCloseExtremities,
267 Array<SComp> iShapes);
283 Boolean iMakePerpendicular,
285 Boolean iStartAtProfilePosition,
287 Boolean iCloseExtremities
300 Array<SShape> iCompTable
313 Array<SShape> iCompTable
327 Array<SShape> iCompTable,
329 Number iSewingTolerance
The SComp class is an abstract class. Use derived classes SCircle, SCylinder, SCloud,...
Definition: SComp.h:32
The SFeature class is an abstract class.
Definition: SFeature.h:19
Matrix with 3 lines and 4 columns to make any transformation. This class should be used in order to a...
Definition: SMatrix.h:21
Class to store a multiline, that is: an ordered list of points. The SMultiline creation can be done b...
Definition: SMultiLine.h:24
static Array ComputeNeutralAxis(SComp iTubularShape, SComp iHelpLine, Boolean iIsCircle, Number iApproxDiameter, Number iApproxWidth, Number iApproxLength, SVector iDirection, Number iCalculationAccuracy, Number iSmoothNeutralAxis, Boolean iReconstructPipe)
This function is used to compute the neutral axis of a SCloud or SPoly or surfacic SShape.
static Array ComputeNeutralAxis(SComp iTubularShape, SComp iHelpLine, Boolean iIsCircle, Number iApproxDiameter, Number iApproxWidth, Number iApproxLength, SVector iDirection, Number iCalculationAccuracy, Boolean iDetectAbsurdPoints, Number iSmoothNeutralAxis, Boolean iReconstructPipe)
This function is used to compute the neutral axis of a SCloud or SPoly or surfacic SShape.
The SPoly class provides triangular mesh(es) manipulation. The SPoly creation can be done by calling ...
Definition: SPoly.h:39
static Array ProfileAlongPath(SComp iProfile, SComp iPath, Boolean iMakePerpendicular, Boolean iTurnWthCurve, Boolean iUsePathToLeanOn, Boolean iStartAtProfilePosition, Boolean iCloseExtremities, SComp iPathToLeanOn)
Compute mesh corresponding to the extrusion of a given profile along a given path.
Shape manipulation class. The SShape creation can be done by calling the static function New() to cop...
Definition: SShape.h:22
static Array ExtractWire(Array< SShape > iCompTable)
Extract free borders from surfacic SShape as wire.
static Array ExtractCurve(Array< SShape > iCompTable)
Extract free border from surfacic SShape as curves.
static Array ProfileAlongPath(SComp iProfile, SComp iPath, Boolean iMakePerpendicular, Boolean iStartAtProfilePosition, Boolean iCloseExtremities)
Compute CAD face corresponding to the extrusion of a given profile along a given path.
static Array LinearExtrusion(Number iLength, SVector iDirection, Boolean iCloseExtremities, Array< SComp > iShapes)
Compute CAD face(s) corresponding to the extrusion of profile(s) along a direction,...
static Array PipeTubeAlongPath(Number iRadius, Boolean iCloseExtremities, Array< SComp > iShapes)
Compute CAD face(s) corresponding to the extrusion of a circle with a given radius along a given path...
static Array Sew(Array< SShape > iCompTable, Number iSewingTolerance)
Sew surfacic SShape according to a given tolerance.
The mathematical object vector.
Definition: SVector3.h:26
These are CAD objects manipulation and utility functions.
Definition: ZSCADUtil.h:29
static Array Convert(SFeature iFeature)
Convert a feature into a CAD object.
static Array Import(String iFilename)
Import a IGES or STEP file into a CAD object.
static Array Export(String iFilename, Array< SShape > iCompTable, SMatrix iCoordinateSystemMatrix={})
Export a table of CAD objects in a IGES or STEP file.
Array Discretize(SShape iSShape)
To convert the SShape into a discretized SPoly and a discretized SMultiline.