Andrej730
273cdc6ea8
Fixed ifc text annotation preview not showing during edit #3159
...
Error was:
```
Traceback (most recent call last):
File "\scripts\addons\blenderbim\bim\module\drawing\decoration.py", line 1899, in __call__
decorator.decorate(context, obj)
File "\scripts\addons\blenderbim\bim\module\drawing\decoration.py", line 1451, in decorate
self.draw_text(context, obj)
File "\scripts\addons\blenderbim\bim\module\drawing\decoration.py", line 540, in draw_text
symbol = text_data["Symbol"]
KeyError: 'Symbol'
```
2023-05-16 16:53:38 +05:00
Andrej730
0ef6ea6bd4
Schedule Builder - some naive support for font size in text #3154
2023-05-16 16:43:39 +05:00
Andrej730
607d9a06ec
Schedule Builder - support for bold and italic text in cells #3154
2023-05-16 16:31:26 +05:00
Andrej730
1b472ca5f2
Schedule builder - fixing cell alignment #3154
...
Noticed that it's actually not merging cell style with col style as I did before but just prioritizing cell style if it's defined
2023-05-16 15:24:39 +05:00
Andrej730
18568d6ba7
Schedule cells limit without print range to prevent system freeze
...
What I've found that sometimes you might get into situation (especially if .ods was created / processed in Excel) you might get a lot unnecessary columns and rows (in fact excel always seems to save 1048576x16384 table) and trying to print this kind of table results in investing a lot of RAM into it and possible system freeze.
Now there is a check if table has more than 10000 cells (number is completely made up 😁 ) then it would require user to define print range in the table to prevent the issue.
2023-05-16 15:16:48 +05:00
Andrej730
bfb59dd387
Scheduler builder enhancements #3154
...
Now it supports
1) print ranges - in svg you'll get only the part that's included in print-range.
2) children styles - sometimes cells inherit center alignment from column styles and before that commit text wouldn't be centered in svg in that case
3) repeating rows support
2023-05-16 14:44:45 +05:00
Andrej730
38cf88d5d2
Saving drawing shading styles to ifc #2991
...
Now shading styles are stored in ifc. It's actually stored in json file (by default it's in projects "assets/shading_styles.json") and the path to it saved in `EPset_Drawing.ShadingStyles`.
Current shading styles is stored in `EPset_Drawing.CurrentShadingStyle`.
This change could potentially cause problems but I've added some temporary fallback to make sure `EPset_Drawing.ShadingStyles` will be set to some default path and default shading styles will be copied to the project's folder.
blenderbim-230515
2023-05-15 16:43:56 +05:00
Bruno Postle
7ca6f9d7a1
BlenderBIM Git clone repository operator ( #3096 )
blenderbim-230514
2023-05-14 21:10:53 +01:00
Gorgious
5874508263
use tool module instead of local function to activate object
2023-05-13 19:57:52 +02:00
Bruno Postle
954de793dd
BlenderBIM Git tagging documentation
2023-05-13 10:37:29 +01:00
Bruno Postle
df74d5efbe
BlenderBIM list and create git tags #3096
blenderbim-230513
2023-05-13 09:57:10 +01:00
Andrej730
f7b9a7bfb5
Multiline in dimension description / suffix / prefix #3005
...
Also added some offset for dimension text in viewport to make it more similar to svg
blenderbim-230512
2023-05-12 14:54:22 +05:00
Thomas Krijnen
63eaa88d3d
#3139 Capture parsed selected simple type values
2023-05-12 10:19:15 +02:00
Andrej730
f518521ea1
Option to add prefix and suffix to dimension annotation #3005
...
Example - https://imgur.com/a/0NkStWm
2023-05-11 17:38:48 +05:00
Andrej730
5e1ee22bcd
Ifc CSV Export template now also saves the expression #3034
...
Previously saved templates wouldn't work now, they need to be either recreated or modified to make them work.
Example of old template format:
`["Name", "class", "type.Name"]`
Example of new template format:
`{"expression": ".IfcDoor", "attributes": ["Name", "class", "type.Name"]}`
Note that this would work too:
`{"attributes": ["Name", "class", "type.Name"]}`
2023-05-11 14:18:51 +05:00
Andrej730
ca09ff2ef0
Not all curve annotation types were detected at the import #3090
blenderbim-230511
2023-05-11 10:54:27 +05:00
Bruno Postle
8643aff800
Merge branch 'v0.7.0' of github.com:IfcOpenShell/IfcOpenShell into v0.7.0
2023-05-10 22:53:00 +01:00
Gorgious
2e88993654
Fix #3128 : RefLatitude and RefLongitude attributes now show their description on right click + add a snippet to tell the user how to format the values
2023-05-10 22:51:30 +01:00
Bruno Postle
b77849d279
Report ifcmerge conflicts in pop-up #3096
2023-05-10 22:45:22 +01:00
Gorgious
c7e288466f
Fix #3128 : RefLatitude and RefLongitude attributes now show their description on right click + add a snippet to tell the user how to format the values
2023-05-10 21:31:19 +02:00
Kristoffer Andersen
bb48d4aac1
Update meta.yaml
...
pin daily conda builds to occt 7.7.0
2023-05-10 20:43:22 +02:00
Gorgious56
2b99cc1e58
Fix typo in get_pset docstring
2023-05-10 16:41:19 +02:00
Andrej730
ca286f8d19
Migrating shaders to builtins to support M1 #2897
...
Migrated all shaders from geometry shaders to builtins (all geometry data now calculated in python before passing to shader) to make them more reliable and support Metal backend on Mac M1 (tested that it works - both annotations and gizmo).
The current downside is that there is no more custom frag shaders too - meaning we do not support dashed lines in the annotations (currently Hidden and Grid just use a bit less bright annotation color).
blenderbim-230510
2023-05-10 18:19:00 +05:00
Bruno Perdigão
73a3cc2cc5
changed custom scale input
2023-05-10 09:11:09 +10:00
Bruno Postle
169709ed04
Selecting a git revision updates info box
2023-05-09 22:15:57 +01:00
Sigma Dimensions
2e746242ce
Fix task json issue due to "Bad control character in string literal in JSON at position XXXX"
2023-05-09 15:43:12 +01:00
Sigma Dimensions
951b8e2b15
Convenient Pie Menu shortcut to aggregate selected objects to active object
2023-05-09 14:24:31 +01:00
Sigma Dimensions
ede3edcf1e
fix toggle_cost_item_parent
2023-05-09 13:25:21 +01:00
Sigma Dimensions
184c9f87b2
Fix baseline gantt chart bug when new tasks are added to the planned schedule
2023-05-09 13:03:57 +01:00
Dion Moult
0793a4602d
Minor improvements to shape utility.
blenderbim-230509
2023-05-09 20:51:08 +10:00
Dion Moult
bb285c47dc
See #2673 . Bundle IfcTester for PyPI.
2023-05-09 20:49:08 +10:00
arun
4cb6fc05d6
corrected get_extrusions function
blenderbim-230508
2023-05-08 20:18:57 +02:00
Kristoffer Andersen
a302e5db64
add zlib to conda build dependency
...
zlib is now longer indirectly included from the vtk package now that we have a new occt variant novtk that does not depend on vtk
2023-05-08 14:12:03 +02:00
Bruno Postle
ff21749da4
Merge branch 'v0.7.0' of github.com:IfcOpenShell/IfcOpenShell into v0.7.0
2023-05-07 13:12:22 +01:00
Bruno Postle
23b5da7670
BlenderBIM ifc file association (linux only) #2399
2023-05-07 13:08:28 +01:00
Bruno Postle
c31e479f47
Rename blenderbim.sh, better initialisation #2399
2023-05-07 09:46:15 +01:00
Dion Moult
260eb31a69
Add shape utility to easily get profiles and extrusions
blenderbim-230507
2023-05-07 17:32:46 +10:00
Dion Moult
1fb6dac6fb
Fix failing tests in preparation for release.
blenderbim-230506
2023-05-06 11:05:13 +10:00
Dion Moult
34d947c51f
Fix #3084 . Issue where drawings with no elements couldn't be generated.
2023-05-06 11:02:41 +10:00
Sigma Dimensions
23f7a6d5a6
fix test-related sequence bug
...
Fix baseline gantt chart bug
2023-05-06 00:21:57 +01:00
Sigma Dimensions
b15926c20a
Fix baseline gantt chart bug when new tasks are added to the planned schedule
2023-05-05 23:43:27 +01:00
Sigma Dimensions
0a7ef80ca7
BBIM4D: Enable filtering by active work schedule when retrieve tasks related to objects
2023-05-05 18:26:32 +01:00
Sigma Dimensions
be08406cc1
Auto-refresh task sorting
blenderbim-230505
2023-05-05 17:11:24 +01:00
Bruno Postle
cc9777b1e8
Basic user documentation for BlenderBIM Git functionality ( #3096 )
2023-05-04 23:53:37 +01:00
Dion Moult
539b3a243b
Fix fundamental bug where area and volume units were ignored on new projects.
2023-05-04 21:43:48 +10:00
Andrej730
41e58a3d46
Small addition to 8c302ed85
2023-05-04 16:00:12 +05:00
Andrej730
8c302ed85c
Changed x_angle subtype to degrees
...
Now BIMModelProperties.x_angle stores data in radians internally but for user it still appears as degrees
2023-05-04 15:53:29 +05:00
Dion Moult
dc4dc46b62
See #1676 . Fix space boundary generation for IFC4 RV where openings are already subtracted from the body.
2023-05-04 20:22:29 +10:00
Dion Moult
a07fa5a2c2
Accommodate invalid named units when loading IFCs.
2023-05-04 19:55:54 +10:00
Dion Moult
ad9dbce003
See #3085 . Don't bundle numpy as Blender already has it and it causes conflicts.
2023-05-04 19:45:04 +10:00