All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added new
Element,Project, andIfcUUIDclasses. - Added "do not merge" workflow check to CI/CD pipeline.
- Added
ElementTypeenumeration to be used withElement.typeproperty. - Added initial
Beam,Panel, andWallclasses. - Added support for materials and layers through the
MaterialandLayerStackclasses. - Added
Floor,Opening, andRoofclasses. - Added
IfcElementTypeandIfcPredefinedTypeenumerations. - Added
Transactioncontext manager.
- Switched project to Astral's uv project manager.
- Deprecated
compas_cadwork.storage,compas_cadwork.datamodel,compas_cadwork.scene, andcompas_cadwork.utilities. - Updated release workflow to use PyPi Trusted Publishing.
- Migrated documentation from Sphinx to MkDocs.
- Added support for circular beams in
Element.is_beam(). - Added
Element.is_openingproperty.
- Fixed
Element.set_attributeandElement.remove_attributeto use positional cadwork API calls and support clearing attribute values.
- Added utility function to query wall_frame elements from selection
- Changed
Element.set_attributeargs to useuser_attribute_idas int anduser_attributeas string.
- Removed obsolete module
compas_cadwork.utilities.dimensions.py. - Removed obsolete class
CameraView, replaced bycompas_cadwork.scene.Camera. - Removed obsolete function
set_camera_view, replaced bycompas_cadwork.scene.Camera.
- Removed
ElementTypeclass. - Removed
Element.from_idmethod. - Removed
Element.typeproperty. UseElement.is_*properties instead. - Removed
Dimension.from_elementmethod. UseDimension(element_id)instead. - Removed
Dimension.from_idmethod. UseDimension(element_id)instead.
- Added new file storage manager
FileStoragetocompas_cadwork.storage. - Added new project storage manager
ProjectStoragetocompas_cadwork.storage.
- Made changes to instruction scene objects to support recent COMPAS2.x versions.
- Removed the unused
Model3dSceneObject.
- Added additional default LoD settings on IFC export.
- Number of anchor points is taken into account when comparing
Dimensioninstances.
- Added method
translatetoElement.
- Fixed centered text instructions are sometimes shifted the worng direction.
- Added new types
DimensionandAnchorPointincompas_cadwork.datamodel. - Added
from_elementandfrom_idtoDimension. - Added
compas_cadwork.scene.Camerato read and manipulate the camera. - Added
compas_cadwork.datamodel.Element.centerline. - Added
compas_cadwork.datamodel.Element.midpoint.
- Exporting now with ifc4 and bimwood property set (true).
- Fixed added linear dimension pushed up every time it shows.
- Now getting dimension orientation from API.
- IFC export options are read from file defaults.
Text3dSceneObjectchecksText3d.centeredattribute.
- New
IFCExporterclass. - Added setting to enable to disable translation to global coordinate system to
IFCExportSettings. - Added new methods and properties to
Element. - Added
ElementDeltato support editing.
- Fixed
RuntimeErrorwhen callingget_element_groups. - Fixed
IFCExportSettingsare ignored. - Made all
ArtistsSceneObjectsto support COMPAS 2.x. - Added rendering of
Text3dObjectto typeraster.