mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 00:03:17 +00:00
Skip unavailable shape-stat kernels
Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -170,7 +170,12 @@ SETTING = Literal[
|
||||
# It's possible to use any hybrid combination by the format below:
|
||||
# "hybrid-library1-library2".
|
||||
# List is updated from abstract_kernel.cpp.
|
||||
GEOMETRY_LIBRARY = Literal["cgal", "cgal-simple", "opencascade", "hybrid-cgal-simple-opencascade"]
|
||||
GEOMETRY_LIBRARY = Literal["cgal", "cgal-simple", "manifold", "opencascade", "hybrid-cgal-simple-opencascade"]
|
||||
|
||||
|
||||
def has_geometry_library(geometry_library: str) -> bool:
|
||||
"""Return whether a geometry kernel library can be loaded."""
|
||||
return ifcopenshell_wrapper.has_geometry_library(geometry_library)
|
||||
|
||||
|
||||
class missing_setting:
|
||||
|
||||
@@ -1623,6 +1623,7 @@ def arrange_polygons(
|
||||
def get_plugin_search_paths() -> tuple[str, ...]: ...
|
||||
def set_plugin_search_paths(paths: Sequence[str]) -> None: ...
|
||||
def clear_plugin_search_paths() -> None: ...
|
||||
def has_geometry_library(geometry_library: str) -> bool: ...
|
||||
def clear_schemas(): ...
|
||||
def construct_iterator(geometry_library, settings, file, num_threads, logger=None): ...
|
||||
def construct_iterator_with_include_exclude(
|
||||
|
||||
Reference in New Issue
Block a user