mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
try fix stub
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
from typing import Any, Literal, Sequence, Union
|
from typing import Any, Literal, Sequence, Union
|
||||||
|
|
||||||
from typing_extensions import Self
|
from typing_extensions import Self, Unpack
|
||||||
|
|
||||||
import ifcopenshell.util.schema
|
import ifcopenshell.util.schema
|
||||||
from ifcopenshell.entity_instance import entity_instance_mixin
|
from ifcopenshell.entity_instance import entity_instance_mixin
|
||||||
@@ -119,7 +119,10 @@ class native(representation):
|
|||||||
def size(self): ...
|
def size(self): ...
|
||||||
|
|
||||||
class native_element(element):
|
class native_element(element):
|
||||||
def __init__(self, id, parent_id, name, type, guid, context, trsf, geometry, product): ...
|
def __init__(
|
||||||
|
self,
|
||||||
|
*args: Unpack[tuple[int, int, str, str, str, str, matrix4, native, entity_instance]],
|
||||||
|
): ...
|
||||||
def calculate_projected_surface_area(self, along_x, along_y, along_z): ...
|
def calculate_projected_surface_area(self, along_x, along_y, along_z): ...
|
||||||
@property
|
@property
|
||||||
def geometry(self) -> native: ...
|
def geometry(self) -> native: ...
|
||||||
@@ -142,7 +145,7 @@ class conversion_result:
|
|||||||
def style_ptr(self): ...
|
def style_ptr(self): ...
|
||||||
|
|
||||||
class conversion_result_shape:
|
class conversion_result_shape:
|
||||||
def serialize(self, place, arg3): ...
|
def serialize(self, *args: matrix4 | str) -> str | None: ...
|
||||||
def triangulate(self, *args): ...
|
def triangulate(self, *args): ...
|
||||||
def __init__(self, *args, **kwargs): ...
|
def __init__(self, *args, **kwargs): ...
|
||||||
def add(self, arg2): ...
|
def add(self, arg2): ...
|
||||||
@@ -167,7 +170,6 @@ class conversion_result_shape:
|
|||||||
def num_vertices(self): ...
|
def num_vertices(self): ...
|
||||||
def plane_equation(self): ...
|
def plane_equation(self): ...
|
||||||
def position(self): ...
|
def position(self): ...
|
||||||
def serialize(self): ...
|
|
||||||
def serialize_obj(self): ...
|
def serialize_obj(self): ...
|
||||||
def set_box(self, b): ...
|
def set_box(self, b): ...
|
||||||
def solid(self): ...
|
def solid(self): ...
|
||||||
@@ -387,7 +389,7 @@ class RocksDbSerializer:
|
|||||||
def writeHeader(self) -> None: ...
|
def writeHeader(self) -> None: ...
|
||||||
|
|
||||||
class serialization(representation):
|
class serialization(representation):
|
||||||
def __init__(self, brep): ...
|
def __init__(self, native_geometry: native): ...
|
||||||
@property
|
@property
|
||||||
def brep_data(self): ...
|
def brep_data(self): ...
|
||||||
@property
|
@property
|
||||||
@@ -396,11 +398,22 @@ class serialization(representation):
|
|||||||
def surface_styles(self): ...
|
def surface_styles(self): ...
|
||||||
|
|
||||||
class serialized_element(element):
|
class serialized_element(element):
|
||||||
def __init__(self, shape_model): ...
|
def __init__(self, *args: Unpack[tuple[native_element]]): ...
|
||||||
@property
|
@property
|
||||||
def geometry(self) -> serialization: ...
|
def geometry(self) -> serialization: ...
|
||||||
|
|
||||||
class settings:
|
class settings:
|
||||||
|
CURVES: Literal[0]
|
||||||
|
SURFACES_AND_SOLIDS: Literal[1]
|
||||||
|
CURVES_SURFACES_AND_SOLIDS: Literal[2]
|
||||||
|
TRIANGULATED: Literal[0]
|
||||||
|
NATIVE: Literal[1]
|
||||||
|
SERIALIZED: Literal[2]
|
||||||
|
MAXSTEPSIZE: Literal[0]
|
||||||
|
MINSTEPS: Literal[1]
|
||||||
|
TRIANGLE_MESH: Literal[0]
|
||||||
|
POLYHEDRON_WITHOUT_HOLES: Literal[1]
|
||||||
|
POLYHEDRON_WITH_HOLES: Literal[2]
|
||||||
def get_(self, name): ...
|
def get_(self, name): ...
|
||||||
def get_type(self, name): ...
|
def get_type(self, name): ...
|
||||||
def set_(self, *args): ...
|
def set_(self, *args): ...
|
||||||
@@ -993,8 +1006,7 @@ class geom_item(item):
|
|||||||
surface_style: Any
|
surface_style: Any
|
||||||
|
|
||||||
class geometry_conversion_result:
|
class geometry_conversion_result:
|
||||||
breps: Any
|
def __init__(self, *args: Self): ...
|
||||||
elements: Any
|
|
||||||
index: Any
|
index: Any
|
||||||
item: Any
|
item: Any
|
||||||
products: Any
|
products: Any
|
||||||
|
|||||||
Reference in New Issue
Block a user