mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 13:06:27 +00:00
Fixes to plug-in loading in and outside of pyodide
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
from pathlib import Path
|
||||
|
||||
import ifcopenshell
|
||||
|
||||
ifcopenshell.set_plugin_search_paths([str(Path(ifcopenshell.__file__).parent)])
|
||||
model = ifcopenshell.file()
|
||||
|
||||
import ifcopenshell.api
|
||||
import ifcopenshell.api.aggregate
|
||||
import ifcopenshell.api.context
|
||||
|
||||
Reference in New Issue
Block a user