IFC 4.3.0.0 (IFC4X3) final

8.12.3.5 IfcCurveStyle

8.12.3.5.1 Semantic definition

An IfcCurveStyle provides the style table for presentation information assigned to geometric curves. The style is defined by a color, a font and a width. The IfcCurveStyle defines curve patterns as model patterns, that is, the distance between visible and invisible segments of curve patterns are given in model space dimensions (that have to be scaled using the target plot scale).

Styles are intended to be shared by multiple IfcStyledItem's, assigning the style to occurrences of (subtypes of) IfcGeometricRepresentationItem's. Measures given to a font pattern or a curve width are given in global drawing length units.

The measure values for font pattern and curve width apply to the model space with a target plot scale provided for the correct appearance in the default plot scale.. For different scale and projection dependent curve styles a different instance of IfcCurveStyle needs to be used by IfcPresentationStyleAssignment for different IfcGeometricRepresentationSubContext dependent representations.

An IfcCurveStyle can be assigned to IfcGeometricRepresentationItem's via the IfcPresentationStyleAssignment through an intermediate IfcStyledItem or IfcAnnotationCurveOccurrence.

8.12.3.5.2 Entity inheritance

8.12.3.5.3 Attributes

# Attribute Type Description
IfcPresentationStyle (1)
1 Name OPTIONAL IfcLabel

Name of the presentation style.

Click to show 1 hidden inherited attributes Click to hide 1 inherited attributes
IfcCurveStyle (4)
2 CurveFont OPTIONAL IfcCurveFontOrScaledCurveFontSelect

A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies.

3 CurveWidth OPTIONAL IfcSizeSelect

A positive length measure in units of the presentation area for the width of a presented curve. If not given, then the style should be taken from the layer assignment with style, if that is not given either, then the default style applies.

4 CurveColour OPTIONAL IfcColour

The colour of the visible part of the curve. If not given, then the colour should be taken from the layer assignment with style, if that is not given either, then the default colour applies.

5 ModelOrDraughting OPTIONAL IfcBoolean

Indication whether the length measures provided for the presentation style are model based, or draughting based.

Table 8.12.3.5.A

8.12.3.5.4 Formal propositions

Name Description
IdentifiableCurveStyle

At minimum one of the three attribute values have to be provided, CurveFont, CurveWidth, CurveColour.

EXISTS(CurveFont) OR EXISTS(CurveWidth) OR EXISTS(CurveColour)
MeasureOfWidth

The curve width, if provided, shall be given by an IfcPositiveLengthMeasure representing the curve width in the default measure unit, or by an IfcDescriptiveMeasure with the value 'by layer' representing the curve width by the default curve width at the associated layer.

(NOT(EXISTS(CurveWidth))) OR
('IFC4X3.IFCPOSITIVELENGTHMEASURE' IN TYPEOF(CurveWidth)) OR 
 (('IFC4X3.IFCDESCRIPTIVEMEASURE' IN TYPEOF(CurveWidth)) AND
 (CurveWidth = 'by layer'))
Table 8.12.3.5.B

8.12.3.5.5 Formal representation

ENTITY IfcCurveStyle
 SUBTYPE OF (IfcPresentationStyle);
	CurveFont : OPTIONAL IfcCurveFontOrScaledCurveFontSelect;
	CurveWidth : OPTIONAL IfcSizeSelect;
	CurveColour : OPTIONAL IfcColour;
	ModelOrDraughting : OPTIONAL IfcBoolean;
 WHERE
	IdentifiableCurveStyle : EXISTS(CurveFont) OR EXISTS(CurveWidth) OR EXISTS(CurveColour);
	MeasureOfWidth : (NOT(EXISTS(CurveWidth))) OR
('IFC4X3.IFCPOSITIVELENGTHMEASURE' IN TYPEOF(CurveWidth)) OR 
 (('IFC4X3.IFCDESCRIPTIVEMEASURE' IN TYPEOF(CurveWidth)) AND
 (CurveWidth = 'by layer'));
END_ENTITY;

8.12.3.5.6 References

8.12.3.5.7 Changelog

  • attributes, ModelOrDraughting
  • where_rules, IdentifiableCurveStyle
  • where_rules, MeasureOfWidth
  • where_rules, WR11