- Added support for Rule Packages (RPK) created with CityEngine 2024.0
- Updated to PRT 3.2.10211
- Updated unit tests for PRT bug fix and adapted to behavior changes (see
readStringTable
andconvexify
in changelog).
- Updated to PRT 3.2.9903
- Linux: fixed RPATH entries of various PRT libraries to make
auditwheel
work correctly. - Raised build toolchains to MSVC 14.37 and RHEL 8, GCC 11 (as required by PRT).
- Added support for Rule Packages (RPK) created with CityEngine 2023.1
- Added pre-built wheels and conda packages for Python 3.11
- Introduced
pyproject.toml
(calling setup.py directly has been deprecated bysetuptools
)
- Updated to PRT 3.1.9666
- Switched to the
build
package for wheel builds - Reorganized the
src
directory to better support isolated builds - Switched conda builds from
bdist_conda
to explicit conda recipe (conda-recipe/meta.yaml
) andconda build
- Updated to PyBind11 2.11.1
- Raised minimum CMake version to 3.19
- Fixed source links in the API docs and improved the sidebar layout
- Removed support for Python 3.7
- 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
- Updated to PRT 3.0.8905
- Updated to PyBind11 2.10.4
- Turned the
prt_DIR
andpybind11_DIR
into proper CMake cache variables
- Added support for Rule Packages (RPK) created with 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
- Update to PRT 2.7.8538
- Rebuilt test RPKs with CityEngine 2022.1
pyprt_arcgis
module: added handling of polygons holes (inner rings) based on Shapely- Cleaned and updated environment files
- Build Python with SSL support in Linux Docker images
- Improved conda environments pipeline
- Removed Python 3.6 support
- Stop shipping unnecessary MSVC import libraries for PRT in the packages
- New PyEncoder option 'triangulate' to triangulate the geometry
- 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
- Compatible CityEngine versions to create RPKs with: 2021.0 or earlier
- Added pre-built wheels and conda packages for Python 3.9
- 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 MacOS support as PRT 2.4 and later is not available anymore on that platform
- 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
- Updated the
arcgis_to_pyprt
function to work with the latestarcgis
package (1.8) - Switched from
pipenv
tovenv
to better support multiple Python versions
- Removed previously deprecated API functions
inspect_rpk
and overload ofgenerate_model
- Removed
tox
to simplify running tests in multiple Python versions
- New
get_rpk_attributes_info(rule_package_path)
function to query CGA rule attributes and their annotations - Holes and multi faces polygons support in the
arcgis_to_pyprt(...)
function - PyPRT icon
- Removal of the overload
generate_model(rule_attributes)
(usegenerate_model(rule_attributes, rule_package_path, geometry_encoder, encoder_options)
instead) - Deprecation of the
inspect_rpk(rule_package_path)
function (useget_rpk_attributes_info(rule_package_path)
instead) - Internal update to PRT 2.3
- Updated compiler requirements on Windows (MSVC 14.23)
- Removed
streetWidth(a)
attribute from the rule package attributes dictionary (ininspect_rpk(...)
andget_rpk_attributes_info(...)
)
- 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 CGAprint
and error output when used with the PyEncoder (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
- PyPRT conda package available on Anaconda Cloud
- API Documentation
- License file and copyright statements
- README improvements
- setup.py metadata and PyPI project page improvements
- First public release
- PyPRT wheels available on PyPI
- Published source code on GitHub
- Published PyPRT examples on GitHub