mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Minor typing hint and disable linear position elements from loading
This commit is contained in:
@@ -519,7 +519,7 @@ class IfcImporter:
|
||||
self.create_generic_elements(set(self.file.by_type("IfcReferent")))
|
||||
# Loading IfcLinearElement for test purposes for now only.
|
||||
# In the future we will make it lazy loaded and toggleable with a special UI.
|
||||
self.create_generic_elements(set(self.file.by_type("IfcLinearElement")))
|
||||
# self.create_generic_elements(set(self.file.by_type("IfcLinearElement")))
|
||||
|
||||
def create_grids(self):
|
||||
if not self.ifc_import_settings.should_load_geometry:
|
||||
|
||||
@@ -37,7 +37,7 @@ def add_profile_representation(
|
||||
# or by dictionaries of arguments for `Clipping.parse`
|
||||
clippings: Optional[list[Union[Clipping, dict[str, Any]]]] = None,
|
||||
placement_zx_axes: tuple[Union[VECTOR_3D, None], Union[VECTOR_3D, None]] = (None, None),
|
||||
) -> None:
|
||||
) -> ifcopenshell.entity_instance:
|
||||
usecase = Usecase()
|
||||
usecase.file = file
|
||||
usecase.settings = {
|
||||
|
||||
Reference in New Issue
Block a user