Andrej730
46d3d3afe1
calculate materials checksum in a common method
2024-06-25 18:30:52 +05:00
Andrej730
39cd4187ea
Remove unused BIMMaterailProperties props #4843
...
attributes were deprecated in d219856
is_external and name were deprecated awhile ago in 3fe5c88 😁
2024-06-25 18:30:51 +05:00
Andrej730
d6a3bc3556
remove dead code for loading materials from external blend files
...
External blender materials are now supported from
2024-06-25 18:30:51 +05:00
Andrej730
ce9e4f2854
remove BIMObjectProperties from bpy.types.Material as deprecated #4843
2024-06-25 18:30:51 +05:00
Andrej730
5d6215d889
bim.unlink_object - add description
2024-06-25 18:30:51 +05:00
Andrej730
17eb45fb4e
Object metadata to double check element belongs to the current project
...
Just to be safe if it got from other Blender session and there is an IFC element with the same id in the current project. I guess we can't check it anywhere but information in "Object metadata" should very accurate as here user might decide to unlink it.
2024-06-25 18:30:51 +05:00
Andrej730
0a06d58c42
typing
2024-06-25 18:30:50 +05:00
Andrej730
a65c6b6d3f
bim.unlink_object to skip popup if element is not found
...
If element is not found then it should always use `should_delete == False`, so we can just hide the popup in that case so users won't get confused about what should they choose.
2024-06-25 18:30:50 +05:00
Andrej730
c5262274eb
bim.unlink_style - fix issue saving project after unlinking
2024-06-25 18:30:50 +05:00
Andrej730
65f94bcc0c
Fix for console errors in a0e5d350b when no material active
2024-06-25 18:30:50 +05:00
Ziad-I
804bbc47c3
fix exception when global id is not included in csv data
2024-06-25 23:15:58 +10:00
Ziad-I
a967665cbd
slight html/js/css changes
2024-06-25 23:15:58 +10:00
Ziad-I
cbd017aceb
now sets active object too when selecting from web UI
2024-06-25 23:15:58 +10:00
Ziad-I
8d9d142bc2
reorganize JS code to be outside of document.ready
2024-06-25 23:15:58 +10:00
Ziad-I
f6c30f2ddf
improved send function logic to make there be 1 function only
2024-06-25 23:15:58 +10:00
Ziad-I
d2a27999ba
add handling for web operator selection
...
where if user click on item in the table it gets selected in blender
2024-06-25 23:15:58 +10:00
Ziad-I
2738b280a1
now shows ifc file name before table
2024-06-25 23:15:58 +10:00
Ziad-I
c8946a19f2
edit html/js/css to use tabulator to show csv data
2024-06-25 23:15:58 +10:00
Ziad-I
6b1932c8d9
add event listeners in sioserver.py
...
added event listeners for sending csv data from blender and receiving operator data from web UI
2024-06-25 23:15:58 +10:00
Ziad-I
a133b51dcc
add new output format "web". might need to...
...
might need to rewrite the logic for the output format "web" at a later date if there is a better way
2024-06-25 23:15:58 +10:00
Ziad-I
6155edef0d
made sending data take the event and namespace names as args
2024-06-25 23:15:58 +10:00
Dion Moult
44100f3c46
Fix isolating drawing camera now that we have a new collection structure
2024-06-24 23:41:00 +10:00
Dion Moult
e6238a1f75
Georeference UI now lets you edit either a decimal degrees angle or an abscissa ordinate and calculates on the fly
...
Seriously no normal person uses abscissa and ordinate
2024-06-24 23:41:00 +10:00
Dion Moult
cfd440dae9
Remove georeferencing orientation calculator UI because it's superseded by built-in angle calculators
2024-06-24 23:41:00 +10:00
Andrej730
a0e5d350bd
Small UI in Blender material properties tab with unlinking #4843
...
Example - https://i.imgur.com/7VqIowz.png
This tab is needed only to indicate whether style is linked to some IFC element and to unlink it. Unlinking from Blender material makes much more sense as you can see from this tab what you're actually unlinking.
Unlinking for styles now works very similar to how it works for objects.
2024-06-24 18:37:55 +05:00
Andrej730
115844279f
fix removing objects with materials after c4ae9578e #4843
...
temporary fix, we probably should indeed just get rid of that listener
2024-06-24 18:34:00 +05:00
Andrej730
cbb7c5620d
Fix unlinking objects with should_delete=False after 75f8e75
...
It was keeping a reference to that object in IfcStore which could lead to issues.
2024-06-24 18:34:00 +05:00
Andrej730
6d5d15793b
record material checksum if styles were changed during material assignment
...
previously they wasn't recorded leading to the applying them to the representation items on save
2024-06-24 18:34:00 +05:00
Andrej730
8ac6f59394
typing
2024-06-24 18:34:00 +05:00
Andrej730
5d8addf1f8
remove optimization option deprecated after e3cb811
2024-06-24 18:34:00 +05:00
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