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
Bruno Perdigão
55df9a42e6
WIP - More refactor
2024-09-10 15:37:57 -03:00
Bruno Perdigão
be8b325a83
WIP - Polyline tool refactor
2024-09-10 15:37:57 -03:00
Bruno Perdigão
2e192034f8
Small tweak in 8032e4851
2024-09-10 15:37:57 -03:00
Bruno Perdigão
ce8e104b0b
Change snap axis to 15 angles increments.
2024-09-10 15:37:57 -03:00
Bruno Perdigão
e48050af4b
Fix #5336
2024-09-10 15:37:57 -03:00
Bruno Perdigão
d63961d840
Small fix on previous commit
2024-09-10 15:37:57 -03:00
Bruno Perdigão
edf0804b0e
Small fix on how the input UI rounds numbers
2024-09-10 15:37:57 -03:00
Bruno Perdigão
aaa3d5c443
Small fix on previos commit
2024-09-10 15:37:57 -03:00
Bruno Perdigão
2008081d9a
Implementation of #5317 .
...
The number in the input UI will be replaced if the user presses a number.
This behavior will be different if the user press "=" or backspace.
2024-09-10 15:37:57 -03:00
Bruno Perdigão
e546971ada
Changed input validation to tool/polyline.py
2024-09-10 15:37:57 -03:00
Bruno Perdigão
8dc77735a5
fix rebase conflict
2024-09-10 15:37:57 -03:00
Richard Brice
cc7171060f
Decouples evaluation of a piecewise_function from the function itself ( #5344 )
2024-09-10 10:11:17 -07:00
myoualid
67a7e713b2
fix util.get_elements_by_pset to account for quantity sets
2024-09-10 17:17:42 +01:00
myoualid
3abe5edd21
Fix generating 3D view drawing when IFC elements don't exist in the Blender scene ( such as IfcDistributionPort)
2024-09-10 17:16:09 +01:00
Andrej730
34aed93b7b
Fix 2 segfaults creating IfcEllipseProfileDef
...
1) taxonomy::ellipse was missing matrix so create_shape was segfaulting either was if Position was set or was not (segfaulting on line - https://github.com/IfcOpenShell/IfcOpenShell/blob/5616367a03ea397885e93523e55788da82238742/src/ifcgeom/kernels/opencascade/loop.cpp#L92 )
2) was segfaulting when there was no default matrix
Removed fc->matrix assignment as matrix is already assigned to the curve.
2024-09-10 18:28:18 +05:00
Andrej730
6fd4d8b1ba
Fix sequence.get_related_products bug after 845d772
2024-09-10 18:28:18 +05:00
Andrej730
2d0b262351
get_nested_tasks to discard non-ifctask elements #4911
2024-09-10 18:28:18 +05:00
Andrej730
a4f669e549
ifc5d.qto - some clarifications for arguments
2024-09-10 18:28:18 +05:00
Andrej730
dc92a8fd27
Bonsai - setup default values for new patametric profiles
...
So there will be less invalid IFC and user will get a preview right away after creating a new profile.
Example - https://imgur.com/a/GjkCql4
2024-09-10 18:28:18 +05:00
Andrej730
3bb0901e3e
Profiles UI - better handling for invalid profiles
...
Previously it would be just console errors possibly breaking UI, now there will be UI error message - https://imgur.com/1o9teJ0
2024-09-10 18:28:17 +05:00