Dion Moult
df18108406
Add tests for sheet creation and drawing / sheet generation
bonsai-0.8.3-alpha2504190736
2025-04-19 17:36:21 +10:00
Thomas Krijnen
b64dcfd4b8
Fix compilation on schemas prior to ifc4 #6549
2025-04-19 09:21:22 +02:00
Dion Moult
d1493b4234
Fix #5571 . No longer create "RASTER" document references. Process all images at sheet creation time.
...
I think this was overengineered and a bad decision. RASTER is a
technical detail, not a semantic label (in contrast with whether it's a
title or a drawing).
bonsai-0.8.3-alpha2504190653
2025-04-19 16:53:14 +10:00
Dion Moult
fb34af9162
Fix #6575 . Regression in moving aggregates.
bonsai-0.8.3-alpha2504190531
2025-04-19 15:30:46 +10:00
Dion Moult
bb598d848a
Fix #4130 . Skip invalid topology.
bonsai-0.8.3-alpha2504190525
2025-04-19 15:25:13 +10:00
Dion Moult
502cf6f439
Standalone script to generate drawings for debugging
bonsai-0.8.3-alpha2504190500
bonsai-0.8.3-alpha2504190458
2025-04-19 14:59:54 +10:00
Dion Moult
9875fce579
Revert "See #6574 . Bump IOS."
...
This reverts commit 90198115b6 .
2025-04-19 14:58:07 +10:00
Dion Moult
90198115b6
See #6574 . Bump IOS.
bonsai-0.8.3-alpha2504190429
2025-04-19 14:29:20 +10:00
Dion Moult
4896a69981
Add test cases for drawing duplication and shapely fill mode.
bonsai-0.8.3-alpha2504190343
2025-04-19 13:42:36 +10:00
Dion Moult
3390f58c88
Fix failing tests
bonsai-0.8.3-alpha2504182219
2025-04-19 08:19:25 +10:00
Andrej730
917d28a7b1
ifc5d cost schedule export - guess unit from quantity type
bonsai-0.8.3-alpha2504181426
2025-04-18 19:25:46 +05:00
Andrej730
bebaa4d1bd
ifc5d cost import - fix unexpected columns assigned as values
...
Mentioned in #5492 - id, index and lots of others were assigned as values at import.
2025-04-18 19:25:46 +05:00
Andrej730
93a4f4980a
Revert ddd7dff75e
...
I guess after all it's not very reliable idea since it's possible to have a cost schedule without quantities (even non-SoR) and it's giving users false assumptions that they don't need to worry about "Is Schedule of Rates" flag in some cases.
2025-04-18 19:25:46 +05:00
Andrej730
1e30eae1d7
ifc5d - continue refactor
2025-04-18 19:25:46 +05:00
Andrej730
ff90396bcf
typing
2025-04-18 19:25:46 +05:00
Dion Moult
a030b84fc5
Typo
bonsai-0.8.3-alpha2504180950
bonsai-0.8.3-alpha2504180948
2025-04-18 19:50:03 +10:00
Dion Moult
0b1c049e81
Fix #5137 . Fix bug where duplicated drawings didn't duplicate properly. Duplicating drawings now shares code with regular object duplication.
...
Previously code wasn't shared and duplication was reimplemented in an
incomplete way. Now it's shared which means that it's also more
sophisticated (i.e. does all the linked aggregate magic).
Also the duplicate code seems super complicated especially with arrays
and linked aggregates. Moving it into a tool makes it more reusable and
we can test it more granularly in the future.
2025-04-18 19:47:54 +10:00
Dion Moult
74390c0529
Fix bug where duplication outside IFC projects didn't use native Blender operators.
...
Historically we overrode the operator, so we had to reinvent native
functionality. Now we only override the hotkey, so we can reuse native
functionality. This also means that things we failed to reinvent like
duplicating unlinked animation data now works properly. This bit me when
I was doing animation work and Bonsai's duplicate messed things up.
bonsai-0.8.3-alpha2504180828
2025-04-18 18:28:15 +10:00
Thomas Krijnen
21d39d8a23
Use exact topology points at parametric range bounds to guarantee welding #4487
2025-04-18 10:08:57 +02:00
Thomas Krijnen
ad0f62f88f
Don't terminate on invalid placement location #4883
2025-04-18 09:17:19 +02:00
Andrej730
85d8fa49ab
ifc5d - add examples for other formats
2025-04-17 19:07:20 +05:00
Andrej730
c5f4b53555
bim.export_cost_schedules - fix bug with overridden prop value
...
E.g. if you would call this operator for 1 specific cost schedule, Blender would remember it's value and would keep on using it even if operator is going to be called outside this schedule
bonsai-0.8.3-alpha2504171356
2025-04-17 18:55:42 +05:00
Andrej730
016cfa94d2
export_cost_schedules - fix confusing filename
...
Mentioned in #6545
Override filename to be always empty, so user won't have an expectation that csvs will be saved as a single file (currently they're always saved to a directory).
2025-04-17 18:55:41 +05:00
Andrej730
007af80234
ifc5d readme - add notes for possible missing columns
2025-04-17 18:55:41 +05:00
Andrej730
576a206d5b
Fix typo
2025-04-17 18:55:41 +05:00
Andrej730
4cf6411a61
ifc5d.csv2ifc - add tests for sample files
2025-04-17 18:55:41 +05:00
Andrej730
37a0b3f6a9
Csv2Ifc - move arguments to init for a simpler setup
2025-04-17 18:55:41 +05:00
Andrej730
209caec49a
csv2ifc import - rename required column from hierarchy to index #5492
...
To prevent confusion with 'Hierarchy' column that's added on the export and make current and export compatible.
Indices now always start from 1 for consistency.
2025-04-17 18:55:41 +05:00
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