当前位置:网站首页>CityEngine 三维管道建模教程
CityEngine 三维管道建模教程
2022-07-17 05:06:00 【Wxy4Z1zzz】
1、对整个二维管线创建3m的缓冲区(Buffer),具体参数配置如下图所示:

2、将创建好的【缓冲区图层】放到data文件夹下并导入到CityEngine中:

3、依次对每段管线添加折点信息。管段起点和终点的Y值,分别对应属性信息的起点管道中心高程(st_mz)和终点管道中心高程(end_mz):

4、给所有对象分配规则文件,规则文件需要自己编辑:

// pipArea(横向)
/**
* File: pipArea.cga
* Created: 5 Feb 2020 08:53:09 GMT
* Author: Administrator
*/
version "2018.0"
@Group("Pip",1)
attr diameter=3.024
@Group("Pip",2)
attr link=0.5
Pipes -->
Pipes(diameter)
Pipes(diameter) -->
Pipe(diameter)Flow(diameter)
Pipe(diameter) -->
s(scope.sx+link,diameter,diameter)
i("primitives/cylinder.hor.obj")
color("#000000")
center(xyz)
Flow(diameter) -->
t(0.1,diameter*0.1,diameter*0.1)
s(scope.sx+link,diameter*0.8,diameter*0.8)
i("primitives/cylinder.hor.obj")
color("#6495ED")
center(xyz)
# PipeHolderLeft(diameter) -->
# t(-diameter*0.6,-diameter*0.1,-diameter*0.1)
# s(diameter*1.2,diameter*1.2,diameter*1.2)
# primitiveCube
# color("#708090")
# center(xyz)
// pipArea(竖向)
/**
* File: pipArea.cga
* Created: 5 Feb 2020 08:53:09 GMT
* Author: Administrator
*/
version "2018.0"
@Group("Pip",1)
attr diameter=3.024
@Group("Pip",2)
attr link=0.5
Pipes -->
Pipes(diameter)
Pipes(diameter) -->
alignScopeToGeometry(yUp, 1)
Pipe(diameter)Flow(diameter)
Pipe(diameter) -->
s(scope.sx+link,diameter,diameter)
i("primitives/cylinder.hor.obj")
color("#000000")
center(xyz)
Flow(diameter) -->
t(0.1,diameter*0.1,diameter*0.1)
s(scope.sx+link,diameter*0.8,diameter*0.8)
i("primitives/cylinder.hor.obj")
color("#6495ED")
center(xyz)
# PipeHolderLeft(diameter) -->
# t(-diameter*0.6,-diameter*0.1,-diameter*0.1)
# s(diameter*1.2,diameter*1.2,diameter*1.2)
# primitiveCube
# color("#708090")
# center(xyz)
5、依次修改每段管线的直径,对应属性信息的直径:

6、通过调整管道的缩进来解决管道转折处的空隙问题:


7、检查并生成模型。
8、导出GDB格式的模型,并在arcgis中查看效果:


边栏推荐
- Using JS to realize the second level menu of anjuke and the full version (demonstration of precautions and problem points)
- 02_電影推薦(ContentBased)_用戶畫像
- STL容器——map的基本操作
- 【Es6】利用添加数据,筛选并传输至页面等多项功能实现案例
- MapBox 加载本地离线地形
- 学习C语言第二天
- Simply and quickly establish a pytorch environment yolov5 target detection model to run (super simple)
- 运维安全要了解的二三事
- 基于cuda10.0的pytorch深度学习环境配置
- PAT乙级1017: A除以B
猜你喜欢

Use of flask

【LeetCode——编程能力入门第一天】基本数据类型[在区间范围内统计奇数数目/去掉最低工资和最高工资后的工资平均值)

es6新增-运算符的扩展

es6新增-数组/对象的解构赋值

哨兵二号轨道数据下载

Actual cases of data analysis and data mining local house price prediction (716):

Hire the server, and the pytorch environment training yolov5 model tutorial deployed on pycharm professional edition. Server environment installation library file:

UML(用例图,类图,对象图,包图)

微信小程序获取年月日周及早上、中午、晚上

Feature extraction of machine learning (digitization and discretization of category features and digitization of text features)
随机推荐
无重复字符的最长字串
02 Bar _ Recommandation de film (basée sur le contenu) Portrait de l'utilisateur
轮播图移动速度(匀速,缓动)案例归总
微信小程序获取年月日周及早上、中午、晚上
Internship project 3- change owner
01_电影推荐(ContentBased)_物品画像
ES6 real case deconstruction (multidimensional array object) new case:
一个问题的探讨
es6新增-对象部分
uniapp 使用uview实现折叠面板
PCA feature dimensionality reduction of machine learning + case practice
【C语言_学习_考试_复习第三课】ASCII码与C语言概述
读论文《SNUNet-CD: A Densely Connected Siamese Network for Change Detection of VHR Images》
IText modify PDF Text
vscode终端无法使用解决的办法
Two JS methods of rolling wheel loading and modal box dragging
Two methods of rotation chart and automatic rotation
轮播图节流阀原理及本地存储归总
Using JS to realize the second level menu of anjuke and the full version (demonstration of precautions and problem points)
ThreadLocal thread safety example and its principle