Commit Graph

8296 Commits

Author SHA1 Message Date
Dion Moult ada978ed1f Toggle between full schema (i.e. all tables for every declaration) and partial schema dump into SQL 2024-04-15 11:44:55 +02:00
Bruno Postle 84cd96a48d BlenderBIM operator to delete a Git remote (#3096) 2024-04-15 11:44:55 +02:00
Bruno Postle 567ad3bf63 BlenderBIM fix warning writing .git/config (#3096) 2024-04-15 11:44:55 +02:00
Balázs Dukai 6f6ff416c9 Add copyright 2024-04-15 11:44:55 +02:00
Balázs Dukai a97cd7ad24 Update to ifcopenshell 0.7.0 and cjio 0.8
LoD is string in v1.1
2024-04-15 11:44:55 +02:00
Balázs Dukai 818f77da2b Update to v1.1 CityObject types 2024-04-15 11:44:55 +02:00
Andrej730 8ac1bc6900 IfcGitData update to ifcgit operators poll() methods
Added loading IfcGitData to ifcgit operator's poll() methods because it was getting a bit spammy in console if you don't use git.

Traceback (most recent call last):
  File "\scripts\addons\blenderbim\bim\module\ifcgit\operator.py", line 255, in poll
    if IfcGitData.data["ifcmerge_exe"]:
KeyError: 'ifcmerge_exe'
Traceback (most recent call last):
  File "\scripts\addons\blenderbim\bim\module\ifcgit\operator.py", line 147, in poll
    repo = IfcGitData.data["repo"]
KeyError: 'repo'
Traceback (most recent call last):
  File "\scripts\addons\blenderbim\bim\module\ifcgit\operator.py", line 18, in poll
    path_ifc = IfcGitData.data["path_ifc"]
KeyError: 'path_ifc'
Traceback (most recent call last):
  File "\scripts\addons\blenderbim\bim\module\ifcgit\operator.py", line 45, in poll
    path_ifc = IfcGitData.data["path_ifc"]
KeyError: 'path_ifc'
Traceback (most recent call last):
  File "\scripts\addons\blenderbim\bim\module\ifcgit\operator.py", line 190, in poll
    repo = IfcGitData.data["repo"]
KeyError: 'repo'
Traceback (most recent call last):
  File "\scripts\addons\blenderbim\bim\module\ifcgit\operator.py", line 111, in poll
    repo = IfcGitData.data["repo"]
KeyError: 'repo'
2024-04-15 11:44:55 +02:00
Andrej730 dfe7421dab External Styles
Added support for external blender styles that will be saved to ifc.
What it basically means that you can append material from external .blend file as a style that can be loaded in your blender material anytime.

1) External style can be added in Material Tab
https://i.imgur.com/BYfesi5.png

Note that you select material name at the right side of file selecting panel:
https://i.imgur.com/mvqaaod.png

2) After adding external style you can switch between external and other surface styles:
https://i.imgur.com/YtCz8an.png

3) There is also option to switch styles to External for all objects in the scene:
https://i.imgur.com/u3zTcX9.png

Some other changes:
- some ui adjustments
- moved functions that create blender shaders to tool.Loader (they also reset shader graph now so it's possible to use them on non-default blender materials)
- some new tools for copying node graph from one material to another, appending data blocks
- new operator for browsing external styles can be reused later to append other data blocks
2024-04-15 11:44:55 +02:00
Dion Moult a4224b104d Experimental support for storage of IFC in MySQL and SQLite 2024-04-15 11:44:55 +02:00
D4ve-R 26ea4fd583 Revert "build scripts"
This reverts commit 6c1218d352.
2024-04-15 11:44:52 +02:00
D4ve-R 809f3463f0 build scripts 2024-04-15 11:43:45 +02:00
D4ve-R fc29710c1d prepare for referencing 2024-04-15 11:39:21 +02:00
D4ve-R b915da223d metersPerUnit 2024-04-15 11:39:21 +02:00
D4ve-R 8723d14aee usd rotateXYZop 2024-04-15 11:39:21 +02:00
D4ve-R 9b9dce33a1 Update submodule 2024-04-15 11:39:21 +02:00
D4ve-R 7c40ce10e6 fix typo 2024-04-15 11:39:21 +02:00
D4ve-R 7d5024bdf4 refactor 2024-04-15 11:39:21 +02:00
D4ve-R 82438f279f stage up axis 2024-04-15 11:39:21 +02:00
D4ve-R 448f543e3d fix filename bug 2024-04-15 11:39:21 +02:00
D4ve-R b9f2dbb0b3 filename bug 2024-04-15 11:39:21 +02:00
D4ve-R fca79ddb6c material subsets 2024-04-15 11:38:40 +02:00
D4ve-R c8b0b65564 works fine 2024-04-15 11:38:39 +02:00
D4ve-R 38b4a225ad compile & link successful 2024-04-15 11:37:03 +02:00
D4ve-R 7e090f5709 materials 2024-04-15 11:29:06 +02:00
D4ve-R c8205b4a9e Add USDSerializer to IfcConvert 2024-04-15 11:29:01 +02:00
D4ve-R 93042ca1ef Add USDSerializer write-only 2024-04-15 11:17:03 +02:00
Thomas Krijnen 01ad84901c #2942 Escape SVG text labels 2024-04-15 11:17:03 +02:00
Nelson Henrique f31132b24e implements fileselect to export_cost_schedules 2024-04-15 11:17:03 +02:00
Andrej730 66bd1d0d5f Fixed small error on disabling editing extrusion axis 2024-04-15 11:17:02 +02:00
Chetan 86c93ac1e7 If an IFC file has an IFCRELASSOCIATESMATERIAL but did not supply an IFCMATERIAL, IfcConvert will crash. This commit prevents the crash, catches the exception and prints an error on the terminal 2024-04-15 11:16:59 +02:00
Dion Moult 2c4227384d Fix bug where you couldn't unassign inherited materials. 2024-04-15 11:07:37 +02:00
Dion Moult 408115b94b Fix sync bug where unused styles would be purged when reloading a blender file. 2024-04-15 11:07:37 +02:00
Martin15135215 c5e4914bdf CITATION.cff for BIMTester 2024-04-15 11:07:37 +02:00
Martin15135215 c50a171ae9 CITATION.cff for ifc5d 2024-04-15 11:07:37 +02:00
Martin15135215 2b72291e71 CITATION.cff for ifc4d 2024-04-15 11:07:37 +02:00
Martin15135215 3765c72684 CITATION.cff for ifc2ca 2024-04-15 11:07:37 +02:00
Martin15135215 f0a4244c77 CITATION.cff for bsdd 2024-04-15 11:07:37 +02:00
Martin15135215 bfcc624249 CITATION.cff for bcf 2024-04-15 11:07:37 +02:00
Bruno Postle 6c45936118 BlenderBIM fix Git error on simple merge (#3096)
Running git commit after a simple merge (that hasn't required conflict
resolution) is a noop, but generates an annoying message anyway.
2024-04-15 11:07:37 +02:00
Dion Moult 1eb1ba604e Fix #3272. See #3069. Fix incorrect refactoring when I was decoupling collections. 2024-04-15 11:07:37 +02:00
Gorgious56 e5003651ed Fix error when going out of edit mode with TAB when editing an arbitrary profile 2024-04-15 11:07:37 +02:00
Gorgious56 2008868e0e Fix profile based geometry not re-generating properly when exiting edit mode and the profile geometry wasn't modified 2024-04-15 11:07:37 +02:00
Martin15135215 d3ea921165 Update author in CITATION.cff 2024-04-15 11:07:37 +02:00
Martin15135215 e32de7350d CITATION.cff file for BlenderBIM 2024-04-15 11:07:37 +02:00
Thomas Krijnen 5714bd1ec4 take into account edge orientation correctly #3201 2024-04-15 11:07:23 +02:00
Andrej730 374f411b59 ids/classes namespaces for drawings in the sheet #3047
Now we add some prefix based on drawing id to each id in the drawing and also add this prefix as a class and add it to all css selectors.
Reason for that so each drawing on the sheet can have it's own set of styles that won't be affecting other drawings.
Example - https://i.imgur.com/kqRCwJW.png
2024-04-15 11:04:27 +02:00
Dion Moult a4f7da598f See #3266. Write documentation on how to use IfcCSV. 2024-04-15 11:04:27 +02:00
Dion Moult 2896c23143 Add support for Pandas DataFrames in IfcCSV and clean up function signatures 2024-04-15 11:04:26 +02:00
Dion Moult 02462c1209 Fix #3264. Describe IFC to JSON conversion (and other formats) in documentation. 2024-04-15 11:04:26 +02:00
Bruno Postle 482f97961d BlenderBIM fix Git merge log history (#3096)
The GitPython commit() method isn't suitable for completing a merge as
it only sets one parent, losing all history from the merged branch.
2024-04-15 11:04:26 +02:00