Releases: Esri/pyprt
PyPRT 1.10.0
Welcome to PyPRT 1.10.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.9.0 (see changelog for all changes):
-
Added
- Added support for Rule Packages (RPK) created with CityEngine 2024.0
-
Changed
- Updated to PRT 3.2.10211
- Updated unit tests for PRT bug fix and adapted to behavior changes (see readStringTable and convexify in changelog).
PyPRT 1.9.0
Welcome to PyPRT 1.9.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.8.0 (see changelog for all changes):
- Updated to PRT 3.2.9903
- Updated build platforms and toolchains to MSVC 14.37 and RHEL8, GCC 11 (as required by PRT)
PyPRT 1.8.0
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
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 theInitialShape
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
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 varPYBIND11_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
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
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
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
onGeneratedModel
. 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
- New function
- Changed
- Updated the
arcgis_to_pyprt
function to work with the latestarcgis
package (1.8) - Switched from
pipenv
tovenv
to better support multiple Python versions
- Updated the
- Removed
- Removed previously deprecated API functions
inspect_rpk
and overload ofgenerate_model
- Removed
tox
to simplify running tests in multiple Python versions
- Removed previously deprecated API functions
Please find instructions and examples on the homepage at https://esri.github.io/cityengine/pyprt
PyPRT 1.2.0
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 deprecatedinspect_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 thegenerate_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 theinpect_rpk(...)
andget_rpk_attributes_info(...)
functions).
Please find instructions and examples on the homepage at https://esri.github.io/pyprt
PyPRT 1.1.0
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
andStartRule
attributes in RPKs. - The
GeneratedModel
class now provides access to CGAprint
and error output when used with thePyEncoder
(newget_cga_prints()
andget_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.