Hide menu
Loading...
Searching...
No Matches
cadex::SheetMetal_Bridge Class Reference

Describes a sheet metal bridge feature. More...

Inheritance diagram for cadex::SheetMetal_Bridge:
cadex::MTKBase_ShapeFeature cadex::MTKBase_Feature

Public Member Functions

 SheetMetal_Bridge ()
 Constructor.
 
 SheetMetal_Bridge (double theDepth, double theLength)
 Constructor.
 
double Depth () const
 
void SetDepth (double theDepth)
 
double Length () const
 
void SetLength (double theLength)
 
- Public Member Functions inherited from cadex::MTKBase_ShapeFeature
 MTKBase_ShapeFeature ()
 Constructor.
 
 MTKBase_ShapeFeature (const ModelData::Shape &theShape)
 Constructor.
 
const ModelData::ShapeShape () const
 
void SetShape (const ModelData::Shape &theShape)
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 
bool IsNull () const
 
 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 bridge.
 
- Static Public Member Functions inherited from cadex::MTKBase_ShapeFeature
static bool CompareType (const MTKBase_Feature &theFeature)
 Returnstrue if theFeature is a shape feature.
 

Additional Inherited Members

- 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
 
- 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.
 
- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describes a sheet metal bridge feature.

Bridges are cut on two sides and formed on two sides.

Lance type bridges and forms (blue) can be used for shear stops, locators, card guides, dividers, ventilation and wire tie downs.

Shape() method returns ModelData::Shell for this class.

Bridge

Bridges have the following basic parameters: depth in mm and length in mm.

Bridge parameters
Examples
MTKConverter/Program.cs, MTKConverter/main.cxx, sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.

Constructor & Destructor Documentation

◆ SheetMetal_Bridge()

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

Constructor.

Creates bridge with specified depth and length.

Member Function Documentation

◆ Depth()

double cadex::SheetMetal_Bridge::Depth ( ) const

Returns the bridge depth in mm .

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

◆ Length()

double cadex::SheetMetal_Bridge::Length ( ) const

Returns the bridge length in mm .

See also
SetLength()
Examples
MTKConverter/Program.cs, and sheet_metal/feature_recognizer/Program.cs.

◆ SetDepth()

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

Sets bridge depth in mm . The value must be more than zero, otherwise nothing happens.

See also
Depth()

◆ SetLength()

void cadex::SheetMetal_Bridge::SetLength ( double theLength)

Sets bridge length in mm . The value must be more than zero, otherwise nothing happens.

See also
Length()