Dion Moult
b45b0f2c81
There is now an explicit "remove true north" button to make it consistent with other buttons like remove georeferencing
2024-06-24 18:21:06 +10:00
Dion Moult
ac58e6b8b2
Minor fix to new collection organisation for drawings
2024-06-24 18:21:06 +10:00
Dion Moult
68d3771a83
Change active layer collection when setting a new default container
2024-06-24 18:21:06 +10:00
Dion Moult
e295d596fe
Split true north in API and Blender UI to be editable independent of georeferencing
...
They are two separate concepts, after all.
2024-06-23 23:19:27 +10:00
Dion Moult
95d2d0af83
You can now see and edit WCS in the Blender UI (new API for it too)
2024-06-23 22:23:48 +10:00
Ryan Schultz
1e9bfec655
Fix #4493 - Save drawing boundaries on bim.activate_drawing as well.
2024-06-22 11:44:42 -05:00
Dion Moult
fd8cb7e8ed
Implement Blender UI for handling new coordinate operations in IFC4X3
2024-06-22 23:32:25 +10:00
Dion Moult
177d43c30e
Redesign georeference calculator UI to show units and be explicit about local vs map (instead of input vs output)
2024-06-22 16:29:36 +10:00
John Yani
7bb3de8371
Add documentation for toolbar ( #4907 )
2024-06-22 13:36:21 +10:00
Dion Moult
2fc7cc7de2
Show georeferencing unit symbols to make it clearer what units things are in
2024-06-21 23:32:53 +10:00
Andrej730
4d39804045
docs code block formatting
...
`console` type code-block is designed mainly for examples of the console commands with the output.
If it's just a shell script with comments, then `console` only gets in the way - e.g. if you try to select a console code block manually, you won't be able to select comment symbol `#` at the beginning of the command making code unrunnable if you try to copy and run it. I've replaced it with `bash` or `bat` (for Windows) code blocks where `console` wasn't necessary.
I've also removed `$` symbols at the beginning of the commands if it's not a `console` code-block - since otherwise it just breaks "Copy Code Block" because you copy unrunnable code.
2024-06-21 18:28:59 +05:00
Andrej730
c4ae9578e9
fix styles update on material assignment/unassignment #4843
2024-06-21 17:50:22 +05:00
Andrej730
e329b18e33
simplify process of loading blender materials #4843
...
We no longer traverse through representations searching for IfcSurfaceStyles and just rely on geometry.materials.
Possible after #4886 since:
- create_shape is now considering inherited materials
- material.instance_id is not returning IfcMaterial's style id instead of IfcMaterial id.
2024-06-21 17:50:22 +05:00
Andrej730
5731c4036a
unresolve_type_representation - typing and small optimization
2024-06-21 17:49:02 +05:00
Andrej730
a594a6cfe2
typing
2024-06-21 17:49:02 +05:00
John Yani
f921b65953
Major documentation refactoring ( #4905 )
2024-06-21 17:54:05 +10:00
Andrej730
1e26587bd3
geometry.import_representation to disable apply-default-materials #4832
...
as material creator is not designed for this option
2024-06-21 12:11:47 +05:00
Dion Moult
4738528e69
We now can do cartesian point offsets regardless if there is a false session origin or not.
...
For example, it doesn't matter if you have a false origin set or not, there can still be scenarios where local verts are far away.
2024-06-19 23:33:16 +10:00
Ziad-I
3c3e4dd047
add pip install python-socketio and aiohttp in makefile
2024-06-19 13:17:29 +03:00
Ziad-I
6ad2bef05c
add webui server and static files
2024-06-19 12:27:03 +03:00
Andrej730
8e0c92d5eb
Fix issue using IfcImporter after 8246d2c
...
E.g. there was an error on creating a project using demo template
2024-06-19 10:57:34 +05:00
Andrej730
6bafbd92f3
fix ui bug after 114fca8be
2024-06-19 10:57:34 +05:00
Andrej730
03663eec3f
include socketio to fix starting bbim after 65a1fbe
2024-06-19 10:57:34 +05:00
Ziad-I
b90c1ee7c9
forgot to undo changes after moving web UI code out to its own module/tool
...
forgot to remove changes done to csv module and search tool after moving web UI to its own module/tool
changes such as:
unused imports
panel header option
2024-06-18 18:31:39 +10:00
Ziad-I
bd30f73b3a
fix no such directory error when running server
...
and added a 0.5 sleep time between disconnecting and killing server
2024-06-18 18:31:39 +10:00
Ziad-I
0aad3d99b5
add data.py for web module and sending data via ws connection
2024-06-18 18:31:39 +10:00
Ziad-I
f7d55a4a4a
fix open_web_browser operator
2024-06-18 18:31:39 +10:00
Ziad-I
df2655e7ae
add open browser button and operator
2024-06-18 18:31:39 +10:00
Ziad-I
9ec51e040e
change ui to show buttons according to connected/running
...
and moved setting is_connected and is_running to inside the tool itself
2024-06-18 18:31:39 +10:00
Ziad-I
467602aec3
add sending messages to server in web tool
2024-06-18 18:31:39 +10:00
Ziad-I
88610e23b2
move thread and asyncio loop management to its own class
...
as manually managing the thread and asyncio loop was quite a hassle. especially, cleanup after closing them.
2024-06-18 18:31:39 +10:00
Ziad-I
89fb59307c
add disconnection from server functionality
...
had to refactor how the server connects
2024-06-18 18:31:39 +10:00
Ziad-I
65a1fbea78
add connection to webserver logic
2024-06-18 18:31:38 +10:00
Ziad-I
78bc8fe977
add methods to show running and connected status
2024-06-18 18:31:38 +10:00
Ziad-I
6ab08a2f49
remove debug flag in flask run command
...
removed debug flag in flask run command as it leaves a zombie process after closing blender
2024-06-18 18:31:38 +10:00
Ziad-I
de7d315eb3
add starting webserver and terminating webserver
2024-06-18 18:31:38 +10:00
Ziad-I
24662d75e4
add tool methods to generate port and check port availability
2024-06-18 18:31:38 +10:00
Ziad-I
76e6697bbc
remove open_web_ui button and operator from csv module
2024-06-18 18:31:38 +10:00
Ziad-I
3c2fcffd0d
moved web ui logic to web tool/core
2024-06-18 18:31:38 +10:00
Ziad-I
0188757197
add new web module
2024-06-18 18:31:38 +10:00
Ziad-I
444554a12d
add print messages and opening of web UI
2024-06-18 18:31:38 +10:00
Ziad-I
ba42f01db2
add internal logic to start the web-ui websocket server
...
added internal logic to the Search tool/core to start the websocket server for the webui
2024-06-18 18:31:38 +10:00
Ziad-I
5d91766f07
changed the icon for the button to URL icon
2024-06-18 18:31:38 +10:00
Ziad-I
c4cbc577d8
add open web ui button and dummy operator
2024-06-18 18:31:38 +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
John Yani
4c09773211
Refactor Project Info panel to clarify distinct modes ( #4880 )
...
* Rename modes in Project Info documentation
* Refactor project info panel UI code
2024-06-17 23:38:05 +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