Andrej730
cdeeab4b31
black .
2025-07-28 17:03:25 +05:00
Thomas Krijnen
eb5df2f8c3
Simple SPF submodule
2025-07-28 05:27:22 +02:00
Richard Brice
c8dbb72f69
Updated alignment stationing to account for stationing being defined on a parent alignment
2025-07-27 15:10:23 -07:00
Richard Brice
a824141b90
Fixes IfcOffsetCurveByDistance
2025-07-27 15:10:23 -07:00
Richard Brice
bb56882879
A few more fixes for zero length segments
2025-07-27 15:10:22 -07:00
Richard Brice
ed0e825283
Alignment api bug fixes
2025-07-27 15:10:22 -07:00
Richard Brice
c12ed46c49
Bug fixes with zero length segment and b2g mapping when project angle is not radian
2025-07-27 15:10:22 -07:00
Richard Brice
3ef7f1c141
Alignment API updates to support new patch recipes
2025-07-27 15:10:22 -07:00
Andrej730
99cdc4da35
date.ifc2datetime - refactor for readability
2025-07-25 18:22:18 +05:00
Andrej730
1d789da066
test_copy_work_schedule - cover ifc2x3 support
2025-07-25 18:22:17 +05:00
Andrej730
dd1c47f9dc
sequence.add_date_time
...
API method to create IfcDateAndTime / IfcDatetime in schema agnostic way.
2025-07-25 18:22:17 +05:00
Andrej730
98e64c1830
sequence.duplicate_task - fix example using non-existent api
2025-07-25 18:22:16 +05:00
Andrej730
e8a4f7947d
sequence.duplicate_task - fix misleading description
2025-07-25 18:22:16 +05:00
Andrej730
05a8824019
typing
2025-07-25 18:22:16 +05:00
Andrej730
b76b05fc71
sequence.copy_work_schedule #6901
...
Similar to e50215ddc but for IfcWorkSchedules
Button location - https://files.catbox.moe/jfd1ol.png
2025-07-24 19:39:14 +05:00
Andrej730
f5b28c0df8
util.get_work_schedule_tasks - fix critical bug with missing root tasks
...
Now we also use generator to mirror get_schedule_cost_items
2025-07-24 19:39:14 +05:00
Andrej730
a99bfd9294
sequence.get_root_tasks_ids - remove unused method
2025-07-24 19:39:14 +05:00
Andrej730
cbdd091d6f
sequence.add_work_schedule - add missing object_type doc-string
2025-07-24 19:39:14 +05:00
Andrej730
f3efb1601a
copy_cost_schedule - add a test
2025-07-24 19:39:12 +05:00
Andrej730
f8a933e094
typing
2025-07-24 19:39:12 +05:00
Andrej730
e50215ddce
cost.copy_cost_schedule #6901
...
A feature allowing duplicate existing IfcCostSchedule - either from API or from Bonsai UI
Button location in Bonsai - https://files.catbox.moe/ct058q.png
2025-07-23 18:57:40 +05:00
Andrej730
f24adcdadb
control.assign_control - small optimization
2025-07-23 18:55:50 +05:00
Andrej730
84f6632c13
Reuse assign_control instead of creating IfcRelAssignsToControls
2025-07-23 18:55:50 +05:00
Andrej730
c82191f40b
typing
2025-07-23 18:55:49 +05:00
Andrej730
0ef255bc3c
Fix linking project missing offsets for instances of complex geometry
...
After ba2456a if main IFC project had an offset and linked object had more than 333 faces, then it was imported at it's original location instead, missing an offset.
Also processing occurrences should be now more optimized, since we reuse the same verts buffer instead of recreating it 10 times.
2025-07-22 18:06:20 +05:00
Andrej730
8f5905c801
ifcopenshell_wrapper.pyi - document Element attributes
2025-07-22 18:06:19 +05:00
Andrej730
b4740b6949
append_asset to also match material sets by the name #6762
2025-07-21 18:10:11 +05:00
Richard Brice
d49a3486b9
Commented out debugging code for alignment
2025-07-18 14:47:14 -07:00
Richard Brice
78759a63f2
Updates helmert curve business2geometry mapping (again)
2025-07-18 12:29:28 -07:00
Richard Brice
913076de94
Updates helmert curve business2geometry mapping
2025-07-18 09:47:59 -07:00
Richard Brice
a392a1fbfb
Adds alignment as offset curve
2025-07-17 10:48:42 -07:00
Andrej730
728f9e2c04
util.shape - replace ShapeType with W.Triangulation for accuracy
2025-07-17 19:58:48 +05:00
Andrej730
2edfe1e5d8
profile.add_parameterized_profile - add profile_type arg
...
To create more valid profiles by default. Noticed then Bonsai creates new profiles, it doesn't set ProfileType, leading to validation errors.
2025-07-17 19:58:48 +05:00
Andrej730
d55e7faf2a
Fix ifc4x3 breaking import of csvs that have enum values after c9847ca #6708
2025-07-15 18:01:57 +05:00
Andrej730
30cbfad871
Fix code typo in 40f92d1
2025-07-15 17:47:37 +05:00
Andrej730
262739f37a
owner.remove_role - fix error handling resource level rel ( fe1e307)
...
It's probably was just an overlook in the original commit - it was referring to `settings["organisation"]`, though `"organization"` was never passed, leading to an error. And probably by accident remove_role tests were using the same tests as remove_organization, so the issue went under the radar for a while.
2025-07-15 17:47:37 +05:00
Andrej730
f18c93c9ee
typing
2025-07-15 17:47:35 +05:00
Richard Brice
a461281b1e
Fixes problem moving alignment representation from parent to child alignment. Forgot to assign the ObjectPlacement
2025-07-14 11:09:02 -07:00
Andrej730
72af88a4b3
black .
2025-07-14 18:53:10 +05:00
Richard Brice
73b76ba666
Adds IfcPolyline representation for alignment. Also some general cleanup
2025-07-13 16:34:52 -07:00
Andrej730
e1976d5bfd
Fix Ruff UP013 (convert-typed-dict-functional-to-class)
...
Apparently `type` is okay and doesn't break things in even in Python 3.12
2025-07-11 18:23:58 +05:00
Andrej730
0fcc47508a
Structural UI - refactor common code to tool, fix bugs
...
Also revert previous change in UI - `draw_attributes` doesn't cover it and there indeed should be special handling.
2025-07-10 19:42:31 +05:00
Andrej730
1d8ee406af
Fix alignment.__all__ missing create_segment_representations
2025-07-10 19:42:30 +05:00
Andrej730
05cb06a28e
typing
2025-07-10 19:42:30 +05:00
Andrej730
37d4ee97e7
alignment - fix missing imports
2025-07-10 19:42:29 +05:00
Andrej730
832e68cb6f
Fix Ruff UP034 (extraneous-parentheses)
2025-07-09 19:02:26 +05:00
Andrej730
a8268e8323
Replace deprecated typing.Sequence ( 40f92d15c)
2025-07-09 19:02:26 +05:00
Andrej730
5a4ad69bf7
black .
2025-07-09 19:02:26 +05:00
Richard Brice
40f92d15c3
Alignment api update ( #6817 )
...
* Some basic COGO survey points functions
* Update alignment api
Includes defining alignment segment by segment, automatic geometry definitions, and automatric stationing and referents
* Fixes bonsai import alignment from csv
* Adds DMS angle conversion functions to COGO api
* Updated per @civilx64 review comments
* Fixes problem with segment representations
* Fixes problem with segment transition codes
* Allows for compound vertical and horizontal curves
* Implements callbacks for referent naming
* Renames angle_from_bearing to bearing2dd for consistency with ifcopenshell.util.geolocation.dms2dd. Removes angle_from_dms because it duplicates dms2dd
* Documents register_referent_name_callback
* Fixes all sorts of problems with Cant/SegRefCurve implementation
* refactor referent unit tests to use a fixture for test setup
* lint with black
---------
Co-authored-by: Scott Lecher <civilx64@gmail.com >
2025-07-08 10:09:14 -07:00
Andrej730
d08756d1b4
typing
2025-07-08 21:20:57 +05:00