当前位置:网站首页>Cityengine 3D pipe modeling tutorial
Cityengine 3D pipe modeling tutorial
2022-07-19 05:20:00 【Wxy4Z1zzz】
1、 Create for the entire 2D pipeline 3m The buffer (Buffer), The specific parameter configuration is shown in the figure below :

2、 Will create the 【 Buffer layer 】 Put it in data Folder and import to CityEngine in :

3、 Add break point information to each section of pipeline in turn . Start and end of pipe segment Y value , Corresponding to the starting pipe center elevation of the attribute information respectively (st_mz) And the center elevation of the end pipe (end_mz):

4、 Assign rule files to all objects , The rule file needs to be edited by yourself :

// pipArea( The transverse )
/**
* 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( vertical )
/**
* 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、 Modify the diameter of each section of pipeline in turn , The diameter of the corresponding attribute information :

6、 Solve the gap problem at the turning point of the pipe by adjusting the indentation of the pipe :


7、 Check and generate model .
8、 export GDB Format model , And in arcgis View the effect :


边栏推荐
猜你喜欢
随机推荐
STL容器——vector的基本操作
es6新增-运算符的扩展
Cesium BIND Mouse Events and remove Mouse Events
Log4j的使用
Shell script configures root to login to other hosts without secret
How to deal with the mismatch between subtitle files and video files
2.6.2 内存泄漏
ArcGIS 点云(xyz)数据转DEM
Easypoi之excel多sheet导入
Mongo DB aggregate operations and indexes
实习项目3-更改所有者
【AI】利用简单神经网络做动作识别——基于coco关键点
js 原生对象加属性
手把手教你复现Log4j2核弹级漏洞
多功能(实现)封装函数
Baidu map realizes thermal map
Base64 and file conversion
Easypoi excel multi sheet import
使用js中的(offset,page)实现登录效果
STL容器——queue与deque的基本操作









