IfcRepresentationContext 与 IfcRepresentation

news2025/7/24 12:35:48

IfcRepresentationContext 与 IfcRepresentation

1. IfcRepresentationContext

IfcRepresentationContext 定义了成果(Product)的IfcRepresentation相关上下文。

The IfcRepresentationContext defines the context to which the IfcRepresentation of a product is related

representation上下文是representation项相关的上下文。

A representation context is a context in which a set of representation items are related

IfcRepresentationContext属性

类型描述
ContextIdentifierIfcLabel项目中representation context可选的标识.
ContextTypeIfcLabelrepresentation context类型描述.
RepresentationsInContextIfcRepresentation@ContextOfItems S[0:?]同一个representation context中所定义的所有shape representations.

1.1 IfcGeometricRepresentationContext

IfcGeometricRepresentationContext定义了针对项目中成果的 shape representations 应用的上下文

The IfcGeometricRepresentationContext defines the context that applies to several shape representations of products within a project.

内容:

  • 定义了shape representation类型

It defines the type of the context in which the shape representation is defined

  • 定义了数值精度

he numeric precision applicable to the geometric representation items defined in this context

  • 定义了WorldCoordinateSystem 属性,可用于偏移从项目坐标系的全局原点偏移

In addition it can be used to offset the project coordinate system from a global point of origin, using the WorldCoordinateSystem attribute

  • 提供真北方向

The main representation context may also provide the true north direction

关于the true north
示意图如下:
在这里插入图片描述

a.如果WorldCoordinateSystem 属性的y轴不指向全局北向,应该提供TrueNorth 属性

The TrueNorth attribute should be provided, if the y axis of the WorldCoordinateSystem does not point to the global northing

b.如果提供了HasCoordinateOperation 作为转换到地理坐标系统的变换,TrueNorth 仅仅作为一个信息展示不作他用。不会加到IfcCoordinateOperation任何变换运算中

If a conversion to a geographic coordinate system is included by virtue of the HasCoordinateOperation attribute, then the TrueNorth attribute shall be omitted or included only for informational purposes. It shall not be added to any transformation already applied by an IfcCoordinateOperation.

细节

当呈现model (3D) view时,IfcGeometricRepresentationContext是必须的;当呈现plan (2D) view 时是可选的(但是如果plan view是与比例尺相关的,就必须给定)。

The use of one instance of IfcGeometricRepresentationContext to represent the model (3D) view is mandatory, the use of a second instance of IfcGeometricRepresentationContext to represent the plan (2D) view is optional (but needs to be given, if there are scale dependent plan views)

示例:
在这里插入图片描述

1.2 IfcGeometricRepresentationSubContext

IfcGeometricRepresentationSubContext是 IfcGeometricRepresentationContext子上下文。共享IfcGeometricRepresentationContext的属性:WorldCoordinateSystem, CoordinateSpaceDimension, Precision, TrueNorth

IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext.

内容:
IfcGeometricRepresentationSubContext用于区分【与representation view和比例尺相关的信息内容】的呈现形式。

The IfcGeometricRepresentationSubContext is used to define semantically distinguished representation types for different information content, dependent on the representation view and the target scale

可以控制最适合与此geometric representation的lod的上下文。

It can be used to control the level of detail of the shape representation that is most applicable to this geometric representation context.

可以控制在plot 视图中的IfcShapeRepresentation的形式。

In addition the sub context is used to control the later appearance of the IfcShapeRepresentation within a plot view.

注意:如果IfcShapeRepresentation所用的子上下文中,有与某一项相关的IfcStyledItem,IfcStyledItem所呈现的样式信息(例如IfcCurveStyle,IfcTextStyle)是需要被应用到plot中的。

NOTE If the IfcShapeRepresentation using this sub context has IfcStyledItem’s assigned to the Items, the presentation style information (e.g. IfcCurveStyle, IfcTextStyle) associated with the IfcStyledItem is given in target plot dimensions. For example, a line thickness (IfcCurveStyle.CurveWidth) is given by a thickness measure relating to the thickness for a plot within the (range of) target scale.

每个IfcProduct类型可能存在多种IfcRepresentation的子类型实例,每种子类型都对应到不同的IfcGeometricRepresentationSubContext的上下文。

Each IfcProduct can then have several instances of subtypes of IfcRepresentation, each being assigned to a different IfcGeometricRepresentationSubContext).

IfcGeometricRepresentationSubContext的ContextIdentifier 属性值 可以标识 IfcShapeRepresentation的RepresentationIdentifier属性。

The applicable values for the inherited ContextIdentifier attribute shall be identical to the RepresentationIdentifier attrubute defined at IfcShapeRepresentation.

2.IfcRepresentation

IfcRepresentation定义成果(Product)属性的表达方式和形状的表达方式

The IfcRepresentation defines the general concept of representing product properties and in particular the product shape.

针对每个IfcRepresentation,公有定义属性:

ContextOfItems:引用 IfcGeometricRepresentationContext 作为其表达上下文Reference to an IfcGeometricRepresentationContext as agreed for this representation.
RepresentationIdentifier:表达形式,例如Body代表3D形状,FootPrint代表2D平面视图,Axis代表参考轴
Name of the representation, for example, ‘Body’ for 3D shape, ‘FootPrint’ for 2D ground view, ‘Axis’ for reference axis.
RepresentationType:几何体、拓扑关系的构建表达类型,例如SweptSolid表示3D扫掠建模实体,Brep表示边界约束建模实体
Name for the geometric, or topological representation type, for example, ‘SweptSolid’ for 3D swept solids, ‘Brep’ for boundary representation.

2.1.IfcShapeRepresentation

IfcShapeRepresentation 是为了表达一个成果的几何呈现方式,或者与特别地几何呈现上下文相关的成果部件。

The IfcShapeRepresentation represents the concept of a particular geometric representation of a product or a product component within a specific geometric representation context.
RepresentationType 属性定义了用来表达形状呈现方式的几何建模方式(比如’SweptSolid’, 'Brep)
The inherited attribute RepresentationType is used to define the geometric model used for the shape representation (e.g. ‘SweptSolid’, or ‘Brep’).

RepresentationIdentifier 属性用于表达IfcShapeRepresentation 定义的呈现类别(比如’Axis’, ‘Body’)

the inherited attribute RepresentationIdentifier is used to denote the kind of the representation captured by the IfcShapeRepresentation (e.g. ‘Axis’, ‘Body’, etc.).

一些用于标识shape representation的呈现标志的值,属于RepresentationIdentifier属性预定义值的集合。

Several representation identifiers for shape representation are included as predefined values for RepresentationIdentifier.

在这里插入图片描述

一些用于定义shape representation的呈现类型的值,属于RepresentationType属性预定义值的集合

Several representation types for shape representation are included as predefined values for RepresentationType.

在这里插入图片描述

2.2. IfcRepresentationItem

IfcRepresentationItem 是 IfcRepresentation用于呈现IfcProductRepresentation的具体项。主要内容包含:

几何体或者拓扑实体表达项
实体表达样式信息
The IfcRepresentationItem is used within an IfcRepresentation (directly or indirectly through other IfcRepresentationItem’s) to represent an IfcProductRepresentation. Most commonly these IfcRepresentationItem’s are geometric or topological representation items, that can (but not need to) have presentation style infomation assigned.

关联样式可以通过 IfcStyledItem和IfcPresentationLayerWithStyle进行定义,如下图所示
在这里插入图片描述
可以通过IfcStyledItem的样式覆盖IfcPresentationLayerWithStyle的样式,如下图:
在这里插入图片描述

2.2.1.IfcGeometricRepresentationItem

IfcGeometricRepresentationItem 作为表达项的所有几何对象的基类

An IfcGeometricRepresentationItem is the common supertype of all geometric items used within a representation.
在这里插入图片描述

2.2.1.IfcMappedItem

IfcMappedItem 是源定义的插入实例(为了与block 、shared cell 、macro 定义进行比较),这个实例是被用于笛卡尔变换。

The IfcMappedItem is the inserted instance of a source definition (to be compared with a block / shared cell / macro definition). The instance is inserted by applying a Cartesian transformation operator as the MappingTarget.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/394827.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

通过堆栈分析深拷贝、浅拷贝、赋值的差异

前言数据类型分为:基本数据类型String、Number、Boolean、Null、Undefined、Symbol对象数据类型Object、Array基本数据类型的特点:直接存储在栈(stack)中的数据引用数据类型的特点:存储的是该对象在栈中引用,真实的数据存放在堆内…

云原生时代顶流消息中间件Apache Pulsar部署实操之轻量级计算框架

文章目录Pulsar Functions(轻量级计算框架)基础定义工作流程函数运行时处理保证和订阅类型窗口函数定义窗口类型滚动窗口滑动窗口函数配置函数示例有状态函数示例窗口函数示例自定义函数开发定义原生语言接口示例Pulsar函数SDK示例Pulsar Functions(轻量级计算框架) 基础定义 …

实验一:递归

1.铺砖 题目描述: 对于一个2行N列的走道。现在用12或22的砖去铺满。问有多少种不同的方式(请用递推方式求解)。如果N很大,需要高精度计算。下图是一个2行17列的走道的某种铺法: 输入要求: 一个整数N&a…

GitHub Copilot 全新升级,工作效率提升 55%

2021年 6 月,GitHub 和 OpenAI 推出了 GitHub Copilot 预览版,可根据命名或者正在编辑的代码上下文为开发者提供代码建议,被称为“你的 AI 结对程序员”。 近日,GitHub 宣布,经过去年 12 月以来的短暂测试后&#xff…

Spring基本概念与使用

文章目录一、Spring概念1.容器2.IoC3.DI4.Ioc与DI的关系二、Spring创建与使用1.Maven2.添加Spring框架支持注:国内的Maven源配置3.简单实例(1)创建一个Bean对象。(2)将Bean对象存储到Spring当中(3&#xff…

JavaWeb基础

Servlet 是在服务器上运行的小程序。这个词是在 Java applet的环境中创造的,Java applet 是一种当作单独文件跟网页一起发送的小程序,它通常用于在客户端运行,结果得到为用户进行运算或者根据用户互作用定位图形等服务。服务器上需要一些程序…

Jenkins最新版安装调试

清理旧的jenkins: find / -name jenkins* 一项一项的清理:rm -rf /var/log/jenkins* 下载最新版jenkins镜像:jenkins-redhat-stable安装包下载_开源镜像站-阿里云 上传到服务器: 安装命令: yum install -y jenkins…

Excel不愧是宝藏游戏机

你玩过95版Excel自带的游戏彩蛋吗? 众所周知,微软有做彩蛋的传统,这个传统最早是在1979年由比尔盖茨写下的basic复活节彩蛋开始的,当时你只需要输入“WAIT6502,1″,就可以跳出“MICROSOFT!”字符串。到后来,全体微软开…

Redis学习(六):主从复制,发布订阅和实际可能遇到缓存失效的情况

Redis发布订阅 Redis发布订阅(Public/Subscribe)是一种消息通信模式:发送者发送消息,订阅者接收消息。 Redis客户端可以订阅任意数量的频道。 这张图里有三个角色: 消息发送者频道(消息队列)…

AIGC时代,大模型微调如何发挥最大作用?

人工智能的快速发展推动了大模型的广泛应用,它们在语言、视觉、语音等领域的应用效果已经越来越好。但是,训练一个大模型需要巨大的计算资源和时间,为了减少这种资源的浪费,微调已经成为一种流行的技术。微调是指在预训练模型的基…

2023年3月全国DAMA-CDGA/CDGP数据管理认证火热报名中...

弘博创新是DAMA中国授权的数据治理人才培养基地,贴合市场需求定制教学体系,采用行业资深名师授课,理论与实践案例相结合,快速全面提升个人/企业数据治理专业知识与实践经验,通过考试还能获得数据专业领域证书。 DAMA认…

【iOS】—— 浅看block源码

block 文章目录block如何通过终端clang生成源码cpp文件block实质截获自动变量全局变量和静态变量的截获__block说明符iOS开发“强弱共舞”——weak和strong配套使用解决block循环引用问题如何通过终端clang生成源码cpp文件 之前在学习block中学习的比较浅,只看了oc…

sentinel源码入门

sentinel是一个流量治理组件,主要用来做降级、熔断和限流,以及监控等,sentinel的使用相对来说比较简单,这篇博客主要介绍sentinel的源码 入口 在使用sentinel的时候,我们需要引入sentinel的相关jar包,然后…

如何使用码匠连接 ClickHouse

目录 在码匠中集成 ClickHouse 在码匠中使用 ClickHouse 关于码匠 ClickHouse 数据源是一种列式数据库管理系统,由俄罗斯 Yandex 公司开发和维护。它专注于高性能、高并发、高可扩展性和低延迟的数据处理,特别是在海量数据的 OLAP(联机分析…

性能分析利器:火焰图

什么是火焰图 火焰图(FlameGraph)是是由 Linux 性能优化大师 Brendan Gregg 发明的。通过 perf 等工具分析得到结果,看起来就像是火焰,这也是它的名字的由来。火焰图以一个全局的视野来看待时间分布,它从底部往顶部&am…

Dockerfile部署SpringBoot项目

Dockerfile部署SpringBoot项目 文章目录 利用Dockerfile部署SpringBoot项目 1、创建一个SpringBooot项目并且打成jar包2、在Linux中创建一个文件夹,来做docker测试3、将jar包上传到Linux中4、编写Dockerfile文件5、制作镜像6、启动容器7、查看容器启动日志8、访问接…

高效能自动化港口数字化码头智慧港航,中国人工智能企业CIMCAI世界港航人工智能领军者,成熟港口码头人工智能产品中国人工智能企业

打造高效能自动化港口数字化码头智慧港航,中国人工智能企业CIMCAI中集飞瞳世界港航人工智能领军者,成熟港口码头人工智能产品全球顶尖AI科技CIMCAI成熟AI产品全球前三船公司及港口落地,包括全球港口/堆场智能闸口验箱,全球港口岸边…

Vulnhub系列:Raven 1

该篇为Vulnhub系列靶机渗透,本次靶机存在4个flag。下面开始我们今天的渗透之旅。Raven靶机有很多种思路,我将对其进行一一整理。首先进行信息收集,利用arp-scan和nmap,进行靶机的ip及端口扫描发现了22、80、111端口。下面访问80端…

【LeetCode】剑指 Offer 23. 链表中环的入口节点 p139 -- Java Version

题目链接:https://leetcode.cn/problems/c32eOV/ 1. 题目介绍(23. 链表中环的入口节点) 给定一个链表,返回链表开始入环的第一个节点。 从链表的头节点开始沿着 next 指针进入环的第一个节点为环的入口节点。如果链表无环&#x…

怎么清空回收站?3分钟解决!

真实案例:回收站清空不了怎么办?怎样清空回收站里的文件? “各位大神,怎么恢复回收站里清空的文件?我按照百度上的方法,还是不行。” 当你在电脑上删除文件时,它们通常会被移到回收站&#xf…