diff --git a/src/ifcpatch/ifcpatch/recipes/OffsetObjectPlacements.py b/src/ifcpatch/ifcpatch/recipes/OffsetObjectPlacements.py index d5cd0e4947..e147b783d2 100644 --- a/src/ifcpatch/ifcpatch/recipes/OffsetObjectPlacements.py +++ b/src/ifcpatch/ifcpatch/recipes/OffsetObjectPlacements.py @@ -54,27 +54,20 @@ class Patcher: entire IFC model. :param x: The X coordinate to offset by in project length units. - :type x: typing.Union[str, float] :param y: The Y coordinate to offset by in project length units. - :type y: typing.Union[str, float] :param z: The Z coordinate to offset by in project length units. - :type z: typing.Union[str, float] :param should_rotate_first: Whether or not to rotate first and then translate, or to first translate and rotate afterwards. Defaults to rotate first then translate. - :type should_rotate_first: bool :param ax: An optional angle to rotate by. If only this angle is specified, it is treated as the angle to rotate in plan view (i.e. around the Z axis). If all angle parameters are specified, then it is treated as the angle to rotate around the X axis. Angles are in decimal degrees and positive is anticlockwise. - :type ax: typing.Union[str, float],optional :param ay: An optional angle to rotate by for 3D rotations along the Y axis. Angles are in decimal degrees and positive is anticlockwise. - :type ay: typing.Union[str, float],optional :param az: An optional angle to rotate by for 3D rotations along the Z axis. Angles are in decimal degrees and positive is anticlockwise. - :type az: typing.Union[str, float],optional Example: diff --git a/src/ifcpatch/ifcpatch/recipes/OffsetStoreyElevations.py b/src/ifcpatch/ifcpatch/recipes/OffsetStoreyElevations.py index 4b3efd7c71..f40e0a840c 100644 --- a/src/ifcpatch/ifcpatch/recipes/OffsetStoreyElevations.py +++ b/src/ifcpatch/ifcpatch/recipes/OffsetStoreyElevations.py @@ -26,7 +26,6 @@ class Patcher: All objects placed relative to the storeys will also be shifted. :param z: The Z value in project length units to offset storeys by. - :type z: typing.Union[str, float] Example: diff --git a/src/ifcpatch/ifcpatch/recipes/RegenerateGlobalIds.py b/src/ifcpatch/ifcpatch/recipes/RegenerateGlobalIds.py index 63c595ca9e..0c3475725d 100644 --- a/src/ifcpatch/ifcpatch/recipes/RegenerateGlobalIds.py +++ b/src/ifcpatch/ifcpatch/recipes/RegenerateGlobalIds.py @@ -36,7 +36,6 @@ class Patcher: :param only_duplicates: If set to True, new GlobalIds will only be generated for duplicate IDs. This is a safe thing to run to ensure IFCs are valid. If False, all GlobalIds will be regenerated. - :type only_duplicates: bool Example: diff --git a/src/ifcpatch/ifcpatch/recipes/ResetAbsoluteCoordinates.py b/src/ifcpatch/ifcpatch/recipes/ResetAbsoluteCoordinates.py index ee0b4c1568..0136a6de9c 100644 --- a/src/ifcpatch/ifcpatch/recipes/ResetAbsoluteCoordinates.py +++ b/src/ifcpatch/ifcpatch/recipes/ResetAbsoluteCoordinates.py @@ -68,19 +68,13 @@ class Patcher: points used in object placements. Choosing "Both" will replace all cartesian points regardless of use (useful if the model has both large placement offsets and large geometry offsets). - :type mode: str :param automatic_offset_point: Choose, whether the offset should be determined automatically or specified manually. - :type automatic_offset_point: bool :param threshold: The threshold for deciding, whether a coordinate is treated as a large coordinate. - :type threshold: float :param x: The x-ordinate of the manually specified offset point. - :type x: Union[str, float] :param y: The y-ordinate of the manually specified offset point. - :type y: Union[str, float] :param z: The z-ordinate of the manually specified offset point. - :type z: Union[str, float] Example: diff --git a/src/ifcpatch/ifcpatch/recipes/SetRefElevation.py b/src/ifcpatch/ifcpatch/recipes/SetRefElevation.py index a39b564cd9..57daef3a93 100644 --- a/src/ifcpatch/ifcpatch/recipes/SetRefElevation.py +++ b/src/ifcpatch/ifcpatch/recipes/SetRefElevation.py @@ -32,7 +32,6 @@ class Patcher: The reference elevation is simply a numerical attribute. :param elevation: The elevation to set. - :type elevation: typing.Union[str, float] Example: diff --git a/src/ifcpatch/ifcpatch/recipes/SetWorldCoordinateSystem.py b/src/ifcpatch/ifcpatch/recipes/SetWorldCoordinateSystem.py index ba83d9a556..d5c2e8da94 100644 --- a/src/ifcpatch/ifcpatch/recipes/SetWorldCoordinateSystem.py +++ b/src/ifcpatch/ifcpatch/recipes/SetWorldCoordinateSystem.py @@ -38,20 +38,14 @@ class Patcher: Sets the world coordinate system to whatever you want. :param x: The X coordinate. - :type x: typing.Union[str, float] :param y: The Y coordinate. - :type y: typing.Union[str, float] :param z: The Z coordinate. - :type z: typing.Union[str, float] :param ax: An angle to rotate by for 3D rotations along the X axis. Angles are in decimal degrees and positive is anticlockwise. - :type ax: typing.Union[str, float] :param ay: An angle to rotate by for 3D rotations along the Y axis. Angles are in decimal degrees and positive is anticlockwise. - :type ay: typing.Union[str, float] :param az: An angle to rotate by for 3D rotations along the Z axis. Angles are in decimal degrees and positive is anticlockwise. - :type az: typing.Union[str, float] Example: diff --git a/src/ifcpatch/ifcpatch/recipes/TessellateElements.py b/src/ifcpatch/ifcpatch/recipes/TessellateElements.py index 1d8ee1933c..0638568fe4 100644 --- a/src/ifcpatch/ifcpatch/recipes/TessellateElements.py +++ b/src/ifcpatch/ifcpatch/recipes/TessellateElements.py @@ -47,10 +47,8 @@ class Patcher: See example bug: https://github.com/Autodesk/revit-ifc/issues/707 :param query: Query string to filter out elements to convert, defaults to "IfcBeam" - :type query: str :param force_faceted_brep: Force using IfcFacetedBreps instead of IfcPolygonalFaceSets, defaults to `False` - :type force_faceted_brep: bool Example: