Andrej730
bebb29f486
ifc5d csv export - rename Description column to Name #5492
...
Because actually it is a name and this is the column name that csv2ifc expects.
2025-04-17 18:55:40 +05:00
Andrej730
deb6e3779e
ifc5d - refactor
2025-04-17 18:55:40 +05:00
Andrej730
a6c37771fc
typing
2025-04-17 18:55:40 +05:00
Andrej730
95f754d2df
black .
2025-04-17 18:55:40 +05:00
Thomas Krijnen
030dc6460a
Prevent double free in iterator with output=native
2025-04-17 15:26:18 +02:00
Thomas Krijnen
360e08f268
SVG matrix #5676
2025-04-17 15:25:35 +02:00
Sebastian Friston
dc84d85f7b
ISSUE #6340 check if material is null before trying to get id
bonsai-0.8.3-alpha2504171231
2025-04-17 14:33:07 +02:00
Dion Moult
e16d8907f3
See #5676 . Shapely fill calculation on drawings is 100x faster due to Blender raycasting instead of tree.select_ray.
2025-04-17 22:31:23 +10:00
Dion Moult
52cada180b
Fix #4107 . Bug where shapely used incorrect raycast coordinates causing fills to not show.
...
This has been around for 2 years, either it was never noticed or
something changed?
bonsai-0.8.3-alpha2504170938
2025-04-17 19:38:31 +10:00
Gorgious56
1999216ea5
Use utilities to fetch collection hierarchy
...
I don't think this offers a noticeable performance gain but feels more idiomatic since it is available with the API.
bonsai-0.8.3-alpha2504170710
2025-04-17 09:10:28 +02:00
Dion Moult
5a6476a57f
Fix #3673 . Bug where a split wall broke flipped doors.
...
Instead of regenerating fills upon splitting walls, placements are
preserved exactly.
bonsai-0.8.3-alpha2504170628
2025-04-17 16:28:05 +10:00
Bruno Perdigão
c45e3b0099
See #6537 . Fix how OverrideMove works when dealing with multiple levels of aggregates.
bonsai-0.8.3-alpha2504162349
2025-04-16 20:46:39 -03:00
Bruno Perdigão
c9fc543e91
See #6537 . Improve how aggregate mode behaves when dealing with multiple levels of aggregates.
2025-04-16 20:23:18 -03:00
Andrej730
9994fec571
ifc5d - fix bug exporting multiple csvs with the same name
bonsai-0.8.3-alpha2504161425
2025-04-16 19:24:16 +05:00
Andrej730
b0aeabf2f6
ifc5d .csv cost schedule - save as unicode
...
Previously it was saved using Windows 1252 and importing it would fail with an error like so:
```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 650: invalid start byte
```
2025-04-16 19:24:16 +05:00
Andrej730
ddd7dff75e
ifc5d csv2ifc - autodetect schedule of rates by the header structure
2025-04-16 19:24:16 +05:00
Andrej730
7acd13cb82
ifc5d readme - mention format examples
2025-04-16 19:24:15 +05:00
Andrej730
6499ac41cf
ifc5d typing and refactor
...
no functional changes
2025-04-16 19:24:15 +05:00
Dion Moult
e8b74245ce
Update VERSION
2025-04-16 16:27:16 +10:00
Andrej730
ecee3781e4
Fix more missing Blender descriptions leading to crashes #6420
ifcopenshell-python-0.8.2
ifcconvert-0.8.2
ifcsverchok-0.8.2
bonsai-0.8.2
bonsai-0.8.2-alpha2504151444
2025-04-15 19:43:38 +05:00
Andrej730
52f949b2dc
assign_class - avoid empty geometries and assigning shape reprs to structural items
2025-04-15 19:43:38 +05:00
Andrej730
cb7e04f61a
assign_class - replace object with empty if no representation was added
...
Same goal as ffffcc576e - prevent user confusion when they reload IFC file and see the representation is gone.
2025-04-15 19:43:38 +05:00
Andrej730
b59e5b076d
get_pset, get_psets - don't fail on ifc2x3 profile psets and partially handle ifc2x3 material psets #6538
bonsai-0.8.2-alpha2504141402
2025-04-14 18:59:47 +05:00
Andrej730
1516237537
Allow Undefined topology representations for IfcStructuralPointConnection #6459
...
Because apparently it's not invalid IFC.
IfcStructuralPointConnection documentation says that they should have a topology representation with a IfcVertexPoint but it doesn't restict this representation from having Undefined type if it does have a IfcVertexPoint as it's item.
bonsai-0.8.2-alpha2504141250
2025-04-14 17:49:17 +05:00
Andrej730
53cd5f834e
add_mesh_representation - reuse shape builder + numpy input support
bonsai-0.8.2-alpha2504141121
2025-04-14 16:17:59 +05:00
Andrej730
6dc6fddd0e
add_mesh_representation - expand documentation and typing #6541
2025-04-14 16:17:59 +05:00
Dion Moult
52c8cc0a72
Fix #6140 . You can configure the force snap setting.
...
I can't figure out a more elegant way of doing this. I.e. I don't know
how to detect whether or not the user has explicitly set their own snap
default.
bonsai-0.8.2-alpha2504130757
2025-04-13 17:57:08 +10:00
Dion Moult
463473b959
Fix #6359 . No longer sync materials at export sync we have a proper material / style manager now not Blender materials.
bonsai-0.8.2-alpha2504130610
2025-04-13 16:09:36 +10:00
Dion Moult
fd0c578995
No longer sync edited objects since we don't defer representation updates anymore due to item mode.
2025-04-13 16:06:15 +10:00
Dion Moult
74fbe94ed4
Update feature_request.yml
2025-04-13 12:10:28 +10:00
Dion Moult
38002e1ee2
Update and rename feature_request.md to feature_request.yml
2025-04-13 12:08:28 +10:00
Dion Moult
58b070d22d
Update and rename bug_report.md to bug_report.yml
2025-04-13 12:06:46 +10:00
Dion Moult
e2b119bf9b
Update feature_request.md
2025-04-13 11:42:53 +10:00
Dion Moult
8cf3807c2c
Update feature_request.md
2025-04-13 11:42:11 +10:00
Dion Moult
ad3d0fecb2
Describe other channels in issue template
2025-04-13 11:38:33 +10:00
Dion Moult
fcfe6f97c3
Update bug_report.md
2025-04-13 11:32:30 +10:00
Dion Moult
c0190b5065
Fix #6452 . Fix #6478 . Disable camera clipping due to unpredictable Blender behaviour (reported upstream).
...
https://projects.blender.org/blender/blender/issues/137384
bonsai-0.8.2-alpha2504130121
2025-04-13 11:20:57 +10:00
Andrej730
e596ac6b1b
dev_environment.bat - ensure symlinks are loaded #6473
bonsai-0.8.2-alpha2504111456
2025-04-11 19:55:27 +05:00
Andrej730
d9ed6a4950
Fix bim test after 1e3f1e7dfc
2025-04-11 19:55:26 +05:00
Andrej730
a49ccfcfc8
test_append_asset - fix skipped test
...
It wasn't appending library_material so test would never fail
2025-04-11 19:55:26 +05:00
Andrej730
7974d8a0d0
project.append_asset - test assume_asset_uniqueness_by_name=False
2025-04-11 19:55:26 +05:00
Andrej730
f00e77ef6c
bim.validate_ifc_assets Bonsai operator #6243
...
There's now operator to check that all profiles, styles, materials in the current project have a unique name. Which is important since it's used when we append assets to ensure there are no duplicated assets.
Operator location - https://i.imgur.com/bvXjZ8Y.png
Example output:
```
IfcMaterial name 'KnownUnknown' is used by multiple assets:
- # 260=IfcMaterial('KnownUnknown',$,$)
- # 1220=IfcMaterial('KnownUnknown',$,$)
Found issues validating IfcProfileDef assets.
IfcProfileDef name 'DEMO-C' is used by multiple assets:
- # 266=IfcCShapeProfileDef(.AREA.,'DEMO-C',$,0.2,0.1,0.0015,0.03,0.005)
- # 261=IfcIShapeProfileDef(.AREA.,'DEMO-C',$,0.1,0.2,0.005,0.01,0.005,$,$)
Found issues validating IfcPresentationStyle assets.
IfcPresentationStyle name 'Frame' is used by multiple assets:
- # 363=IfcSurfaceStyle('Frame',.BOTH.,(# 362))
- # 1221=IfcSurfaceStyle('Frame',.BOTH.,(# 1222))
```
2025-04-11 19:55:26 +05:00
Andrej730
fc37cca1d0
ExtractElements - expose assume_asset_uniqueness_by_name option #6243
...
I'd much rather not expose this option to ifcpatch but I guess models are different and there should be a way to extract elements even if assets name uniqueness is not ensured (since it's not IFC requirement anyway). But it may cause duplicated assets.
2025-04-11 19:55:26 +05:00
Andrej730
53da00a5b7
append_asset - fix possible errors with assume_asset_uniqueness_by_name=False after f43e33b
...
If `assume_asset_uniqueness_by_name` is `False`, then we don't really need `SafeRemovalContext`.
2025-04-11 19:55:25 +05:00
Andrej730
b5bc53bdf6
Renaming style from UI not to add .xxx Blender suffix to style name
...
Set style name explicitly, this way what user does in UI is what they get in IFC.
Previously confusingly if you set style name to "Glass" and "Glass" already existed, you would get "Glass.001" style internally but "Glass" name in UI.
2025-04-11 19:55:25 +05:00
Andrej730
bc0fbf744a
bim.search - set found object as active
...
As sometimes it's hard of find a selected object in outliner if it's not active.
2025-04-11 19:55:25 +05:00
Andrej730
53b26a9b66
typing
2025-04-11 19:55:25 +05:00
Thomas Krijnen
858e73c9d9
IfcPropertySetDefinitionSet in xml serializer #6330
2025-04-11 15:53:27 +02:00
Thomas Krijnen
952400bd58
Support defined types with instance references in parser (IfcPropertySetDefinitionSet; #6330 )
2025-04-11 15:52:40 +02:00
Andrej730
ffffcc576e
assign_class - reload representation after assignment
...
Just to make sure user will set what was actually saved to IFC right away. To prevent confusion when they see it only after model was reloaded completely.
bonsai-0.8.2-alpha2504101416
2025-04-10 19:16:04 +05:00