Skip to main content

Python bindings for the 'Procedural Runtime' (PRT) of CityEngine by Esri.

Project description

PyPRT provides a Python binding for PRT (Procedural RunTime) of CityEngine. This 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pyprt-1.10.0.9-cp311-cp311-win_amd64.whl (49.4 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

pyprt-1.10.0.9-cp311-cp311-manylinux_2_28_x86_64.whl (64.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

pyprt-1.10.0.9-cp310-cp310-win_amd64.whl (49.4 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

pyprt-1.10.0.9-cp310-cp310-manylinux_2_28_x86_64.whl (64.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

pyprt-1.10.0.9-cp39-cp39-win_amd64.whl (49.4 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

pyprt-1.10.0.9-cp39-cp39-manylinux_2_28_x86_64.whl (64.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

pyprt-1.10.0.9-cp38-cp38-win_amd64.whl (49.4 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

pyprt-1.10.0.9-cp38-cp38-manylinux_2_28_x86_64.whl (64.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page