Andrej730
4d149e8a78
Purge unused materials to consider materials with styles and psets #3914
...
If material has a style or a pset it creates an inverse that shouldn't prevent material from being purged.
2024-09-13 15:15:51 +05:00
Andrej730
c41a4607d1
Fix missing return values in e5a59d0bea
2024-09-13 15:15:50 +05:00
Andrej730
148f8361be
make bump - show an error for incorrect use
2024-09-13 15:15:50 +05:00
Thomas Krijnen
d879bf9f89
Reintroduce --model-offset/-rotation MODEL_OFFSET/_ROTATION setting #5231
2024-09-13 11:38:24 +02:00
Andrej730
81399ffd19
Support loading project without clearing Blender session
...
It wasn't working anymore after 27a2c94 . Importing IFC file as just geometry should be a separate option from 'should_start_fresh_session' and I've added it as 'import_without_ifc_data' property during project load (now both options are also available for users in project load dialog - https://i.imgur.com/Fvbv4Dy.png )
bonsai-0.8.1-alpha240913
2024-09-13 11:47:49 +05:00
Thomas Krijnen
21cfd03301
Merge pull request #5362 from IfcOpenShell/fix-ifccircle-ifcellipse-processing
...
Fix error processing IfcCircle/IfcEllipse #5352
2024-09-12 20:19:17 +02:00
Thomas Krijnen
1697e49e65
Merge branch 'v0.8.0' into fix-ifccircle-ifcellipse-processing
2024-09-12 20:18:57 +02:00
Andrej730
51211dc527
ifcopenshell makefile - use VERSION
2024-09-12 19:19:11 +05:00
Andrej730
806975c4b9
bump ifcopenshell build for bonsai
2024-09-12 19:07:20 +05:00
Andrej730
e3c23072a5
Hide edit mode for locked elements #5371
2024-09-12 18:40:22 +05:00
Andrej730
d34d3312ba
Add messages for operations with locked elements
...
Otherwise they just silently failing leaving user confused
2024-09-12 18:40:21 +05:00
Andrej730
845402ea9c
Replace grids/space elements visibility two toggles with one
...
See - https://i.imgur.com/5GssIDp.png (same for grids)
2024-09-12 18:40:21 +05:00
Andrej730
e5a59d0bea
remove unnecessary ifc operators
2024-09-12 18:40:21 +05:00
Andrej730
3bb4243850
Purge unused styles and materials #3914
...
Example - https://imgur.com/a/JXEofa1
2024-09-12 18:40:21 +05:00
Andrej730
094bbe6913
bim.override_origin_set to reuse descriptions from blender operator
2024-09-12 18:40:20 +05:00
Andrej730
0f6cc7326c
bim.add_proposed_prop - document possible property types
2024-09-12 18:40:20 +05:00
Andrej730
cc90c92dec
bim.add_proposed_prop to show error message if property already exists
2024-09-12 18:40:20 +05:00
Andrej730
e81fe60218
CMakeLists - fix issue on msvc >= 14.40 #5158
2024-09-12 18:40:20 +05:00
Andrej730
aa97ff7f16
typing
2024-09-12 18:40:20 +05:00
Andrej730
2168b3b7bd
black format
2024-09-12 18:40:20 +05:00
Andrej730
cb21f9bc07
taxonomy::cast - order upgrades in the same order as in taxonomy::dcast for consistency
2024-09-12 16:30:06 +05:00
Andrej730
f930897240
taxonomy::dcast - add missing curve_to_loop_upgrade
2024-09-12 16:30:05 +05:00
Andrej730
93c47498ef
AbstractKernel::dispatch_conversion - use static cast
...
Previously it was using taxonomy::cast that was also trying to upgrade current item - due to the strictness of dispatch_conversion (it works only if type matches exactly because of `N == item_kind`) upgrades will never succeed so we may just skip them.
2024-09-12 16:30:05 +05:00
Thomas Krijnen
2545769f67
Add support for IfcSectionedSurface
2024-09-12 11:20:48 +02:00
Ryan Schultz
35a4d87a65
give schedules a css style called 'schedule' to help with styling
bonsai-0.8.1-alpha240912
2024-09-11 23:06:43 -05:00
Thomas Krijnen
c7183a58ea
aggregate of int/real compatibility in parsing #5302
2024-09-11 20:15:14 +02:00
Thomas Krijnen
5a44a8e325
Defensiveness against invalid data
2024-09-11 20:13:50 +02:00
myoualid
f5e02d1413
Merge branch 'v0.8.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.8.0
2024-09-11 19:00:27 +01:00
myoualid
1964def3ca
web ui cost module features:
...
- improve UI for editing cost quantites
- add, edit, delete manual quantities
2024-09-11 19:00:15 +01:00
Thomas Krijnen
cc2017518b
Update build-all.py : _ifcopenshell_wrapper now called ifcopenshell_wrapper?
2024-09-11 19:58:52 +02:00
myoualid
97393eb173
prevent spatial elements selection from being assigned to cost control
2024-09-11 18:48:59 +01:00
Andrej730
4c04bc7cb5
fix test_create_IfcBSplineCurve
2024-09-11 19:42:47 +05:00
Andrej730
005c17084b
dispatch_with_upgrade to use only upgrade types for optimization
2024-09-11 19:42:47 +05:00
Andrej730
858e57351e
AbstractKernel::convert - more generic approach
2024-09-11 19:42:47 +05:00
Andrej730
9be392e2f1
test TesselateElements #5199
2024-09-11 16:02:48 +05:00
Andrej730
f4c3ceb693
black format
2024-09-11 16:02:48 +05:00
Andrej730
32c6ea9363
shapebuilder.profile - fix bug in ifc2x3 assigning non existing Position attr
...
confused arbitrary profiles with parametric profiles in 640320f
2024-09-11 16:02:48 +05:00
Andrej730
ad8131114d
IfcLine, IfcBSplineCurve geometry tests
2024-09-11 15:53:04 +05:00
Andrej730
fe0be0cdae
shape_builder.create_axis2_placement_2d
2024-09-11 15:53:04 +05:00
Andrej730
35221ed772
AbstractKernel::convert to use upgrade to edge as a fallback
2024-09-11 15:53:04 +05:00
Andrej730
37315e941a
taxonomy.h - move upgrades code to cpp
2024-09-11 15:53:04 +05:00
Andrej730
11f017e715
revert manual upgrade to edges for ellipses and circles
2024-09-11 15:53:04 +05:00
Thomas Krijnen
c63f1cfa88
Iterator: Don't crash on calling get() before initialize()
2024-09-11 11:18:09 +02:00
Dion Moult
5fe85e71bb
Work in progress example to import multiple representation items as an object-based breakdown
2024-09-11 18:04:03 +10:00
Dion Moult
f8f3519a68
Minor bugfix to allow unaggregation of hidden elements
2024-09-11 13:45:11 +10:00
Dion Moult
bad6931a84
Fix bug in tessellate elements
bonsai-0.8.1-alpha240911
2024-09-11 12:26:39 +10:00
myoualid
158f11d58c
Cost web ui improvements:
...
- hovering cost item row displays quick actions
- clicking the quantity cells and cost cells prompts form to edit values
- further style improvements & refactoring
2024-09-10 22:48:22 +01:00
Bruno Perdigão
794154f6f5
Instructions in polyline tools were moved to the status bar.
...
Previously the instructions were shown on screen with decorators. Now it is handled by the modal function of the polyline tools.
2024-09-10 15:41:02 -03:00
Bruno Perdigão
c06929e1c7
Major refactor in polyline tool to use a base class for other operators.
...
Polyline Wall and Measure tool now share most of the logic by inheriting from a base class PolylineOperator.
This should facilitate the implementation of other tools that use polyline.
2024-09-10 15:37:57 -03:00
Bruno Perdigão
1a587dea7d
Minor refactor of tool/polyline
2024-09-10 15:37:57 -03:00