当前位置:网站首页>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 :


边栏推荐
猜你喜欢

mysql 缓存策略和解决方案

Ucharts chart, pie chart, bar chart and line chart are used in uniapp

uni-app 条件编译#ifdef #endif 兼容多个终端

Nacos配置管理

BUUCTF web WarmUp

Excel计算本月剩余天数

ThreadLocal thread safety example and its principle

Applet cloud development upload pictures to cloud storage

小程序云开发表单提交并在页面中获取数据

Shell script configures root to login to other hosts without secret
随机推荐
The first smart contract program faucet sol
STL container -- basic operation of map
使用Echars实现水滴状、环形图、分割图、堆叠、组织架构图、地图轮廓等图表
Applet editor rich text editing and rich text parsing
mysql - 索引
Easypoi excel multi sheet import
Solve the problem of inconsistent prediction effect between text detection training model and information model based on paddleocr
Shell script configures root to login to other hosts without secret
Case summary of rotation chart moving speed (constant speed, slow motion)
Easypoi之excel多sheet导入
微信小程序5-基础加强(没写完)
运维安全要了解的二三事
父组件加scoped有时也会影响子组件
Nacos configuration management
热更新及其原理
web3js开发技术
redis 源码分析 动态字符串实现(sds)
Cesium 绑定鼠标事件和移除鼠标事件
MapBox 加载本地离线地形
Get the multi-functional version of the maximum and minimum values of the internal values of the objects in the array and the full version of the roll call system, and show the effect