pyprt:Esri对CityEngine的“过程运行时”(PRT)进行Python绑定-源码

上传者: 42123296 | 上传时间: 2021-06-28 16:33:01 | 文件大小: 5.06MB | 文件类型: ZIP
PyPRT-CityEngine SDK的Python绑定 PyPRT是PRT(CityEngine程序运行时)的Python绑定。 它允许在Python中执行CityEngine CGA规则。 PyPRT允许轻松高效地生成3D几何图形,将其作为Python数据结构进行处理或将其导出为多种3D文件格式。 目录 安装 对于Python 3.6(64位), pip install pyprt在(虚拟)Python环境中运行pip install pyprt或在Conda环境中运行conda install -c esri pyprt 。 然后在脚本中使用import pyprt 。 对于其他Python版本,请立即自己PyPRT。 最少使用 import os import pyprt ​ # PRT Initialization pyprt . initialize_prt () ​ # Initial Shape shape_geometry = pyprt . InitialShape ([ 0 , 0 , 0 , 0 , 0 , 100 , 100 , 0 , 100 , 100

文件下载

资源详情

[{"title":"( 65 个子文件 5.06MB ) pyprt:Esri对CityEngine的“过程运行时”(PRT)进行Python绑定-源码","children":[{"title":"pyprt-master","children":[{"title":"setup.py <span style='color:#111;'> 11.67KB </span>","children":null,"spread":false},{"title":".clang-format <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"diagram.png <span style='color:#111;'> 149.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"client","children":[{"title":"GeneratedModel.cpp <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"GeneratedModel.h <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"PyCallbacks.h <span style='color:#111;'> 6.37KB </span>","children":null,"spread":false},{"title":"types.h <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"doc.h <span style='color:#111;'> 11.20KB </span>","children":null,"spread":false},{"title":"PythonLogHandler.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"InitialShape.h <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"utils.cpp <span style='color:#111;'> 10.64KB </span>","children":null,"spread":false},{"title":"PRTContext.cpp <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"PyCallbacks.cpp <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"InitialShape.cpp <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"utils.h <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"ModelGenerator.h <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"logging.h <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"ModelGenerator.cpp <span style='color:#111;'> 11.63KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"PRTContext.h <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"api.cpp <span style='color:#111;'> 9.99KB </span>","children":null,"spread":false},{"title":"PythonLogHandler.cpp <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"dependencies.cmake <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"codec","children":[{"title":"encoder","children":[{"title":"PyEncoder.cpp <span style='color:#111;'> 8.32KB </span>","children":null,"spread":false},{"title":"PyEncoder.h <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"IPyCallbacks.h <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false}],"spread":true},{"title":"codec.h <span style='color:#111;'> 946B </span>","children":null,"spread":false},{"title":"codec.cpp <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"data","children":[{"title":"building_parcel.obj <span style='color:#111;'> 471B </span>","children":null,"spread":false},{"title":"FacesHolesVerticesrule.rpk <span style='color:#111;'> 6.93KB </span>","children":null,"spread":false},{"title":"candler_footprint.obj <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"arrayAttrs.rpk <span style='color:#111;'> 7.25KB </span>","children":null,"spread":false},{"title":"envelope2002.rpk <span style='color:#111;'> 3.90MB </span>","children":null,"spread":false},{"title":"candler.rpk <span style='color:#111;'> 1.09MB </span>","children":null,"spread":false},{"title":"extrusion_rule.rpk <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"pyGeometry_test.py <span style='color:#111;'> 8.73KB </span>","children":null,"spread":false},{"title":"inspectRPK_test.py <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"otherExporter_test.py <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"arcgis_test.py <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"shapeAttributesDict_test.py <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false},{"title":"run_tests.py <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"pyprt","children":[{"title":"__init__.py <span style='color:#111;'> 724B </span>","children":null,"spread":false},{"title":"pyprt_arcgis","children":[{"title":"__init__.py <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"pyprt_arcgis.py <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"pyprt","children":[{"title":"__init__.py <span style='color:#111;'> 703B </span>","children":null,"spread":false}],"spread":true},{"title":"pyprt_utils","children":[{"title":"__init__.py <span style='color:#111;'> 705B </span>","children":null,"spread":false},{"title":"pyprt_utils.py <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Pipfile <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"environment.yml <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"pyprt.pyprt_utils.rst <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"index.rst <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"conf.py <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"pyprt.pyprt_arcgis.rst <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"pyprt.rst <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"pyprt.pyprt.rst <span style='color:#111;'> 176B </span>","children":null,"spread":false}],"spread":true},{"title":"Jenkinsfile <span style='color:#111;'> 6.21KB </span>","children":null,"spread":false},{"title":"get_pkg_version.py <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"tox.ini <span style='color:#111;'> 259B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明