From 3a1f1af8030c7419d1c31515ff0790af75839678 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sat, 8 Jun 2024 14:50:18 +1000 Subject: [PATCH] Bump docs for v0.8.0 --- .../docs/ifcopenshell-python/geometry_processing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcopenshell-python/docs/ifcopenshell-python/geometry_processing.rst b/src/ifcopenshell-python/docs/ifcopenshell-python/geometry_processing.rst index 18d8f36813..e3149e911b 100644 --- a/src/ifcopenshell-python/docs/ifcopenshell-python/geometry_processing.rst +++ b/src/ifcopenshell-python/docs/ifcopenshell-python/geometry_processing.rst @@ -62,7 +62,7 @@ related information in ``shape.geometry``: # The third column is a normalised vector of the local Z axis: (z_x, z_y, z_z) # The axes follow a right-handed coordinate system. # Objects are never scaled, so the scale factor of the matrix is always 1. - matrix = shape.transformation.matrix.data + matrix = shape.transformation.matrix # For convenience, you might want the matrix as a nested numpy array, so you can do matrix math. matrix = ifcopenshell.util.shape.get_shape_matrix(shape) @@ -229,7 +229,7 @@ Here is a simple example in Python: while True: shape = iterator.get() element = ifc_file.by_id(shape.id) - matrix = shape.transformation.matrix.data + matrix = shape.transformation.matrix faces = shape.geometry.faces edges = shape.geometry.edges verts = shape.geometry.verts