Andrej730
e355a33d48
bump required cmake version to remove deprecation warning
...
deprecation warning:
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
2024-02-07 12:16:55 +05:00
Andrej730
ece9e2fdd1
build-deps - bump boost version to avoid "missing .b2 issue"
...
issue was mentioned in #2524 and resulted in error below trying to build boost dependency
```
'.\b2' is not recognized as an internal or external command,
operable program or batch file.
```
2024-02-07 12:16:54 +05:00
Andrej730
c0d84713bc
bump python version in windows build dependencies
...
they seem to switch to .exe from .msi starting from 3.5+, changed amd prefix. Also fixed version parsing line for two digits minor versions
2024-02-07 12:16:54 +05:00
Andrej730
ca9f165b6a
ifcpatch.execute - make input attribute optional
...
e.g. MergeDuplicateTypes doesn't use it in the code either way
2024-02-07 12:16:54 +05:00
dependabot[bot]
8f9c97a663
Bump fastapi from 0.101.0 to 0.109.1 in /src/opencdeserver/api/app
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.101.0 to 0.109.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.101.0...0.109.1 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-07 09:31:38 +11:00
marwiss
4ed8310b93
Correct protocol to encrypted HTTPS
2024-02-06 09:55:11 +11:00
marwiss
31be899dc9
Replace existing code in src/opencdeserver with code from the "Kontroll OpenCDE API:s server" POC project on https://github.com/marwiss/Kontroll
2024-02-06 09:55:11 +11:00
Andrej730
6d7a6eeda7
fixed bug removing representation item
...
if you'd click on "remove item" button for some item it wouldn't remove the corresponding item but would go for removing active item instead
2024-02-02 14:53:10 +05:00
Andrej730
c520e0eeb5
some refactor for bbim drawings svg serialization
...
Made some changes to svg serialization code by moving chunks of code so `.generate_linework()` will be easier to read
- moved gathering linework contexts to a separate method
- moved common code for elements serialization to a function
- replaced self.yield_from_iterator(it) with it.__iter__
Functionally code is exactly the same.
blenderbim-240202
2024-02-02 12:56:06 +05:00
Andrej730
73817acdff
add a note on get_info_2() #4270
blenderbim-240201
2024-02-01 17:19:35 +05:00
Andrej730
3d7e8d7c6c
Fixed #4259
...
Result of DeepDiff contain ordered sets. Also added fallback for usual sets to lists just in case, should be safe.
blenderbim-240130
2024-01-30 15:41:08 +05:00
Andrej730
a701840826
Fixed error adding a boolean
...
It occured if active object was IFC object and second selected object was just Blender object.
2024-01-30 14:40:07 +05:00
Andrej730
5de2ac9042
black format
2024-01-30 14:36:35 +05:00
Andrej730
573e2626ad
Fix test Model.get_manual_booleans after we added pset to store them
2024-01-30 14:36:35 +05:00
Andrej730
9de59afd49
Fix #4267 and add tests
...
Crash was caused by unmark_manual_booleans accessing boolean element after they were deleted from IFC
2024-01-30 14:36:35 +05:00
Andrej730
74a9671075
Update ui.py
2024-01-30 14:36:35 +05:00
Andrej730
799658ff41
display active representation presentation layer in UI
...
example - https://i.imgur.com/mpnoqPH.png
2024-01-30 14:36:35 +05:00
Andrej730
bd64f42a54
remove_representation to consider representation item's layers too
...
and purge layers if they are out of items as they become invalid
2024-01-30 14:36:35 +05:00
Andrej730
8eab7f155e
Small presentation layers UI fixes
2024-01-30 14:36:35 +05:00
Andrej730
5351966430
access layer assignments from inverse attribute instead of going through representation inverses
2024-01-30 14:36:35 +05:00
Andrej730
2663c079f4
test for removing representation items
2024-01-29 16:47:17 +05:00
Andrej730
6747bd9c8f
UI to remove representation items
...
example - https://i.imgur.com/jJDpIQP.png
2024-01-29 16:47:16 +05:00
Andrej730
6ece295be4
tests for creating shape aspects and adding items
2024-01-29 15:52:40 +05:00
Andrej730
64a9f85f25
create new shape aspects from UI
...
example - https://i.imgur.com/BJJZWrC.png
2024-01-29 15:52:39 +05:00
Andrej730
d8fa853308
edit shape aspect attributes from UI
...
example - https://i.imgur.com/SzUEn6r.png
2024-01-29 15:52:39 +05:00
Andrej730
ce37c49624
Fix #4262 after 0da3270c7
blenderbim-240129
2024-01-29 11:13:22 +05:00
Andrej730
0da3270c7f
UI for changing representation item's shape aspect
...
Example - https://imgur.com/a/tN7hCYz
blenderbim-240126
2024-01-26 17:32:46 +05:00
Andrej730
fda6fc6c48
geometry.remove_representation documentation
2024-01-26 17:20:39 +05:00
Andrej730
3865f01df9
operator to remove representation item from shape aspect
2024-01-26 17:20:39 +05:00
Andrej730
6bf61d7163
Simple UI to display repr item shape aspect
...
Example - https://i.imgur.com/YEAE9zU.png
2024-01-26 15:27:05 +05:00
Andrej730
b8ad73668f
BBIM to print console errors in case IFC file is failed to load
2024-01-26 14:54:51 +05:00
Andrej730
b7a3dd4164
black format
2024-01-26 14:54:50 +05:00
Bruno Postle
566fd443db
IfcGit avoid leaving stray .git/config.lock files
2024-01-25 23:30:00 +00:00
Andrej730
51b5a507cf
shape builder docs
2024-01-25 16:46:38 +05:00
Andrej730
a44357dad5
shape builder polyline example and tests
2024-01-25 16:46:34 +05:00
Andrej730
8e792ebb50
UI for changing styles for representation items
...
Example - https://imgur.com/a/SQh6rR2
blenderbim-240125
2024-01-25 15:17:44 +05:00
Andrej730
352321364c
fix couple building docs errors / warnings
blenderbim-240124
2024-01-24 16:38:53 +05:00
Andrej730
2ab32e41b2
shape builder docs fixes
2024-01-24 16:38:53 +05:00
Andrej730
3fbd9d7cdf
IFC4 Landscape Library
...
Created IFC library with simple trees, shrubs and hedges - with both 2d and 3d representations. Example - https://i.imgur.com/pOjh1si.png
Now it's available along with the furniture library when creating new project - https://i.imgur.com/Ho0B5Gn.png
2024-01-24 16:38:52 +05:00
Dion Moult
7a7fde0a2a
See #4247 . Loading models now skips excessively voided objects for performance.
2024-01-24 10:39:31 +11:00
Ryan Schultz
7992bd9902
Give user additional feedback when trying to duplicate an IFCproject and Drawing. Also deselects the object to prevent inadvertently moving it.
2024-01-23 08:04:12 -06:00
Dion Moult
3182fe9c15
Fix bug where merging by type when loading broke if a type didn't have a name
2024-01-23 19:45:31 +11:00
Dion Moult
e8858aeeb3
Fix bug where loading filtered IFC2X3 models didn't work.
2024-01-23 17:39:13 +11:00
Dion Moult
ec79d61095
Fix #2719 . Indicator whether or not IFC is dirty to help users know when to save.
2024-01-23 16:29:42 +11:00
Dion Moult
266236ee49
See #4241 . Only use shapely to repolygonise if IfcOpenShell returns unclosed paths. Hollow cuts typically are closed paths.
2024-01-23 16:06:54 +11:00
Dion Moult
192e4e43a4
Fix #4239 . Stop users from duplicating IfcProject.
blenderbim-240123
2024-01-23 12:30:25 +11:00
Dion Moult
b22c92e951
Fix regression where you couldn't unlink an object that already had a broken element link, and bug where you couldn't unlink a spatial element or similar with its own collection.
2024-01-23 12:27:09 +11:00
Dion Moult
7634e71434
See #4239 . Ensure that all copy pasted objects are unlinked. Use duplicate if you want to copy.
2024-01-23 12:25:46 +11:00
Dion Moult
dda803df2e
See 0028fd3. Fix regression when duplicating objects without connections.
2024-01-23 09:05:40 +11:00
Andrej730
c3ded31a6a
static ifcopenshell.geom.serializers and some typing for IDE code hints
...
code itself should work exactly the same way
blenderbim-240122
2024-01-22 14:24:24 +05:00