Dion Moult
fe8d42c27c
Minor fix for missing flip button for doors
2024-07-01 10:30:16 +10:00
Dion Moult
688c841a8e
Fix #4946 . Refactor model wall join operators into core for better error reporting
...
The operator is no longer needed and all the variations can be called exactly at the workspace hotkey level now (and thus nested operator errors won't cause runtime exceptions)
2024-07-01 10:15:48 +10:00
Dion Moult
989219e1e2
See #4946 . Slowly start refactoring out model module into core for better error handling.
2024-07-01 00:10:51 +10:00
Dion Moult
f2c3e62ba1
Minor signature clean up to tool.Model.load_openings (unused arg)
2024-06-30 21:46:21 +10:00
Dion Moult
73f546aab1
Don't attempt to manipulate type visibility when selecting a type.
2024-06-30 21:46:03 +10:00
Dion Moult
c4b3e57677
Fix bug where using the alignment tool broke on flipped non-LAYER2 objects
...
The alignment tool was initially designed specifically for LAYER2 objects. It doesn't have to be, so now LAYER2 is a special case where it may have its baselines and sidelines aligned whereas non-LAYER2 objects simply align based on bbox.
2024-06-30 21:40:21 +10:00
Dion Moult
4e9f2ea4b2
Add georeferencing integration tests
blenderbim-0.7.9.240630
2024-06-30 17:01:39 +10:00
Dion Moult
2efeb6edb3
Fix bug where context has no active_object when creating a new project from File > New with a preset
2024-06-29 22:20:08 +10:00
Thomas Krijnen
c68dcba087
Implement element-hierarchy setting in USD
2024-06-29 14:16:07 +02:00
Thomas Krijnen
a92d51aeb1
Merge branch 'v0.8.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.8.0
2024-06-29 14:14:59 +02:00
Dion Moult
0544bbc886
Temporarily disable material listeners as they need to be rewritten anyway (ideally without listeners) with the new style system
...
At least now we can create types for testing
2024-06-29 21:39:38 +10:00
Dion Moult
9a871f1459
Merging projects can now handle projects with different false origins
...
Warning: I haven't yet looked at rotations. Yikes. No CRS reprojection either.
blenderbim-0.7.9.240629
2024-06-29 17:05:06 +10:00
Dion Moult
0d401c9272
Fix bug where migrating length units didn't change properties. Unit utility for checking attribute types now considers select types too
...
Changing properties is very critical for IFC2X3 georeferencing which is stored in a pset.
2024-06-29 17:04:27 +10:00
Dion Moult
2129350ab7
Fix bug where MergeProject didn't clean up duplicate CRS and coordinate operations
2024-06-29 17:03:26 +10:00
Dion Moult
43bc979114
The MergeProject recipe now accepts a file object, not always a filepath
2024-06-29 17:01:58 +10:00
Thomas Krijnen
a0458eeb91
Fix USD transformations after v0.8 migration
2024-06-28 20:26:11 +02:00
Thomas Krijnen
c7232a780a
Remove debug print
2024-06-28 16:21:33 +02:00
Thomas Krijnen
e96b4c11a2
Implement edge as top-level representation item #4924
2024-06-28 16:19:43 +02:00
Thomas Krijnen
fecca6a8b2
What a bad idea to let ellipse inherit from circle"
2024-06-28 16:19:43 +02:00
Andrej730
1fc56585dd
Support loading BlenderBIM in Blender 4.2+ as an extension
...
1) Used a hack to bring `blenderbim` into the main namespace instead of `bl_ext.repository.blenderbim`. This is not an official way to do it but this works for testing stuff (official way is to create a stub wheel that would redirect all `blenderbim` requests to `bl_ext.repository.blenderbim`).
2) AddonPreferences now require blender package name as it's bl_idname (e.g. bl_ext.repository.blenderbim)
3) Addressing preferences now also works through the blender package name. Created method in tool/Blender.py to incapsulate those details.
2024-06-28 18:46:08 +05:00
Andrej730
d1be0e8c1c
create_shape - raise the same error for representations and rep items
...
To be consistent with how it's handled when product+representation is passed, previously it would fail silently.
2024-06-28 18:24:58 +05:00
Andrej730
dcc568f5a3
ifcopenshell.geom.create_shape - expose geometry_library argument
2024-06-28 18:24:58 +05:00
Andrej730
2e4a2712e9
ifcopenshell.geom - document available geometry libraries
2024-06-28 18:24:58 +05:00
Andrej730
d4b055aeb2
Open recent IFC project #3657
...
Example - https://imgur.com/a/EDfBTJS
Paths to the opened IFC projects are now stored and then you can open them from File -> Open Recent IFC Project menu. It's done in very similar way to how Blender does it, list of files is stored in `Blender\4.1\config\recent-ifc-projects.txt`.
2024-06-28 18:24:58 +05:00
Andrej730
0e2cc463c8
Fix issue loading curve representations #4924
...
Issue occurred in the process of solving #4843 .
2024-06-28 18:16:32 +05:00
Andrej730
c3930a6573
black format
2024-06-28 18:16:32 +05:00
Andrej730
3c094b7bd2
typing
2024-06-28 18:16:32 +05:00
Dion Moult
f8dffa1a9b
Move new project wizard into its own panel and actually title it "New Project Wizard" for clarity
2024-06-28 22:50:02 +10:00
Dion Moult
03b6c08c50
Remove unload project button - superseded by Convert To Blender File operator
2024-06-28 22:50:02 +10:00
Thomas Krijnen
42b96d6290
Further work on trying to get orientation properly mapped
2024-06-28 13:41:01 +02:00
Thomas Krijnen
c240f0582a
Add TBB_INCLUDE_DIR
2024-06-28 13:40:19 +02:00
Thomas Krijnen
76b7748be1
Note some time points #4915
2024-06-28 13:39:58 +02:00
Thomas Krijnen
a2334f4ce0
More 4X3 non-ADD2 permissiveness in param values on polynomials
2024-06-28 13:39:19 +02:00
Thomas Krijnen
db50c87bf4
Fixed collections not being geom_items in mapped item handling
2024-06-28 13:38:56 +02:00
Thomas Krijnen
dc8766cf0a
Formatting improvements
2024-06-28 13:38:36 +02:00
Dion Moult
158f3d2962
Migrating calendar dates from IFC2X3 to IFC4 is now supported
2024-06-28 21:36:45 +10:00
Dion Moult
008fa70345
Fix failing collector tests to align with new behaviour
2024-06-28 21:15:53 +10:00
ay-ex
e59cd80868
fix choco release ( #4941 )
...
* fix choco action
* fix choco action env vars
* fix choco action env vars
* fix choco action py version source regex
2024-06-28 19:33:58 +10:00
Dion Moult
f0d7965d49
Fix #4804 . Prevent possible execution of toggle edit mode if there is no active object.
...
Recent changes in the UI already make this very unlikely - we don't show the ability to toggle edit mode pre-emptively in the viewport tob bar but just in case...
2024-06-28 14:25:56 +10:00
Dion Moult
b616cafa49
Minor typing hint and disable linear position elements from loading
2024-06-28 13:01:15 +10:00
Dion Moult
70bb0e5481
Update doc code examples to use static functions
2024-06-28 12:54:14 +10:00
Dion Moult
07060fc769
Replace all ifcopenshell.api.run with ifcopenshell.api static functions.
blenderbim-0.7.9.240628
2024-06-28 12:36:31 +10:00
Dion Moult
b5d613989e
Merge pull request #4938 from Vanuan/documentation_geometry
...
[docs] Geometry related documentation
2024-06-28 07:05:46 +10:00
Vanuan
f604aa8b6b
Geometry related documentation
2024-06-27 23:40:39 +03:00
Andrej730
dc8912c128
-m ifcopenshell.validate not to print an empty line if file is valid
2024-06-27 18:26:49 +05:00
Andrej730
07a0b4fe2d
-m ifcopenshell.validate to print a message if file is valid
2024-06-27 18:26:49 +05:00
Andrej730
eb67ffcbec
Use ifc4 for enum entities in select attributes validation test #4927
2024-06-27 18:26:49 +05:00
Andrej730
4ec8345716
typing
2024-06-27 18:26:49 +05:00
Andrej730
56d3b2ca36
Use release ifc4x3 version for validation tests
2024-06-27 18:26:49 +05:00
Andrej730
dd06b1a6c4
small addition to 14dbe121f
2024-06-27 18:26:49 +05:00