mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +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")))
|
self.create_generic_elements(set(self.file.by_type("IfcReferent")))
|
||||||
# Loading IfcLinearElement for test purposes for now only.
|
# Loading IfcLinearElement for test purposes for now only.
|
||||||
# In the future we will make it lazy loaded and toggleable with a special UI.
|
# 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):
|
def create_grids(self):
|
||||||
if not self.ifc_import_settings.should_load_geometry:
|
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`
|
# or by dictionaries of arguments for `Clipping.parse`
|
||||||
clippings: Optional[list[Union[Clipping, dict[str, Any]]]] = None,
|
clippings: Optional[list[Union[Clipping, dict[str, Any]]]] = None,
|
||||||
placement_zx_axes: tuple[Union[VECTOR_3D, None], Union[VECTOR_3D, None]] = (None, None),
|
placement_zx_axes: tuple[Union[VECTOR_3D, None], Union[VECTOR_3D, None]] = (None, None),
|
||||||
) -> None:
|
) -> ifcopenshell.entity_instance:
|
||||||
usecase = Usecase()
|
usecase = Usecase()
|
||||||
usecase.file = file
|
usecase.file = file
|
||||||
usecase.settings = {
|
usecase.settings = {
|
||||||
|
|||||||
Reference in New Issue
Block a user