mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
try fix stub
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
from typing import Any, Literal, Sequence, Union
|
||||
|
||||
from typing_extensions import Self
|
||||
from typing_extensions import Self, Unpack
|
||||
|
||||
import ifcopenshell.util.schema
|
||||
from ifcopenshell.entity_instance import entity_instance_mixin
|
||||
@@ -119,7 +119,10 @@ class native(representation):
|
||||
def size(self): ...
|
||||
|
||||
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): ...
|
||||
@property
|
||||
def geometry(self) -> native: ...
|
||||
@@ -142,7 +145,7 @@ class conversion_result:
|
||||
def style_ptr(self): ...
|
||||
|
||||
class conversion_result_shape:
|
||||
def serialize(self, place, arg3): ...
|
||||
def serialize(self, *args: matrix4 | str) -> str | None: ...
|
||||
def triangulate(self, *args): ...
|
||||
def __init__(self, *args, **kwargs): ...
|
||||
def add(self, arg2): ...
|
||||
@@ -167,7 +170,6 @@ class conversion_result_shape:
|
||||
def num_vertices(self): ...
|
||||
def plane_equation(self): ...
|
||||
def position(self): ...
|
||||
def serialize(self): ...
|
||||
def serialize_obj(self): ...
|
||||
def set_box(self, b): ...
|
||||
def solid(self): ...
|
||||
@@ -387,7 +389,7 @@ class RocksDbSerializer:
|
||||
def writeHeader(self) -> None: ...
|
||||
|
||||
class serialization(representation):
|
||||
def __init__(self, brep): ...
|
||||
def __init__(self, native_geometry: native): ...
|
||||
@property
|
||||
def brep_data(self): ...
|
||||
@property
|
||||
@@ -396,11 +398,22 @@ class serialization(representation):
|
||||
def surface_styles(self): ...
|
||||
|
||||
class serialized_element(element):
|
||||
def __init__(self, shape_model): ...
|
||||
def __init__(self, *args: Unpack[tuple[native_element]]): ...
|
||||
@property
|
||||
def geometry(self) -> serialization: ...
|
||||
|
||||
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_type(self, name): ...
|
||||
def set_(self, *args): ...
|
||||
@@ -993,8 +1006,7 @@ class geom_item(item):
|
||||
surface_style: Any
|
||||
|
||||
class geometry_conversion_result:
|
||||
breps: Any
|
||||
elements: Any
|
||||
def __init__(self, *args: Self): ...
|
||||
index: Any
|
||||
item: Any
|
||||
products: Any
|
||||
|
||||
Reference in New Issue
Block a user