Hide menu
Loading...
Searching...
No Matches

Describes a forming in sheet metal. More...

Inheritance diagram for cadex::SheetMetal_FormingFeature:
cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Types

typedef cadex::internal::SheetMetalImpl_FormingFeature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_ShapeFeature
typedef cadex::internal::MTKBaseImpl_ShapeFeature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_Feature
typedef cadex::internal::MTKBaseImpl_Feature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 

Public Member Functions

 SheetMetal_FormingFeature ()
 Constructor.
 
 SheetMetal_FormingFeature (double theLength, double theDepth)
 Constructor.
 
double Length () const
 
void SetLength (double theLength)
 
double Depth () const
 Returns the forming feature depth in mm .
 
void SetDepth (double theDepth)
 Sets depth for forming feature in mm.
 
bool HasAxis () const
 Returns true if z-axis is determined for forming feature.
 
const Geom::Axis1dAxis () const
 Returns z-axis of a forming feature - the axis along which the depth is determined.
 
void SetAxis (const Geom::Axis1d &theAxis)
 Sets z-axis for forming feature.
 
const ModelData::ShapeSidewalls () const
 
void SetSidewalls (const ModelData::Shape &theSidewalls)
 Sets the shape for bore sidewalls.
 
const ModelData::ShapeBottom () const
 Returns the bottom shape of the bore.
 
void SetBottom (const ModelData::Shape &theBottom)
 Sets the shape for the bore bottom.
 
- Public Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::ShapeShape () const
 Returns shape of the feature.
 
void SetShape (const ModelData::Shape &theShape)
 Sets shape of the feature.
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull () const
 Returns true if the object is nullified.
 
 operator bool () const
 Casts the object to the bool type.
 
template<typename T >
bool IsOfType () const
 
ImplType * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
bool operator== (const MTKBase_Feature &theObject) const
 
bool operator!= (const MTKBase_Feature &theObject) const
 

Static Public Member Functions

static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a forming feature.
 
- Static Public Member Functions inherited from cadex::MTKBase_ShapeFeature
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a shape feature.
 

Protected Member Functions

 SheetMetal_FormingFeature (ImplPtrType theImpl)
 
- Protected Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature (ImplPtrType theImpl)
 Reserved for internal use.
 

Additional Inherited Members

- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a forming in sheet metal.

Forming plastically deforms sheet metal to create 3D features.

Forming
Examples
sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_FormingFeature() [1/2]

cadex::SheetMetal_FormingFeature::SheetMetal_FormingFeature ( )

Constructor.

◆ SheetMetal_FormingFeature() [2/2]

cadex::SheetMetal_FormingFeature::SheetMetal_FormingFeature ( double theLength,
double theDepth )

Constructor.

Creates a bend with specified radius, angle and width.

Member Function Documentation

◆ Axis()

const Geom::Axis1d & cadex::SheetMetal_FormingFeature::Axis ( ) const

Returns z-axis of a forming feature - the axis along which the depth is determined.

See also
HasAxis(), SetAxis()
Examples
sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

◆ Bottom()

const ModelData::Shape & cadex::SheetMetal_FormingFeature::Bottom ( ) const

Returns the bottom shape of the bore.

The shape can be a single face or shell. Returns a null shape if the bore has no bottom.

See also
SetBottom()

◆ CompareType()

bool cadex::SheetMetal_FormingFeature::CompareType ( const MTKBase_Feature & theFeature)
static

Returns true if theFeature is a forming feature.

Examples
sheet_metal/feature_recognizer/Program.cs.

◆ Depth()

double cadex::SheetMetal_FormingFeature::Depth ( ) const

Returns the forming feature depth in mm .

See also
SetDepth()
Examples
sheet_metal/feature_recognizer/Program.cs.

◆ HasAxis()

bool cadex::SheetMetal_FormingFeature::HasAxis ( ) const

Returns true if z-axis is determined for forming feature.

See also
Axis(), SetAxis()

◆ SetAxis()

void cadex::SheetMetal_FormingFeature::SetAxis ( const Geom::Axis1d & theAxis)

Sets z-axis for forming feature.

See also
HasAxis(), Axis()

◆ SetBottom()

void cadex::SheetMetal_FormingFeature::SetBottom ( const ModelData::Shape & theBottom)

Sets the shape for the bore bottom.

The shape can be a single face or shell.

See also
Bottom()

◆ SetDepth()

void cadex::SheetMetal_FormingFeature::SetDepth ( double theDepth)

Sets depth for forming feature in mm.

The value must be more than zero.

See also
Depth()

◆ SetSidewalls()

void cadex::SheetMetal_FormingFeature::SetSidewalls ( const ModelData::Shape & theSidewalls)

Sets the shape for bore sidewalls.

The shape can be a single face or shell.

See also
Sidewalls()