Releases: BlockResearchGroup/compas_model
Releases · BlockResearchGroup/compas_model
v0.9.2
v0.9.1
Added
- Added
compas_viewertorequirements-viz.txt. - Added
compas_notebooktorequirements-viz.txt.
Changed
Removed
- Removed
compas_viewerfromrequirements.txt. - Removed
compas_notebookfromrequirements-dev.txt.
v0.9.0
Added
- Added
Model.has_element_with_name. - Added
Model.find_element_with_name. - Added
Model.find_element_with_name_or_fail. - Added
Model.find_all_elements_of_type. - Added
Model.remove_elements_of_type. - Added
Model.add_or_get_material. - Added lazy-computed
compas_model.elements.Element.surface_meshproperty. - Added lazy_computed
compas_model.elements.Element.volumetric_meshproperty. - Added
compas_model.elements.Element.compute_surface_meshproperty. - Added
compas_model.elements.Element.compute_volumetric_meshproperty.
Changed
- Changed
compas_model.elements.Element.transformto apply the new transformation on top of the current one, instead of replacing it.
Removed
- Removed lazy-computed
compas_model.elements.Element.femesh2property. - Removed lazy_computed
compas_model.elements.Element.femesh3property. - Removed
compas_model.elements.Element.compute_femesh2property. - Removed
compas_model.elements.Element.compute_femesh3property.
v0.8.0
Added
- Added back
GroupElement. - Added
ElementObjectandModelElementforcompas_viewer. - Added
compas_model.algorithms.brep_brep_contactsfor calculation of simple, flat contacts between two breps. - Added
compas_model.models.Model.contactsiterator. - Added
brep_brep_contactsfor calculation of contacts between elements with brep geometry. - Added
compas_model.datastructures.BVHNode.addto take care ofdepthvalue. - Added
compas_model.elements.Element.apply_modifiers. - Added
compas_model.elements.Element.materialsetter. - Added lazy-computed
compas_model.elements.Element.femesh2property. - Added lazy_computed
compas_model.elements.Element.femesh3property. - Added
compas_model.elements.Element.compute_femesh2property. - Added
compas_model.elements.Element.compute_femesh3property. - Added
compas_model.modifiers. - Added
compas_model.modifiers.Modifier. - Added
compas_model.models.Model.add_modifier.
Changed
- Updated existing
ElementObjectandModelElementfor renewedSceneObjectAPIs. - Changed
compas_model.interactions.Contactto require only points, and lazy calculate all other attributes only when not explicitly provided. - Changed
compas_model.models.Model.compute_contactsto use BVH with OOB nodes for calculation of contact candidates. - Changed default parmeter value of
inflateincompas_model.elements.Element.compute_aabb. - Changed default parmeter value of
inflateincompas_model.elements.Element.compute_obb. - Changed default parmeter value of
inflateincompas_model.elements.Element.compute_collision_mesh. - Changed default parmeter value of
inflateincompas_model.elements.Beam.compute_aabb. - Changed default parmeter value of
inflateincompas_model.elements.Beam.compute_obb. - Changed default parmeter value of
inflateincompas_model.elements.Column.compute_aabb. - Changed default parmeter value of
inflateincompas_model.elements.Column.compute_obb. - Changed default parmeter value of
inflateincompas_model.elements.Plate.compute_aabb. - Changed default parmeter value of
inflateincompas_model.elements.Plate.compute_obb. - Fixed bug in
compas_model.elements.Beam.compute_aabb. - Fixed bug in
compas_model.elements.Beam.compute_obb. - Fixed bug in
compas_model.elements.Column.compute_aabb. - Fixed bug in
compas_model.elements.Column.compute_obb. - Fixed bug in
compas_model.elements.Plate.compute_aabb. - Fixed bug in
compas_model.elements.Plate.compute_obb. - Changed
compas_model.model.Model.elementsto property. - Changed
compas_model.model.Model.materialsto property. - Changed
compas_model.model.Model.contactsto property. - Changed
compas_model.model.Element.compute_modelgeometryto use new modifier implementation. - Changed BVH to use AABB by default.
- Changed interaction graph to store elements by guid reference.
- Changed root node of element tree to default
TreeNode. - Changed
ElementNodeto requireElement.
Removed
- Removed modifier methods from
compas_model.elements.Beam. - Removed modifier methods from
compas_model.elements.Column. - Removed
Shapefrom parameter options incompas_model.elements.Element. - Removed
compas_model.interactions.modifiers. - Removed
compas_model.models.Model.compute_collisions. - Removed
compas_model.models.Model.add_elements.
v0.7.0
Added
Changed
Removed
v0.6.1
Added
Changed
- Fixed bug in
compas_model.models.Model.transformation.
Removed
v0.6.0
Added
Changed
- Changed
compas_model.elements.Element.compute_modeltransformationto use only the stack of transformations of its ancestors. Each transformation in the stack defines the change from local to world coordinates of the corresponding element.
Removed
- Removed
compas_model.models.Model.frame.
v0.5.1
Added
Changed
- Fixed bug in
compas_model.models.Model.compute_contactsresulting from completely skipping existing edges. - Fixed bug in import of
boolean_difference_mesh_mesh.
Removed
v0.5.0
Added
- Added reference to model
Element.modeltoElement. - Added
Element.modelgeometryas the cached geometry of an element in model coordinates, taking into account the modifying effect of interactions with other elements. - Added
Element.modeltransformationas 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(). - Added
Element.is_dirty. - Added
compas_model.geometry.minkowski_sum_xyto compute the Minkowski sum A + B of two convex polygons in the XY plane. - Added
compas_model.geometry.minkowski_difference_xyas a convenience method to compute A + -B. - Added
compas_model.geometry.is_collision_poly_poly_xyto check for collisions between convex polygons in the XY plane. - Added
compas_model.geometry.intersection_ray_triangle. - Added
compas_model.geometry.intersections_line_aabb. - Added
compas_model.geometry.intersections_line_box. - Added
compas_model.geometry.intersections_ray_aabb. - Added
compas_model.geometry.intersections_ray_box. - Added
compas_model.geometry.is_intersection_box_box. - Added
compas_model.geometry.is_intersection_line_aabb. - Added
compas_model.geometry.is_intersection_line_box. - Added
compas_model.geometry.is_intersection_ray_aabb. - Added
compas_model.geometry.is_intersection_ray_box. - Added
compas_model.geometry.is_intersection_segment_aabb. - Added
compas_model.geometry.is_intersection_segment_box. - Added
compas_model.geometry.pca_boxfor fast OBB calculation. - Added
compas_model.algorithms.mesh_mesh_contacts. - Added
compas_model.datastructures.BVHextending the base compas tree data structure into a bounding volume hierarchy. - Added
compas_model.datastructures.AABBNoderepresenting a node of the BVH using an axis-aligned bounding box. - Added
compas_model.datastructures.OBBNoderepresenting a node of the BVH using an oriented bounding box. - Added
compas_model.datastructures.KDTreefor nearest neighbour search among elements. - Added
compas_model.models.bvh.ElementBVH. - Added
compas_model.models.bvh.ElementAABBNode. - Added
compas_model.models.bvh.ElementOBBNode. - Added
compas_model.elements.BeamElement. - Added
compas_model.elements.ColumnElement. - Added
compas_model.elements.PlateElement. - Added
compas_model.models.Model.collisionsiterator. - Added
compas_model.models.graph.InteractionGraph.clear_edges.
Changed
- Changed
Element.graph_nodetoElement.graphnode. - Changed
Element.tree_nodetoElement.treenode. - Fixed bug in deserialisation (
element.modelwas not set properly).
Removed
- Removed model reference
ElementTree.modelfromElementTree. - Removed
InterfaceElementfrom elements. - Removed
BlockModel. - Removed
BlockElement. - Removed
model_interfaces. - Removed
model_overlaps.
v0.4.5
Added
- Added
compas_model.elements.Element.parentas alias forcompas_model.elements.Element.tree_node.parent. - Added missing graph node reference to elements during deserialisation process.
Changed
- 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_worldtransformationto include frame of model. - Changed
compas_model.models.elementnode.ElementNodeto 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
- Removed
compas_model.models.groupnode.GroupNode.