mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
python api documentation fix
This commit is contained in:
@@ -89,10 +89,10 @@ def get_local_placement(placement):
|
|||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
element = file.by_type("IfcBeam")[0]
|
placement = file.by_type("IfcBeam")[0].ObjectPlacement
|
||||||
matrix = ifcopenshell.util.placement.get_local_placement(element)
|
matrix = ifcopenshell.util.placement.get_local_placement(placement)
|
||||||
|
|
||||||
:param placement: The IfcLocalPlacement enitity
|
:param placement: The IfcLocalPlacement entity
|
||||||
:type placement: ifcopenshell.entity_instance.entity_instance
|
:type placement: ifcopenshell.entity_instance.entity_instance
|
||||||
:return: A 4x4 numpy matrix
|
:return: A 4x4 numpy matrix
|
||||||
:rtype: np.array[np.array[float]]
|
:rtype: np.array[np.array[float]]
|
||||||
|
|||||||
Reference in New Issue
Block a user