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 a base
BlockModel
. - Added reference to model
Element.model
toElement
. - Added
Element.modelgeometry
as the cached geometry of an element in model coordinates, taking into account the modifying effect of interactions with other elements. - Added
Element.modeltransformation
as the cached transformation from element to model coordinates. - Added
Element.compute_elementgeometry()
. - Added
Element.compute_modelgeometry()
to replaceElement.compute_geometry()
. - Added
Element.compute_modeltransformation()
to replaceElement.compute_worldtransformation()
.
- Changed
Element.graph_node
toElement.graphnode
. - Changed
Element.tree_node
toElement.treenode
. - Changed
blockmodel_interfaces
to use the bestfit frame shared by two aligned interfaces instead of the frame of first face of the pair.
- Removed model reference
ElementTree.model
fromElementTree
. - Removed
InterfaceElement
from elements.
- Added
compas_model.elements.Element.parent
as alias forcompas_model.elements.Element.tree_node.parent
. - Added missing graph node reference to elements during deserialisation process.
- Moved method parameter to element atribute
compas_model.elements.Element.include_features
. - Moved method parameter to element atribute
compas_model.elements.Element.inflate_aabb
. - Moved method parameter to element atribute
compas_model.elements.Element.inflate_obb
. - Changed
compas_model.elements.Element.compute_worldtransformation
to include frame of model. - Changed
compas_model.models.elementnode.ElementNode
to include children (previous functionality ofGroupNode
). - Changed root of element tree to element node instead of group node.
- Changed deserialisation process of model according to removal of group node.
- Removed
compas_model.models.groupnode.GroupNode
.
- Restored backwards compatibility with Python2.7 in core modules.
- Added scale for blockmodel forces in custom blockmodel viewer.
- Changed minimum size of area for interface detection in
blockmodel_interfaces
.
- Added implementation for
Model.has_interaction
. - Added property
Model.interactionlist
. - Added
Model.add_material
. - Added
Model.assign_material
. - Added
Model.has_material
. - Added
Model.elements
iterator. - Added
Model.materials
iterator. - Added
Model.interactions
iterator. - Added read-only
Element.material
. - Added
compas_model.materials.Material
. - Added
compas_model.materials.Concrete
. - Added
compas_model.materials.Timber
(stub imlementation). - Added
compas_model.interactions.ContactInterface
based oncompas_assembly.datastructures.Interface
. - Added
compas_model.algorithms.blockmodel_interfaces
for interface detection of "block models". - Added
compas_model.elements.block.BlockGeometry
based oncompas_assembly.datastructures.Block
. - Added
compas_model.analysis.cra_penalty_solve
as wrapper forcompas_cra.equilibrium.cra_penalty_solve
.
- Fixed
Model.elementdict
andModel.elementlist
returnNone
after (de)serialization. - Changed
Model.edge_interaction
toModel.edge_interactions
. - Changed
Model.remove_interaction
to accept optionalinteraction
parameter (currently raisingNotImplementedError
). - Fixed bug in serialisation of interaction graph, by converting node element attributes to guid strings on a copy of the node attribute dict instead of the original.
- Changed
compas_model.model
tocompas_model.models
.
- Removed reference to
model
inElementTree
. - Removed
Model.elementslist
. - Removed
Model.materialslist
. - Removed
Model.elementsdict
.
- Added
compas_model.model.Model
. - Added
compas_model.model.ElementNode
. - Added
compas_model.model.GroupNode
. - Added
compas_model.model.ElementTree
. - Added
compas_model.model.InteractionGraph
. - Added
compas_model.elements.Element
. - Added
compas_model.elements.Feature
. - Added
compas_model.elements.BlockElement
. - Added
compas_model.elements.BlockFeature
. - Added
compas_model.elements.InterfaceElement
. - Added
compas_model.elements.InterfaceFeature
. - Added
compas_model.elements.PlateElement
. - Added
compas_model.elements.PlateFeature
. - Added
compas_model.interactions.Interaction
. - Added
compas_model.algorithms.collider
. - Added
compas_model.scene.BlockObject
. - Added
compas_model.scene.ElementObject
. - Added
compas_model.scene.ModelObject
. - Added
compas_model.notebook.scene.ThreeBlockObject
. - Added
compas_model.notebook.scene.ThreeElementObject
. - Added
compas_model.notebook.scene.ThreeModelObject
. - Added
compas_model.elements_connected_by
. - Added plugin for
installable_rhino_package
. - Added
PlateElement
andPlateFeature
to 2nd level imports.
- Fixed cannot import
compas_model.elements
in Rhino.