Compare commits

...

6 Commits

Author SHA1 Message Date
Thomas Krijnen ed8cbff3d2 nix/build-all propagate BUILD_SHARED_LIBS for -shared build 2024-10-10 09:15:11 +00:00
Thomas Krijnen c6bce343db Pin freetype version, incompatible change made 5d ago 2024-10-10 08:58:34 +00:00
Dion Moult 6a200afc29 Revert "Fix georeferencing HTML URL"
This reverts commit 25e0cb4e73.
2024-07-22 10:39:22 +10:00
Kurt BATTISTI 25e0cb4e73 Fix georeferencing HTML URL 2024-07-22 10:38:11 +10:00
Johannes Schorr bc318e1f66 Fix typo in doctring in ifcdiff.py 2024-07-12 14:57:35 +10:00
petrisch dfb5ebf350 Little typo 2024-07-02 15:20:46 +02:00
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -214,6 +214,7 @@ if "v" in flags:
else:
logger.setLevel(logging.INFO)
OFF_ON = ["OFF", "ON"]
BUILD_STATIC = "shared" not in flags
ENABLE_FLAG = "--enable-static" if BUILD_STATIC else "--enable-shared"
DISABLE_FLAG = "--disable-shared" if BUILD_STATIC else "--disable-static"
@@ -325,7 +326,7 @@ def run_cmake(arg1, cmake_args, cmake_dir=None, cwd=None):
if "wasm" in flags:
wasm.append("emcmake")
run([*wasm, "cmake", P, *cmake_args, f"-DCMAKE_BUILD_TYPE={BUILD_CFG}"], cwd=cwd)
run([*wasm, "cmake", P, *cmake_args, f"-DCMAKE_BUILD_TYPE={BUILD_CFG}", f"-DBUILD_SHARED_LIBS={OFF_ON[not BUILD_STATIC]}"], cwd=cwd)
def git_clone_or_pull_repository(clone_url, target_dir, revision=None):
@@ -553,6 +554,7 @@ if "freetype" in targets:
download_url = "https://github.com/freetype/freetype",
download_name = "freetype2",
download_tool=download_tool_git,
revision="VER-2-11-1"
)
if USE_OCCT and "occ" in targets:
@@ -758,7 +760,6 @@ os.makedirs(IFCOS_DIR, exist_ok=True)
executables_dir = os.path.join(IFCOS_DIR, "executables")
os.makedirs(executables_dir, exist_ok=True)
OFF_ON = ["OFF", "ON"]
cmake_args = [
"-DUSE_MMAP=" "OFF",
+1 -1
View File
@@ -44,7 +44,7 @@ class IfcDiff:
:param old: IFC file object for the old model
:type old: ifcopenshell.file.file
:param new: IFC file object for the old model
:param new: IFC file object for the new model
:type new: ifcopenshell.file.file
:param relationships: List of relationships to check. None means that only
geometry is compared.
@@ -294,7 +294,7 @@ Geometry serialisation
Geometry may be serialised into many different formats using
:doc:`IfcConvert<../ifcconvert>`. Alternatively, you may also access the
serialiser with Python to customise the conversion, such as by writing a script
the modifies the IFC on the fly before converting it, or writing complex
that modifies the IFC on the fly before converting it, or writing complex
include and exclude filters.
Here is a typical example to serialising to glTF / glb. Example settings to