RoughnessCondition
RoughnessCondition
defines conditional statements that modify how surface roughness should be interpreted. Drawings often include instructions like “after heat treatment,” “unless otherwise specified,” or “machined surfaces only,” and this model captures those qualifiers. It stores the triggering condition, affected surfaces, links to the base Roughness
requirement, and any process steps that must occur beforehand. Having these conditions structured helps you plan process sequences, ensure inspection occurs at the correct stage, and avoid misapplying finish criteria. The additional context also aids communication with suppliers by clarifying exactly when a roughness callout is applicable and by highlighting conditions that might require special tooling or masking.
Bases: BaseModel
Represents a condition for surface roughness specified on a technical drawing.
PARAMETER | DESCRIPTION |
---|---|
condition_type | Specifies whether the condition applies to the upper limit, lower limit, or average of the roughness. TYPE: |
filter_type | The filter used during roughness measurement (e.g., Gaussian, Spline). TYPE: |
lambda_s | The short wavelength cutoff for filtering, if specified. TYPE: |
lambda_c | The long wavelength cutoff for filtering, if specified. TYPE: |
parameter | The roughness parameter being evaluated (e.g., Ra, Rz, Rt). TYPE: |
evaluation_length | Details of the evaluation length used for roughness measurement. TYPE: |
acceptance_criterion | Specifies the acceptance rule for the roughness condition (e.g., 16%-rule, maximum, mean). TYPE: |
value | The target roughness value specified in the condition. TYPE: |
roughness_grade | An optional roughness grade (e.g., N6, N7) associated with the condition. TYPE: |