Andrej730
f41fbf24c3
small fix for e14d96e6e
2024-04-24 18:19:20 +05:00
Andrej730
e14d96e6ee
Use .Name instead of .Description if IFC2X3 for sheets #4576
...
As Description was added only in IFC4
2024-04-24 18:17:37 +05:00
Andrej730
716a33f347
convert_file_length_units - fix issue converting to imperial units
...
ifcpatch ConvertLengthUnit - change used units from plural to singular names, to make it consistent across the api
more test coverage - test converting to more units and back from them
2024-04-24 15:15:30 +05:00
Andrej730
c5f084a4af
ConvertLengthUnit test
2024-04-24 14:12:13 +05:00
Andrej730
606a0b46f2
MergeProject - support merging projects with different units
2024-04-24 14:12:13 +05:00
Andrej730
1c729a74d1
util.unit to support converting aggregate of aggregates
2024-04-24 14:12:13 +05:00
Andrej730
db31574103
typing
2024-04-24 14:12:13 +05:00
stefkeB
d03b47e1e6
Fix HDF5 conditional inclusion in GeomTree
...
IfcGeomTree uses HDF5, but this is an optional module, so we have to wrap it with #ifdef WITH_HDF5
2024-04-23 18:46:10 +02:00
Ryan Schultz
ae62ac2777
small tweak to b8a9674483 - duplicate profile has '_copy' suffix.
2024-04-23 07:42:02 -05:00
Andrej730
998f9c6a1e
make styles ui more similar to profiles and materials ui
...
before - https://i.imgur.com/bTbyt2t.png
after - https://i.imgur.com/U53h8Yh.png
2024-04-23 16:39:49 +05:00
Andrej730
3ff31b577c
bim.duplicate_style
2024-04-23 16:39:49 +05:00
Andrej730
cd013079f4
bim.duplicate_material
2024-04-23 16:39:49 +05:00
Andrej730
b8a9674483
bim.duplicate_profile
...
simple operator for profile duplication
example - https://imgur.com/a/dsP78iV
2024-04-23 16:39:49 +05:00
Andrej730
8beb1bef98
preserve selected profile index removing profiles
2024-04-23 16:39:38 +05:00
Andrej730
377676f881
dev environment - add libs/desktop and bsdd
2024-04-23 15:23:16 +05:00
Andrej730
fabebb4ff6
use IFC4X3_ADD2 for ifcopenshell.schema_by_name
...
as it is the main IFC4X3 schema
2024-04-22 17:31:49 +05:00
Andrej730
aeb64acc07
util.doc - use release schema version for IFC4X3
...
As it will be more like to be available in the ifcopenshell package. Related to #4565
2024-04-22 17:31:49 +05:00
Andrej730
f94aecbbff
typing
2024-04-22 17:31:49 +05:00
Andrej730
d33fdbba69
small optimization
2024-04-22 17:31:49 +05:00
Andrej730
0ddbcd98ea
use column-major reshape for matrices #4565
2024-04-22 17:31:16 +05:00
Andrej730
4efe284338
use IFC4X3_ADD2 for ifcopenshell.schema_by_name
...
as it is the main IFC4X3 schema
2024-04-22 17:30:25 +05:00
Andrej730
34a4e3f37a
util.doc - use release schema version for IFC4X3
...
As it will be more like to be available in the ifcopenshell package. Related to #4565
2024-04-22 17:30:25 +05:00
Andrej730
889c9a9e9f
typing
2024-04-22 17:30:25 +05:00
Andrej730
9e79499532
small optimization
2024-04-22 17:30:24 +05:00
Kristof Semjen
589b98053e
Fixes #4261
...
SWIG_Python_str_AsChar and SWIG_Python_str_DelForPy3 are no longer available in swig 4.2 (see : https://github.com/swig/swig/commit/f89dd59d4b82ece899087682fdb86e94d2611513 ),
this commit fixes the build for swig versions > 4.2.
2024-04-21 16:22:56 +02:00
Thomas Krijnen
133b420a54
Preliminary changes to blenderbim for v0.8 #4565
2024-04-21 13:35:18 +02:00
Thomas Krijnen
4f9f3d1856
Work around for obtaining instance id that blenderbim expects for materials
2024-04-21 13:34:25 +02:00
Bruno Postle
fc5bb230a9
Abandon SVG layout generation on missing drawings
...
Drawings need to be generated before layout can be generated, so
remove a partial failed layout caused by missing drawings.
2024-04-21 11:12:24 +01:00
Thomas Krijnen
71c9066dc7
Fallback to C++ impl of IfcAxis2PlacementLinear #4565
2024-04-21 11:27:22 +02:00
Thomas Krijnen
0793ae539e
Merge remote-tracking branch 'origin/v0.7.0' into v08attempt1
2024-04-21 11:26:06 +02:00
Thomas Krijnen
595ef3f009
Allow passing setting enums as naked int
2024-04-21 10:19:17 +02:00
Thomas Krijnen
889ed3bb07
Change 'template template' to param pack to make clang happy
2024-04-20 13:22:13 +02:00
Thomas Krijnen
053c80a577
Uncomment debugging code
2024-04-20 13:21:50 +02:00
Bruno Postle
3ef823db23
Regenerate missing sheets #4462
...
BlenderBIM will regenerate missing SVG drawings from the IFC on demand,
now it attempts to regenerate missing SVG sheets too. ie. you can open a
bare IFC file with configured drawings and sheets and continue working.
Only drawings are recognised, spreadsheet and other SVG refs are not
regenerated, all drawings are placed at the 30,30 pixel location.
2024-04-20 11:56:22 +01:00
Thomas Krijnen
dafc321ea1
template and typename keywords to keep gcc happy
2024-04-19 21:44:54 +02:00
Thomas Krijnen
9272a9ed1f
Missing template keyword
2024-04-19 20:40:59 +02:00
Thomas Krijnen
29998e3f57
Option to convert placements via convert_shape() #4565
2024-04-19 20:23:59 +02:00
Andrej730
60a70f5236
support IfcAxis1Placement and warn on IfcAxis2PlacementLinear #4565
2024-04-19 17:11:56 +05:00
Andrej730
757a010172
typing
2024-04-19 16:18:57 +05:00
Andrej730
447625bffd
fix failing test in util.selector.format with imperial_length
...
the error is below, not sure how I haven't noticed it before 🤔
assert subject.format('imperial_length(1, 1)') == "1'"
> raise VisitError(tree.data, tree, e)
E lark.exceptions.VisitError: Error trying to process rule "imperial_length":
E
E cannot access local variable 'output_unit' where it is not associated with a value
2024-04-19 16:18:46 +05:00
Andrej730
25edaa9b89
update broken url for ladybug tools
...
temporarily use fork repo
2024-04-19 16:07:29 +05:00
Andrej730
9da4215bac
ifcopenshell.util.selector.filter_elements - inherited predefined types
...
mentioned by @theoryshaw on osarch - https://community.osarch.org/discussion/comment/20126/#Comment_20126
2024-04-19 16:05:33 +05:00
Ryan Schultz
6ddf91fb52
bim.select_aggregate(select_parts=True) - selects all the host aggreg… ( #4552 )
...
- bim.select_aggregate(select_parts=True) - selects all the host aggregates and all the parts and subaggregates within these host aggregates
- bim.select_linked_aggregates(select_parts=False) - selects all the host aggregates that are linked
- bim.select_linked_aggregates(select_parts=True) - selects all the host aggregates that are linked and all the parts and subaggregates within these host aggregates
2024-04-18 21:08:46 -05:00
Bruno Perdigão
01361cc8f2
Merge branch 'v0.7.0' into fix-normal-duplication-of-linked-aggregate
2024-04-18 21:00:39 -03:00
Dion Moult
28eb2cd628
Fix dateutil dependency
2024-04-19 08:51:55 +10:00
Thomas Krijnen
d24d781674
Merge remote-tracking branch 'origin/v0.7.0' into v08attempt1
2024-04-18 21:39:33 +02:00
Thomas Krijnen
ffe1442974
Fixes after settings rework
2024-04-18 21:36:45 +02:00
Thomas Krijnen
29fd32be75
Fixes after settings rework
2024-04-18 21:15:40 +02:00
Thomas Krijnen
0edfb0e791
Settings rework for plan/model/context and interfacing with python
2024-04-18 21:04:02 +02:00
Dion Moult
fa4239159d
Fix incorrect dateutil dependency
2024-04-18 23:39:25 +10:00