From e6d3b6e6fd54d23f52bceae53ae3f85afc691ae7 Mon Sep 17 00:00:00 2001 From: petrasvestartas Date: Thu, 8 Feb 2024 17:51:58 +0100 Subject: [PATCH] COMMENTS removed commented code --- CHANGELOG.md | 1 + src/compas_model/elements/block.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92a8c276..fd738e77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Changed `test_model` function `create_model` by adding more nodes at leaves to really check if the serialization works. * Changed `test_model` face_polygons are computed from box corners. * Changed the folder structure of elements is flatenned. +* Contents of `compas_model.elements.Element` child classes transformation methods changed to handle the scaling of oriented bounding box. ### Removed diff --git a/src/compas_model/elements/block.py b/src/compas_model/elements/block.py index bbaf14d6..e194e9f2 100644 --- a/src/compas_model/elements/block.py +++ b/src/compas_model/elements/block.py @@ -97,8 +97,6 @@ def __from_data__(cls, data): return element def __init__(self, closed_mesh, geometry_simplified=None, **kwargs): - # if not isinstance(closed_mesh, Mesh): - # raise TypeError("Mesh is not of type compas.datastructures.Mesh") geometry_simplified = ( geometry_simplified