Skip to content

Releases: Esri/pyprt

PyPRT 1.8.0

27 Mar 12:44
3e8e984
Compare
Choose a tag to compare

Welcome to PyPRT 1.8.0!

The PyPRT packages are available via pip on PyPI (https://pypi.org/project/PyPRT/) and conda on Anaconda Cloud (https://anaconda.org/Esri/pyprt). Please see the README for installation instructions and example scripts.

Changes compared to 1.7.0 (see changelog for all changes):

  • Added

    • Added support for Rule Packages (RPK) created with CityEngine 2023.1
    • Added support for Python 3.11
  • Changed

    • Updated to PRT 3.1.9666
    • Updated to PyBind11 2.11.1
    • Raised minimum CMake version to 3.19
  • Removed

    • Removed support for Python 3.7

PyPRT 1.7.0

29 Jun 07:43
9385141
Compare
Choose a tag to compare

Welcome to PyPRT 1.7.0!

The PyPRT packages are available via pip on PyPI (https://pypi.org/project/PyPRT/) and conda on Anaconda Cloud (https://anaconda.org/Esri/pyprt). Please see the README for installation instructions and examples.

Changes compared to 1.6.0 (changelog):

  • Added

    • Added support for Rule Packages (RPK) created with CityEngine 2023.0
    • Added support for textured initial shapes (also added the maxDirRecursionDepth argument to the InitialShape class constructor to control searching for texture files)
    • Added new API function get_api_version to get a list of the PRT (major, minor, build) components
  • Changed

    • Updated to PRT 3.0.8905
    • Updated to PyBind11 2.10.4
  • Deprecation Notes

    • Support for Python 3.7 will be removed in the next release

PyPRT 1.6.0

22 Dec 09:48
19a6255
Compare
Choose a tag to compare

Welcome to PyPRT 1.6.0!

The PyPRT packages are available via pip on PyPI (https://pypi.org/project/PyPRT/) and conda on Anaconda Cloud (https://anaconda.org/Esri/pyprt). Please see the README for installation instructions and examples.

Changes since 1.5.0:

  • Added

    • Support for Rule Packages created in CityEngine 2022.1
    • Added pre-built wheels and conda packages for Python 3.10
    • New CMake flag pybind11_DIR and env var PYBIND11_DIR for setup.py to let users specify a custom copy of PyBind11
    • New example (number 10) about updating Scene Layers used in Web Scenes
  • Changed

    • Update to PRT 2.7
    • pyprt_arcgis module: added handling of polygons holes (inner rings) based on Shapely
    • Cleaned and updated environment files
    • Improved conda environments pipeline
  • Removed

    • Python 3.6 support

PyPRT 1.5.0

11 Jan 09:33
3d0df7e
Compare
Choose a tag to compare

Welcome to PyPRT 1.5.0!

The PyPRT packages are available via pip on PyPI (https://pypi.org/project/PyPRT/) and conda on Anaconda Cloud (https://anaconda.org/Esri/pyprt). Please see the README for installation instructions and examples.

Changes since 1.4.0:

  • Added

    • New PyEncoder option 'triangulate' to triangulate the geometry
  • Changed

    • Internal update to PRT 2.6
    • Removed debug symbols from the native module in the released packages
    • Development: expose the setup.py --debug option to switch between "Release" and "Release with Debug Info" for the native module
    • Updated notebook, jupyterlab, pillow and babel versions in the environment files based on dependabot security analysis

PyPRT 1.4.0

25 Aug 09:51
a50d30d
Compare
Choose a tag to compare

Welcome to PyPRT 1.4.0!

The PyPRT packages are available via pip on PyPI (https://pypi.org/project/PyPRT/) and conda on Anaconda Cloud (https://anaconda.org/Esri/pyprt).

Changes since 1.3.0:

  • Added
    • Added pre-built wheels and conda packages for Python 3.9
  • Changed
    • Internal update to PRT 2.4 (CityEngine 2021.0)
    • Updated compiler requirements on Windows (MSVC 14.27) and Linux (GCC 9.3)
    • Updated urllib3, pywin32 and pillow versions in the environment requirements-py3.*.txt files based on dependabot security analysis
  • Removed
    • Removed MacOS support as PRT 2.4 and later is not available anymore on that platform

Please find instructions and examples on the homepage at https://esri.github.io/cityengine/pyprt

PyPRT 1.3.0

12 May 16:54
9a2d2e2
Compare
Choose a tag to compare

Welcome to PyPRT 1.3.0!

The PyPRT packages are available via pip on PyPI (https://pypi.org/project/PyPRT/) and conda on Anaconda Cloud (https://anaconda.org/Esri/pyprt).

Changes since 1.2.0:

  • Added
    • New function get_attributes on GeneratedModel. Returns the CGA rule attributes used to generate the model
    • Added support for CGA array attributes
    • Added pre-built wheels and conda packages for Python 3.7 and 3.8
  • Changed
    • Updated the arcgis_to_pyprt function to work with the latest arcgis package (1.8)
    • Switched from pipenv to venv to better support multiple Python versions
  • Removed
    • Removed previously deprecated API functions inspect_rpk and overload of generate_model
    • Removed tox to simplify running tests in multiple Python versions

Please find instructions and examples on the homepage at https://esri.github.io/cityengine/pyprt

PyPRT 1.2.0

01 Dec 08:34
5703a0d
Compare
Choose a tag to compare

Welcome to PyPRT 1.2.0!

The Python package is available on PyPI (https://pypi.org/project/PyPRT/) and on Anaconda Cloud (https://anaconda.org/Esri/pyprt).

Changes since 1.1.0:

  • Added new get_rpk_attributes_info(...) function to query CGA rule attributes and their annotations (it replaces the deprecated inspect_rpk(...) function).
  • Added support for initial shapes with holes and multi polygons to the arcgis_to_pyprt(...) function.
  • New PyPRT icon.
  • Removed the overload generate_model(rule_attributes) (only use the generate_model(rule_attributes, rule_package_path, geometry_encoder, encoder_options) function).
  • Internal update to PRT 2.3.
  • Updated compiler requirements on Windows to be in sync with PRT 2.3 (MSVC 14.23).
  • Removed streetWidth(a) attribute from the rule package attributes dictionary (in the inpect_rpk(...) and get_rpk_attributes_info(...) functions).

Please find instructions and examples on the homepage at https://esri.github.io/pyprt

PyPRT 1.1.0

16 Jul 15:00
0489e65
Compare
Choose a tag to compare

Welcome to PyPRT 1.1.0!

The Python package is available on PyPI (https://pypi.org/project/PyPRT/) and on Anaconda Cloud (https://anaconda.org/Esri/pyprt).

Changes since 1.0.0:

  • Added new API function pyprt.inspect_rpk(...) to query available CGA rule attributes.
  • Added support for macOS 10.15 (Catalina).
  • Added support for initial shapes with polygon holes.
  • Added automatic detection of RuleFile and StartRule attributes in RPKs.
  • The GeneratedModel class now provides access to CGA print and error output when used with the PyEncoder (new get_cga_prints() and get_cga_errors() functions).
  • Internal update to PRT 2.2 (adds support for CGA language features of CityEngine 2020.0).
  • Reorganization and cleanup of C++ sources.
  • Moved PyPRT conda package to Esri organization.

PyPRT 1.0.0

11 May 08:27
Compare
Choose a tag to compare

Welcome to PyPRT 1.0.0!

The Python package is available on PyPI (https://pypi.org/project/PyPRT/) and on Anaconda Cloud (https://anaconda.org/esri-rd-zurich/pyprt).

Changes since 1.0.0 Beta:

  • conda support for PyPRT installation
  • API documentation
  • README, setup.py metadata and PyPI project page improvements

PyPRT 1.0.0 Beta 1

20 Feb 15:34
Compare
Choose a tag to compare
PyPRT 1.0.0 Beta 1 Pre-release
Pre-release

Welcome to the first public release of PyPRT!

The release is available on PyPI: https://pypi.org/project/pyprt/1.0.0b1/