This commit is contained in:
Andrej730
2025-07-28 11:45:12 +05:00
parent 23944d6060
commit cdeeab4b31
20 changed files with 161 additions and 134 deletions
@@ -24,12 +24,9 @@ from logging import Logger
import typing
from typing import Union
class Patcher(ifcpatch.BasePatcher):
def __init__(
self,
file: ifcopenshell.file,
logger: Union[Logger, None] = None
):
def __init__(self, file: ifcopenshell.file, logger: Union[Logger, None] = None):
"""Adds the geometric representation to a layout
Example:
@@ -24,12 +24,9 @@ from logging import Logger
import typing
from typing import Union
class Patcher(ifcpatch.BasePatcher):
def __init__(
self,
file: ifcopenshell.file,
logger: Union[Logger, None] = None
):
def __init__(self, file: ifcopenshell.file, logger: Union[Logger, None] = None):
"""Adds the IfcLinearPlacement.CartesianPosition fallback position to all of the IfcLinearPlacement objects in the file
Example:
@@ -24,12 +24,9 @@ from logging import Logger
import typing
from typing import Union
class Patcher(ifcpatch.BasePatcher):
def __init__(
self,
file: ifcopenshell.file,
logger: Union[Logger, None] = None
):
def __init__(self, file: ifcopenshell.file, logger: Union[Logger, None] = None):
"""Adds a zero length segments to alignment layouts
Example: