mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Sync stub with the wrapper #6976
This commit is contained in:
@@ -334,6 +334,8 @@ class Iterator:
|
|||||||
def getLog(self): ...
|
def getLog(self): ...
|
||||||
def get_native(self): ...
|
def get_native(self): ...
|
||||||
def get_object(self, id): ...
|
def get_object(self, id): ...
|
||||||
|
def get_task_items(self): ...
|
||||||
|
def get_task_products(self): ...
|
||||||
def had_error_processing_elements(self): ...
|
def had_error_processing_elements(self): ...
|
||||||
def initialize(self) -> bool:
|
def initialize(self) -> bool:
|
||||||
"""Return true if the iterator is initialized with any elements, false otherwise."""
|
"""Return true if the iterator is initialized with any elements, false otherwise."""
|
||||||
@@ -1034,6 +1036,15 @@ class geom_item(item):
|
|||||||
matrix: Any
|
matrix: Any
|
||||||
surface_style: Any
|
surface_style: Any
|
||||||
|
|
||||||
|
class geometry_conversion_result:
|
||||||
|
breps: Any
|
||||||
|
elements: Any
|
||||||
|
index: Any
|
||||||
|
item: Any
|
||||||
|
products: Any
|
||||||
|
products_2: Any
|
||||||
|
representation: Any
|
||||||
|
|
||||||
class geometry_exception:
|
class geometry_exception:
|
||||||
def what(self): ...
|
def what(self): ...
|
||||||
|
|
||||||
@@ -1046,6 +1057,8 @@ class gradient_function(function_item):
|
|||||||
def kind(self): ...
|
def kind(self): ...
|
||||||
def start(self): ...
|
def start(self): ...
|
||||||
|
|
||||||
|
class equal_functor: ...
|
||||||
|
class hash_functor: ...
|
||||||
class horizontal_plan_at_element: ...
|
class horizontal_plan_at_element: ...
|
||||||
class implicit_item(geom_item): ...
|
class implicit_item(geom_item): ...
|
||||||
|
|
||||||
@@ -1111,6 +1124,7 @@ class loop:
|
|||||||
fi: Any
|
fi: Any
|
||||||
def calc_hash(self): ...
|
def calc_hash(self): ...
|
||||||
def calculate_linear_edge_curves(self): ...
|
def calculate_linear_edge_curves(self): ...
|
||||||
|
def centroid(self): ...
|
||||||
@property
|
@property
|
||||||
def children(self): ...
|
def children(self): ...
|
||||||
def clone_(self): ...
|
def clone_(self): ...
|
||||||
@@ -1274,6 +1288,7 @@ class select_type(declaration):
|
|||||||
class shell:
|
class shell:
|
||||||
closed: Any
|
closed: Any
|
||||||
def calc_hash(self): ...
|
def calc_hash(self): ...
|
||||||
|
def centroid(self): ...
|
||||||
@property
|
@property
|
||||||
def children(self): ...
|
def children(self): ...
|
||||||
def clone_(self): ...
|
def clone_(self): ...
|
||||||
@@ -1566,6 +1581,7 @@ def clear_schemas(): ...
|
|||||||
def construct_iterator_with_include_exclude(geometry_library, settings, file, elems, include, num_threads): ...
|
def construct_iterator_with_include_exclude(geometry_library, settings, file, elems, include, num_threads): ...
|
||||||
def construct_iterator_with_include_exclude_globalid(geometry_library, settings, file, elems, include, num_threads): ...
|
def construct_iterator_with_include_exclude_globalid(geometry_library, settings, file, elems, include, num_threads): ...
|
||||||
def construct_iterator_with_include_exclude_id(geometry_library, settings, file, elems, include, num_threads): ...
|
def construct_iterator_with_include_exclude_id(geometry_library, settings, file, elems, include, num_threads): ...
|
||||||
|
def convert_loop_to_function_item(loop): ...
|
||||||
def create_box(*args): ...
|
def create_box(*args): ...
|
||||||
def create_epeck(*args): ...
|
def create_epeck(*args): ...
|
||||||
def create_shape(*args): ...
|
def create_shape(*args): ...
|
||||||
|
|||||||
@@ -205,6 +205,11 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
|
|||||||
|
|
||||||
%extend IfcUtil::IfcBaseClass {
|
%extend IfcUtil::IfcBaseClass {
|
||||||
|
|
||||||
|
%pythoncode %{
|
||||||
|
# Will be assigned when `ifcopenshell.entity_instance` is created.
|
||||||
|
file = None
|
||||||
|
%}
|
||||||
|
|
||||||
int get_attribute_category(const std::string& name) const {
|
int get_attribute_category(const std::string& name) const {
|
||||||
if (!$self->declaration().as_entity()) {
|
if (!$self->declaration().as_entity()) {
|
||||||
return name == "wrappedValue";
|
return name == "wrappedValue";
|
||||||
|
|||||||
Reference in New Issue
Block a user