Commit Graph

8308 Commits

Author SHA1 Message Date
Andrej730 a7faa3ec3e Support external shaders from currently opened blend file
Previously it was crashing if you try use shader from current .blend file as external.
I guess we now kind of support external internal shaders 🙃
2024-04-15 11:44:55 +02:00
Andrej730 00a87819e4 switch to external styles for rendered shading in viewport
Unfortunately I couldn't find a way to make it work with areas that user created during current blender session. But new areas will have this feature too after blender restart
2024-04-15 11:44:55 +02:00
Andrej730 70eaa1a7df prioritize external styles on ifc import
also found a way to switch shade graph for two materials without juggling active materials and active objects - it was necessary to make it work on import without adding temporary active object
2024-04-15 11:44:55 +02:00
johanrd 9648a51e04 fix typo in README.md 2024-04-15 11:44:55 +02:00
Bruno Postle 4318cec65a BBIM show all fetched remote Git branches (#3096) 2024-04-15 11:44:55 +02:00
Gorgious eb35157f8f Fix #3142 : Use Tab hotkey to edit horizontally layered objects 2024-04-15 11:44:55 +02:00
Ahmad Saleem Z 3ebd31a486 added link to aws/lambda guide in installation guide 2024-04-15 11:44:55 +02:00
Ahmad Saleem Z a152474e6d fix ARG in Dockerfile 2024-04-15 11:44:55 +02:00
Ahmad Saleem Z d009188805 documentation 2024-04-15 11:44:55 +02:00
Ahmad Saleem Z 8d17838af1 example fixes 2024-04-15 11:44:55 +02:00
Ahmad Saleem Z 829870a416 added aws/lambda sample 2024-04-15 11:44:55 +02:00
Bruno Postle c07cb2141e BlenderBIM operator to add remote repo (#3096)
Procedure to merge a pull request would be: Add Remote, select the added
remote in the pull-down, Fetch from remote, select the added remote
branch in the pull-down, Merge, delete remote
2024-04-15 11:44:55 +02:00
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