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


边栏推荐
- Switch user mode, privileged mode, global mode, port mode
- 实习项目2-主页配置-我的数据模块
- 单臂路由配置
- Router loopback port experiment
- Solve the problem of inconsistent prediction effect between text detection training model and information model based on paddleocr
- STL容器——queue与deque的基本操作
- Multifunctional (Implementation) encapsulation function
- cookie是否有效时间限定?如何设置cookie?手把手教你设置
- STL容器——vector的基本操作
- Applet cloud development form submission and data acquisition in the page
猜你喜欢

Uniapp uses uview to realize folding panel

es6新增-对象部分

循环赛制日程表问题

Single arm routing configuration

实习项目1-个性化主页配置

第一个智能合约程序Faucet.sol

使用Echars实现水滴状、环形图、分割图、堆叠、组织架构图、地图轮廓等图表

Submit the uniapp form (input, radio, picker) to get the parameter value

ArcGIS 点云(xyz)数据转DEM

Wechat applet obtains the week, morning, noon and evening of month, year and day
随机推荐
Continue from the previous issue: the remaining two methods of the rotation chart
使用js中的(offset,page)实现登录效果
RK356x U-Boot研究所(命令篇)3.4 mem内存相关命令的用法
Base64 and file conversion
微信小程序5-基础加强(没写完)
markdown笔记以及Typora相关快捷键
[ES6] use multiple functions such as adding data, filtering and transmitting to the page to realize cases
es6新增-字符串部分
小程序云开发表单提交并在页面中获取数据
多功能(实现)封装函数
mysql的事务
第一个智能合约程序Faucet.sol
父组件加scoped有时也会影响子组件
vscode终端无法使用解决的办法
Solve the problem of inconsistent prediction effect between text detection training model and information model based on paddleocr
Nacos configuration management
Internship project 3- change owner
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
基于PaddleOCR解决文本检测训练模型与inference模型预测效果不一致的问题
Pat class B 1002: write this number