Andrej730
9bbf3bcaba
mention supported formats in export window
...
as currently there is no other ui to indicate that other formats besides .ifc are supported and I guess we just expect users to change extension in the saved filename
https://i.imgur.com/Qa6OlmR.png
2024-07-30 20:47:48 +05:00
Andrej730
a175ec4d28
fix bim tests after d4b055a
2024-07-30 20:46:16 +05:00
Dion Moult
27a2c94b4a
Fix #5065 . Restore "Import IFC" menu item for those wishing to purely work with IFC geometry instead of native ifc
2024-07-30 23:57:54 +10:00
Dion Moult
b9f76042bb
Remove deprecated export IFC operator ID
2024-07-30 23:57:54 +10:00
Dion Moult
1fef4c5857
Run black on BBIM
2024-07-26 12:19:21 +10:00
Dion Moult
0dc084d785
Refactor georeferencing properties to remove unnecessary blender_enh/project_north.
2024-07-14 09:06:01 +10:00
Dion Moult
95c457f53d
Fix bug to use 0.8.0 materials when linking models
2024-07-13 14:50:46 +10:00
Dion Moult
b4482780cf
Linking models now acommodates files with different project or map units combinations correctly
2024-07-12 23:58:18 +10:00
Dion Moult
a3844fe098
More tests and fixes for linking in models with different project norths
2024-07-07 23:59:13 +10:00
Dion Moult
22b7027746
Fix bug where automatic false origin detection didn't do anything if linking from an empty Blender session
2024-07-07 15:53:06 +10:00
Dion Moult
9d11f8a25b
Linking in models now considers multiple project norths and federates it properly
2024-07-06 17:00:21 +10:00
Dion Moult
95f71a2e2f
You can now specify custom project norths when loading in models in absolute terms
2024-07-06 15:43:16 +10:00
Andrej730
8f92877fb4
typing
2024-07-03 18:12:20 +05:00
Andrej730
4463548740
move recent IFC projects tools from Blender to Project module
...
as Project is probably more appropriate for this
2024-07-01 18:26:03 +05:00
Andrej730
5655df2081
Recent IFC projects - show schema in the tooltip
...
Example - https://i.imgur.com/0op89zh.png
2024-07-01 18:26:03 +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
Dion Moult
03b6c08c50
Remove unload project button - superseded by Convert To Blender File operator
2024-06-28 22:50:02 +10:00
Dion Moult
ac0b5abfc5
You can now choose whether to use a cache / force reload a linked model
2024-06-18 12:51:14 +10:00
Dion Moult
ad61cc3c92
Update linking styles to v0.8.0 syntax
2024-06-18 10:59:10 +10:00
Dion Moult
6fa586a1b6
When linking IFCs into a vanilla Blender session with no IFC, the origin from the first IFC you link determines the origin of subsequent links
2024-06-18 00:15:55 +10:00
Dion Moult
2300411ce4
Fix #4510 . Linking in georeferenced models now reuses the host model's georeferencing settings
...
In addition to reusing a constant false origin, because we now reuse the same logic as project loading, we also now get the ability to mix map-conversion and non-map-conversion coordinates and also link in rotated models, not just translated.
2024-06-17 17:10:14 +10:00
Dion Moult
9c61a9eed7
Linking in models now uses the same cartesian point offset strategy as loading models with a dynamic distance limit
...
Previously, it would have a hardcoded 1km distance limit and any "far away" object would be treated as a chunk instead of an occurrence. Now it has dynamic distance limits and benefit from occurrence instancing.
2024-06-17 17:03:42 +10:00
Dion Moult
b253b74e88
Linking projects now shares context prioritisation logic with regular project loading
...
This means it can link in more interesting shapes.
2024-06-16 14:21:25 +10:00
Dion Moult
cad7db0162
See #4838 . Consistently use schema_identifiers throughout the code instead of schema to be more explicit.
...
This also means in the future we are better shaped to be a prototyping platform for future IFC versions.
2024-06-15 14:05:37 +10:00
Dion Moult
453ef437d3
Fix linking IFC coordinates to v0.8.0
2024-06-14 16:30:31 +10:00
Dion Moult
88494d3379
Linking IFCs now also includes spatial elements
2024-06-14 16:16:08 +10:00
Andrej730
9906149b0d
do not load ifc materials as blender materials #4843
...
also deprecate blender_material style argument as it's not used anywhere now
2024-06-11 18:26:19 +05:00
Andrej730
6630db21ee
Set apply default materials to False #4833
...
Since it's now True by default in v0.8.0, resetting it to False as it was in v0.7.0
2024-06-11 18:26:19 +05:00
Andrej730
ab31f9ae85
fix mistake in de80e416c
2024-06-10 19:56:02 +05:00
Andrej730
de80e416c3
use get_shape_matrix util function where it's possible
2024-06-10 17:43:07 +05:00
Andrej730
51f859d8e4
typing
2024-06-10 17:43:06 +05:00
Dion Moult
c4dfbdbe2e
Merge branch 'v0.7.0' into v0.8.0
2024-06-07 23:48:39 +10:00
Dion Moult
e3cb811225
WARNING: Remove collection syncing. The outliner no longer is used to change spatial hierarchy.
...
This is a BREAKING change (on purpose). If you want to change containment / aggregation, use the UI panels, not drag and drop on the outliner.
2024-06-07 22:55:18 +10:00
Dion Moult
1565575e8b
Load spatial tree after new / open project
2024-06-05 15:47:55 +10:00
Andrej730
75e6495999
load and link ifc files by drag'n'drop 🥳
...
Example - https://imgur.com/a/kIiqk3R
Now you can drag'n'drop files to Blender and they will get loaded as projects (currently there is no safe check whether current project is saved) or you can hold ALT while drag'n'dropping and link single or multiple IFC files.
Actually, it's possible to set it up that way so multiple files won't need ALT modifier (as we can't load multiple projects, only link them) but I've kept ALT modifier for that case too to avoid confusing situations.
Blender 4.1+ only as there wasn't bpy.types.FileHandler before.
2024-05-27 16:16:57 +05:00
Andrej730
c70745826a
rename bim.export_ifc to bim.save_project (similar to bim.load_project)
...
note that old name "export_ifc.bim" is still available (cacb38a25 ) though deprecated
2024-05-23 18:45:30 +05:00
Andrej730
cacb38a251
maintain "bim." as operators bl_idname prefix for BlenderBIM
...
1) removed unused operator import_ifc.bim
2) marked export_ifc.bim as deprecated
2024-05-20 17:19:00 +05:00
Dion Moult
4c8f93d737
Add error catching to model loading and let users hide error dialog
2024-05-09 16:33:05 +10:00
Andrej730
ac29e152bb
project.unassign_declaration - support batching #4474
2024-05-03 16:28:10 +05:00
Andrej730
de690a385c
project.assign_declaration - support batching #4474
2024-05-03 16:28:10 +05:00
Andrej730
c7effa3f25
More descriptive errors linking ifc files
2024-05-02 12:13:44 +05:00
Thomas Krijnen
133b420a54
Preliminary changes to blenderbim for v0.8 #4565
2024-04-21 13:35:18 +02:00
Gorgious56
6f8dcc637f
#4532 : You can now store clipping planes to a json file and restore them
...
The file is stored along the ifc file
2024-04-17 11:52:00 +02:00
Gorgious
e38f3beb91
New UI List in Sandbox panel to access, flip, remove, add, edit clipping planes
...
and some tweaks :
- Disable possibility to edit clipping plane quad geometry
- Add select and delete operators
- Remove polls from CreateClippingPlane that prevented from using it in the Properties editor. The clipping plane is added near the origin when using the Add button in the panel
2024-04-08 21:31:23 +02:00
Dion Moult
08f4dea47f
Materials with no style colours now default to Blender's default colour when linking models
2024-04-08 08:33:18 +10:00
Dion Moult
04cf9c870b
Fix bug when linking in models with no chunks
2024-04-03 21:24:03 +11:00
Dion Moult
413886ac6b
Fix #4411 . Fallback to absolute paths if relative paths fail.
2024-03-29 15:29:19 +11:00
Andrej730
608c0dc05d
Fix tests, clean up file creating empty project
...
To fix tests changed bim.unlink_object not to unlink original blender materials as they might be used elsewhere.
2024-03-26 15:59:23 +05:00
Andrej730
515a72cec9
fix linked ifc selectability toggle
2024-03-25 14:01:08 +05:00
Andrej730
f0dde4f825
fix linked ifc visibility toggle tests
2024-03-25 14:01:08 +05:00