Python bindings for the "Procedural Runtime" (PRT) of CityEngine by Esri.
Project description
PyPRT is a Python binding for PRT ("Procedural Runtime"). It enables the execution of CityEngine CGA rules within Python. Using PyPRT, the generation of 3D content in Python is greatly simplified. Therefore, Python developers, data scientists, GIS analysts, etc. can efficiently make use of CityEngine rule packages in order to create 3D geometries stored as Python data structures, or to export these geometries in another format (like OBJ, Scene Layer Package, ... ). Given an initial geometry, on which to apply the CGA rule, the 3D generation is procedurally done in Python (Python script, Jupyter Notebook, ...). This allows for efficient and customizable geometry generation. For instance, when modeling buildings, PyPRT users can easily change the parameters of the generated buildings (like the height or the shape) by changing the values of the CGA rule input attributes.
PyPRT 3D content generation is based on CGA rule packages (RPK), which are authored in CityEngine. RPKs contain the CGA rule files that define the shape transformations, as well as supplementary assets. RPK examples can be found below and directly used in PyPRT.
PyPRT allows generating 3D models on multiple initial geometries. Different input attributes can be applied on each of these initial shapes. Moreover, the outputted 3D geometries can either be used inside Python or exported to another format by using one of PRT encoders.
PyPRT is free for non-commercial use. Commercial use requires at least one commercial license of the latest CityEngine version installed in the organization. No redistribution is allowed. An exception is the PyPRT source code (without CityEngine SDK, binaries or object code), which is licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for pyprt-1.2.0-35-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d4c498db8b0f57db7f1d0f3370d6f33297013a3e4886ffa4572f5e18d6a9fa9 |
|
MD5 | b74a15a15f1b0a7365db0522315a452c |
|
BLAKE2b-256 | aee1ee7a4b8e707b4e9cfdedf096025e18aa2aa96243fe789a8135d1d59c1ece |
Hashes for pyprt-1.2.0-35-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aab99a3e20194baabd68d10be54f20254b1c27976bf7cb319d9bc14373b800e |
|
MD5 | 768a31dc298a8745dce75348641888c4 |
|
BLAKE2b-256 | 8a6fcca2b72a2378c56173902825f2cf041527ff896acaa9b35a1379c01a3571 |
Hashes for pyprt-1.2.0-35-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa5c5c0b33b555244a0c89d5f968c1591ef5b4c67e8fa33d4b95ed73f9e0c90d |
|
MD5 | dfc48f0e443bea7c55a55b3f73d350e2 |
|
BLAKE2b-256 | fb89afb9ab41ff64be2b614a018d1384617773cd7e334c9476436c8752a9451b |