Commit Graph

8360 Commits

Author SHA1 Message Date
Andrej730 3e0adb8dfd Added button to update current style #3293
Example - https://i.imgur.com/f4Yi3MR.png
Now changing style type should be a bit more intuitive - previously there were no button and it wasn't possible to change style type for all selected objects / changing style type for the entire scene were hidden in N-panel Miscellaneous section.

Now it also able to change style type for all blender materials, even the ones that don't have any objects using them (wasn't possible before 7c0c934b4)
2024-04-15 12:04:44 +02:00
Bruno Postle d15f7cf88e BlenderBIM Git merge asymmetry heuristic (#3096)
`ifcmerge` is asymmetrical. When both branches have new entities, either
local or remote step Ids need to be renumbered to resolve the merge
conflict.

If the remote branch is 'origin/main' or 'main' we preserve remote Ids,
otherwise we preserve local Ids.

This should support a workflow where a local 'main' branch is kept
pristine, but other local branches are treated as disposable; it should
also support a workflow where multiple authors access a shared 'origin'.
2024-04-15 12:04:44 +02:00
Thomas Krijnen 88823943f0 Further defer sql.py imports for ifcopenbot to succeed 2024-04-15 12:04:44 +02:00
Thomas Krijnen 4f387e723b Comment out import mysql.connector 2024-04-15 12:04:44 +02:00
Thomas Krijnen 5a601f16fd Correct if-clause 2024-04-15 12:04:44 +02:00
Thomas Krijnen a7b10a2880 Add test 2024-04-15 12:04:44 +02:00
Totally a booplicate aced364a08 smol fix 2024-04-15 12:04:44 +02:00
Totally a booplicate 0b2cfc7560 fix missing else clause 2024-04-15 12:04:44 +02:00
Totally a booplicate dc5a0d4568 raise TypeError on invalid pset 2024-04-15 12:04:44 +02:00
Totally a booplicate 79983e5097 rework unpack_unit_value
handle the `None` case, simplify logic
2024-04-15 12:04:44 +02:00
Totally a booplicate e31047e8c6 improve naming of the new method 2024-04-15 12:04:44 +02:00
Totally a booplicate 182aa3ed01 improve update_existing_properties
explicit class check
error out on a not supported type
better methods names
2024-04-15 12:04:44 +02:00
Totally a booplicate 0632c9bf1b implement _try_purge
per review comment about repeating code
2024-04-15 12:04:44 +02:00
Totally a booplicate cd5baefb55 restructure if/elif/else chain 2024-04-15 12:04:44 +02:00
Totally a booplicate 53dd817d97 support tuples 2024-04-15 12:04:43 +02:00
Totally a booplicate 0ce987f788 move prop check 2024-04-15 12:04:43 +02:00
Totally a booplicate f4c618701c per review
change exception message
remove TODO
pass `Unit`
raise `NotImplementedError` when no template was found
2024-04-15 12:04:43 +02:00
Totally a booplicate c186e7120c resolve TODO
This is being fixed, we should always have a class to use
2024-04-15 12:04:43 +02:00
Totally a booplicate 1f89fea569 attempt to improve pset support
1. Adds support to directly passed in property entities
2. Adds support for tuples
3. Adds support for P_LISTVALUE
2024-04-15 12:04:43 +02:00
Balázs Dukai 2b71b33c82 Don't use importlib for version 2024-04-15 12:04:43 +02:00
Balázs Dukai 435090e7f1 Get package version from pyproject.toml 2024-04-15 12:04:43 +02:00
Balázs Dukai 4a4186e3ce Include GenericCityObject extension 2024-04-15 12:04:43 +02:00
Balázs Dukai fb3c553249 Add parameters 2024-04-15 12:04:43 +02:00
Balázs Dukai bc3cc94500 Init package 2024-04-15 12:04:43 +02:00
Vasile-Corjan ffebfca277 Update README.md 2024-04-15 12:04:43 +02:00
Vasile-Corjan eb67a809ce Update README.md
I have added the parameters "minOccurs" and "maxOccurs"
2024-04-15 12:04:43 +02:00
Dion Moult e7bb823f15 Run black on existing entity_instance 2024-04-15 12:04:43 +02:00
Dion Moult aafb905199 Build testing prototype of an SQLite based file / entity_instance. 2024-04-15 12:04:43 +02:00
Dion Moult 35a346e412 Document two answers to frequently reported bugs: missing numpy and blend / ifc out of sync. 2024-04-15 12:04:43 +02:00
Dion Moult 297ac5af3a Minor geometry processing documentation fix 2024-04-15 12:04:43 +02:00
Dion Moult ef98bd5120 Convert Ifc2Sql script to IfcPatch recipe and add geometry support 2024-04-15 12:04:43 +02:00
Dion Moult 816efc8810 Fetch pset and qto names via pset data instead of real time to prevent UI lag on larger models. 2024-04-15 12:04:43 +02:00
Dion Moult 0e02c97fc6 Lazily check for BBIM_Railing psets to prevent unnecessarily fetching psets for every element when loading models. 2024-04-15 12:04:43 +02:00
Dion Moult a572bcfcb9 IfcPatch can now support patches that write to arbitrary files or have no output. 2024-04-15 12:04:43 +02:00
Dion Moult 534247daa1 Fix bug for getting psets of materials and profiles in IFC2X3 2024-04-15 12:04:43 +02:00
Thomas Krijnen 7c6620550a add assert #3308 2024-04-15 12:04:26 +02:00
Thomas Krijnen 7feeb441ff #2819 Handle periodic bspline curves in serialization 2024-04-15 11:58:51 +02:00
Sigma Dimensions e17b9fa111 enable activating object type when trying to select type from an object ( whilst the type is hidden from view layer) 2024-04-15 11:44:56 +02:00
Massimo Fabbro 240f9b0100 Now generate spaces from walls considers also columns in order to create the contours 2024-04-15 11:44:56 +02:00
Thomas Krijnen cd8bc823c2 #3305 Less pessimistic tolerance comparison in newells method 2024-04-15 11:44:56 +02:00
Thomas Krijnen 1efe5761c0 #3305 one more iteration on lower fuzziness level for boolean ops 2024-04-15 11:44:56 +02:00
Sigma Dimensions 8a108627e4 temporarily hide IFC Spatial Manager for IFC2X3 models 2024-04-15 11:44:56 +02:00
Sigma Dimensions 62b5f080ab Enable selecting group elements 2024-04-15 11:44:56 +02:00
Sigma Dimensions 2b4c21615b Enable selecting a container's children from the IFC Spatial Manager panel 2024-04-15 11:44:56 +02:00
Sigma Dimensions c280bfa7ae fix replacing material with material profile 2024-04-15 11:44:56 +02:00
Sigma Dimensions ab19c9ff46 experimental patch of non parametric mep segments 2024-04-15 11:44:56 +02:00
Sigma Dimensions da41469c43 fix missing import 2024-04-15 11:44:55 +02:00
Sigma Dimensions ee0dca4898 Move Spatial Manager UI to "IFC Project Set-up" 2024-04-15 11:44:55 +02:00
Sigma Dimensions 2cf50dc48f split material assign/unassign operators into tool and core 2024-04-15 11:44:55 +02:00
Sigma Dimensions 5ce156bfa9 fix delete material operator 2024-04-15 11:44:55 +02:00