You can now switch contexts of of objects in bulk

This commit is contained in:
Dion Moult
2022-09-19 15:59:37 +10:00
parent 57e8e47061
commit 18387e7732
8 changed files with 58 additions and 37 deletions
@@ -14,22 +14,17 @@ Pre-built packages
1. Download the appropriate version for your operating system.
+----------------+----------------+----------------+----------------+
| Linux 64bit | Windows 32bit | Windows 64bit | MacOS 64bit |
+================+================+================+================+
| build-linux64_ | build-win32_ | build-win64_ | build-macos64_ |
+----------------+----------------+----------------+----------------+
+----------------+----------------+----------------+----------------+------------------+
| Linux 64bit | Windows 32bit | Windows 64bit | MacOS 64bit | MacOS M1 64bit |
+================+================+================+================+==================+
| build-linux64_ | build-win32_ | build-win64_ | build-macos64_ | build-macosm164_ |
+----------------+----------------+----------------+----------------+------------------+
.. _build-linux64: https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.7.0-dc67287-linux64.zip
.. _build-win32: https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.7.0-dc67287-win32.zip
.. _build-win64: https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.7.0-dc67287-win64.zip
.. _build-macos64: https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.7.0-dc67287-macos64.zip
.. warning::
Versions for Mac ARM devices (M1 chip) are not yet available. You are free to
compile it yourself manually, but this requires a level of technical
expertise.
.. _build-linux64: https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.7.0-4fb910f-linux64.zip
.. _build-win32: https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.7.0-4fb910f-win32.zip
.. _build-win64: https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.7.0-4fb910f-win64.zip
.. _build-macos64: https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.7.0-4fb910f-macos64.zip
.. _build-macosm164: https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.7.0-4fb910f-macosm164.zip
2. Unzip the downloaded file and run IfcConvert using the command line.
+2 -1
View File
@@ -56,11 +56,12 @@ Here is a minimal example of how to use IfcDiff as a library:
import ifcpatch
ifcpatch.execute({
output = ifcpatch.execute({
"input": ifcopenshell.open("input.ifc"),
"recipe": "ExtractElements",
"arguments": [".IfcWall"],
})
ifcpatch.write(output, "output.ifc")
You can also alias it to a command: