Hide menu
Loading...
Searching...
No Matches
cadex.PMI.SurfaceTextureRequirementAttribute Class Reference

Defines a surface texture requirement. More...

Inheritance diagram for cadex.PMI.SurfaceTextureRequirementAttribute:
cadex.PMI.SemanticAttribute cadex.BaseObject

Public Types

enum  SpecificationLimitType { UndefinedLimit , Upper , Lower }
 
enum  SurfaceParameterType {
  UndefinedParameter , Rp , Rv , Rz ,
  Rc , Rt , Ra , Rq ,
  Rsk , Rku , Wp = 100 , Wv ,
  Wz , Wc , Wt , Wa ,
  Wq , Wsk , Wku , Pp = 200 ,
  Pv , Pz , Pc , Pt ,
  Pa , Pq , Psk , Pku ,
  N1 = 300 , N2 , N3 , N4 ,
  N5 , N6 , N7 , N8 ,
  N9 , N10 , N11 , N12
}
 
enum  ComparisonRuleType { SixteenPercent , Max }
 

Public Member Functions

 SurfaceTextureRequirementAttribute (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 SurfaceTextureRequirementAttribute ()
 Constructor.
 
 SurfaceTextureRequirementAttribute (uint thePrecedence, cadex.PMI.SurfaceTextureRequirementAttribute.SurfaceParameterType theParameter, double theLimitValue)
 Constructor.
 
void SetPrecedence (uint thePrecedence)
 Sets the precedence.
 
uint Precedence ()
 Returns 1 by default.
 
void SetSpecificationLimit (cadex.PMI.SurfaceTextureRequirementAttribute.SpecificationLimitType theLimit)
 Sets the specification limit.
 
cadex.PMI.SurfaceTextureRequirementAttribute.SpecificationLimitType SpecificationLimit ()
 Returns the specification limit.
 
void SetFilterName (cadex.UTF16String theFilterName)
 Sets the filter name.
 
cadex.UTF16String FilterName ()
 Returns 0 by default.
 
void SetShortWaveFilter (double theValue)
 Sets the short wave filter value.
 
double ShortWaveFilter ()
 Returns 0 by default.
 
void SetLongWaveFilter (double theValue)
 Sets the long wave filter value.
 
double LongWaveFilter ()
 Returns 0 by default.
 
void SetSurfaceParameter (cadex.PMI.SurfaceTextureRequirementAttribute.SurfaceParameterType theParameter)
 Sets the surface parameter.
 
cadex.PMI.SurfaceTextureRequirementAttribute.SurfaceParameterType SurfaceParameter ()
 Returns the surface parameter.
 
void SetEvaluationLength (double theValue)
 Sets the evalution length.
 
double EvaluationLength ()
 Returns 5 by default.
 
void SetComparisonRule (cadex.PMI.SurfaceTextureRequirementAttribute.ComparisonRuleType theRule)
 Sets the comparison rule.
 
cadex.PMI.SurfaceTextureRequirementAttribute.ComparisonRuleType ComparisonRule ()
 Returns 16%-rule by default.
 
void SetLimitValue (double theValue)
 Sets the limit value.
 
double LimitValue ()
 Returns the limit value.
 
- Public Member Functions inherited from cadex.PMI.SemanticAttribute
 SemanticAttribute (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Accept (cadex.PMI.SemanticAttributeVisitor theVisitor)
 
- Public Member Functions inherited from cadex.BaseObject
 BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
bool IsNull ()
 
ulong Id ()
 Return unique identifier of public object.
 
bool IsEqual (cadex.BaseObject theObj)
 
override int GetHashCode ()
 
override bool Equals (System.Object o)
 

Static Public Member Functions

static new bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the SurfaceTextureRequirementAttribute type.
 
- Static Public Member Functions inherited from cadex.PMI.SemanticAttribute
static bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the SemanticAttribute type.
 
static cadex.PMI.SemanticAttribute Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Defines a surface texture requirement.

A surface texture requirement is built from several different control elements, which can be part of the indication on the drawing or the textual indication. The elements are shown in the image below.

"Control elements in indication of surface texture requirements"

Experience has shown that all these elements are not necessary to form an unambiguous relation between the surface texture requirement and the function of the surface. The majority of them may be omitted if this does not introduce discrepancies (some characteristics have default values). There are no mandatory elements, all are optional, but at least one element should be specified.

In some cases it is necessary to indicate requirements for more than one surface texture parameter (profile or characteristic or both) in order to establish an unambiguous relation between the requirement on the drawing and the function of the surface. Thus, a surface finish component can have multiple surface texture requirement attributes. In this case the order (primary, secondary, etc) of surface texture requirement in surface finish component is controlled by Precedence() method.

Note
The development of data structures of surface texture requirement was carried out under the influence of ISO 1302:2002.

Examples of surface texture requirement in textual indication:

  • 0.0025-0.8/Rz 6.8
  • U Gaussian 0.08-0.8/Rz8max 3.3
See also
SemanticAttribute
Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

Constructor & Destructor Documentation

◆ SurfaceTextureRequirementAttribute() [1/2]

cadex.PMI.SurfaceTextureRequirementAttribute.SurfaceTextureRequirementAttribute ( )
inline

Constructor.

◆ SurfaceTextureRequirementAttribute() [2/2]

cadex.PMI.SurfaceTextureRequirementAttribute.SurfaceTextureRequirementAttribute ( uint thePrecedence,
cadex.PMI.SurfaceTextureRequirementAttribute.SurfaceParameterType theParameter,
double theLimitValue )
inline

Constructor.

Member Function Documentation

◆ CompareType()

static new bool cadex.PMI.SurfaceTextureRequirementAttribute.CompareType ( cadex.BaseObject theObject)
inlinestatic

Returns true if theObject has the SurfaceTextureRequirementAttribute type.

◆ ComparisonRule()

cadex.PMI.SurfaceTextureRequirementAttribute.ComparisonRuleType cadex.PMI.SurfaceTextureRequirementAttribute.ComparisonRule ( )
inline

Returns 16%-rule by default.

Returns the comparison rule.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ Dispose()

override void cadex.PMI.SurfaceTextureRequirementAttribute.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.PMI.SemanticAttribute.

◆ EvaluationLength()

double cadex.PMI.SurfaceTextureRequirementAttribute.EvaluationLength ( )
inline

Returns 5 by default.

Returns the evaluation length value.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ FilterName()

cadex.UTF16String cadex.PMI.SurfaceTextureRequirementAttribute.FilterName ( )
inline

Returns 0 by default.

Returns filter name.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ LimitValue()

double cadex.PMI.SurfaceTextureRequirementAttribute.LimitValue ( )
inline

Returns the limit value.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ LongWaveFilter()

double cadex.PMI.SurfaceTextureRequirementAttribute.LongWaveFilter ( )
inline

Returns 0 by default.

Returns the long wave filter value.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ Precedence()

uint cadex.PMI.SurfaceTextureRequirementAttribute.Precedence ( )
inline

Returns 1 by default.

Returns the precedence value.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ SetComparisonRule()

void cadex.PMI.SurfaceTextureRequirementAttribute.SetComparisonRule ( cadex.PMI.SurfaceTextureRequirementAttribute.ComparisonRuleType theRule)
inline

Sets the comparison rule.

◆ SetEvaluationLength()

void cadex.PMI.SurfaceTextureRequirementAttribute.SetEvaluationLength ( double theValue)
inline

Sets the evalution length.

◆ SetFilterName()

void cadex.PMI.SurfaceTextureRequirementAttribute.SetFilterName ( cadex.UTF16String theFilterName)
inline

Sets the filter name.

◆ SetLimitValue()

void cadex.PMI.SurfaceTextureRequirementAttribute.SetLimitValue ( double theValue)
inline

Sets the limit value.

◆ SetLongWaveFilter()

void cadex.PMI.SurfaceTextureRequirementAttribute.SetLongWaveFilter ( double theValue)
inline

Sets the long wave filter value.

◆ SetPrecedence()

void cadex.PMI.SurfaceTextureRequirementAttribute.SetPrecedence ( uint thePrecedence)
inline

Sets the precedence.

◆ SetShortWaveFilter()

void cadex.PMI.SurfaceTextureRequirementAttribute.SetShortWaveFilter ( double theValue)
inline

Sets the short wave filter value.

◆ SetSpecificationLimit()

void cadex.PMI.SurfaceTextureRequirementAttribute.SetSpecificationLimit ( cadex.PMI.SurfaceTextureRequirementAttribute.SpecificationLimitType theLimit)
inline

Sets the specification limit.

◆ SetSurfaceParameter()

void cadex.PMI.SurfaceTextureRequirementAttribute.SetSurfaceParameter ( cadex.PMI.SurfaceTextureRequirementAttribute.SurfaceParameterType theParameter)
inline

Sets the surface parameter.

◆ ShortWaveFilter()

double cadex.PMI.SurfaceTextureRequirementAttribute.ShortWaveFilter ( )
inline

Returns 0 by default.

Returns short wave filter value.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ SpecificationLimit()

cadex.PMI.SurfaceTextureRequirementAttribute.SpecificationLimitType cadex.PMI.SurfaceTextureRequirementAttribute.SpecificationLimit ( )
inline

Returns the specification limit.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ SurfaceParameter()

cadex.PMI.SurfaceTextureRequirementAttribute.SurfaceParameterType cadex.PMI.SurfaceTextureRequirementAttribute.SurfaceParameter ( )
inline

Returns the surface parameter.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.