IfcDraughtingPreDefinedColour

绘图预定义颜色是一种预定义颜色,用于按名称识别颜色。允许的名称包括:

  • 'black',
  • 'red',
  • 'green',
  • 'blue',
  • 'yellow',
  • 'magenta',
  • 'cyan',
  • 'white',
  • 'by layer'

注:IfcDraughtingPreDefinedColour是一个从ISO 10303-202《工业自动化系统和集成产品数据表示与交换》第202部分:应用协议:关联绘图中采用的实体。

下表列出了与IfcDraughtingPreDefinedColour给定的名称关联的RGB值。

Colour name Red Green Blue
black 0 0 0
red 1.0 0 0
green 0 1.0 0
blue 0 0 1.0
yellow 1.0 1.0 0
magenta 1.0 0 1.0
cyan 0 1.0 1.0
white 1.0 1.0 1.0
by layer colour values obtained from
IfcPresentationLayerWithStyle.

 

 

 

 

 

 

 

 

 

 

 

 

注:对应的ISO 10303名称:绘图颜色。正式标准的最终定义请参考ISO/IS 10303-202:1994第194页。

IFC2x2中增加的新实体。

 

非正式提议:

如果使用颜色定义的几何表示项与IfcPresentationLayerWithStyle有关联,并且IfcPresentationLayerWithStyle的实例对IfcCurveStyle、IfcSymbolStyle或IfcSurfaceStyle有有效的颜色定义(取决于适用的内容),则只能插入值“按层”。

 

Formal Propositions

RuleDescription
PreDefinedColourNames The inherited name for pre defined items shall only have the value of one of the following words.
 

 

 

 

 

Attribute inheritance

#AttributeTypeCardinalityDescriptionC
IfcPresentationItem
IfcPreDefinedItem
1 Name IfcLabel [1:1] The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. X
IfcPreDefinedColour
IfcDraughtingPreDefinedColour
 

 

 

 

 

 

 

 

EXPRESS Specification

ENTITY IfcDraughtingPreDefinedColour
 SUBTYPE OF (IfcPreDefinedColour);
 WHERE
  PreDefinedColourNames : SELF\IfcPreDefinedItem.Name IN ['black','red','green','blue','yellow', 'magenta','cyan','white','by layer'];
END_ENTITY;

 

posted @ 2020-12-31 15:45  西北逍遥  阅读(111)  评论(0编辑  收藏  举报