krande
7eea995b88
Remove load_ifc_occ_shape and related OpenCASCADE-specific code from test_sweeps.py. Simplify tests by focusing on mesh-based geometry validation. Clean up imports and unused assertions.
2025-08-28 15:41:20 +02:00
krande
77acfd7069
Refactor tests: update input path resolution, optimize imports, and enhance load_ifc_occ_shape.
...
Simplify path definitions in `test_write.py` and `test_open.py`. Replace `typing` with `collections.abc` for `Sequence` usage in `test_sweeps.py` and adjust type hints to use Python's generic collections. Add optional verbosity to `load_ifc_occ_shape` and refine geometry test assertions. Update `simple_sweep_2.ifc` fixtures for consistency with test expectations.
2025-08-28 13:16:07 +02:00
krande
79546807d9
fix lint
2025-08-28 13:15:47 +02:00
krande
e14974a1b5
Add linting feature and update test configurations in pixi.toml
...
Introduces a new `lint` feature with `ruff` and `black` dependencies. Extends test setup with additional dependencies and tasks for building, testing, and installation. Cleans up `.gitignore` and removes unused entries from `pixi.lock`.
2025-08-28 13:15:33 +02:00
krande
1cd32be2fc
Refactor test_sweeps.py: remove _is_swept_shape, restructure test directories, update test fixtures, and adjust assertions for geometry validation. Extend sweep_along_curve constructor to support fixed reference direction.
2025-08-27 19:37:47 +02:00
krande
9dd7b488d6
Refactor and extend swept shape tests; adjust comments and import structure
...
Improves formatting and readability in `test_sweeps.py`, adjusts imports and comments, and adds assertions for geometry validation in `simple_sweep_1.ifc` and `simple_sweep_2.ifc` tests. Updates code comments in `IfcFixedReferenceSweptAreaSolid`.
2025-08-27 13:55:42 +02:00
krande
d01bf9690d
Add test and input for simple_sweep_2.ifc; extend constructor for sweep_along_curve to support fixed reference swept area solids
...
Includes `simple_sweep_2.ifc` test input, geometry validations in `test_sweeps.py`, and a new constructor for `sweep_along_curve` to handle directrix-based sweeps.
2025-08-27 12:11:02 +02:00
krande
604e0b0d94
Update .gitignore in test directory to include *.tmp files
2025-08-27 11:53:34 +02:00
krande
8420b98f3f
Simplify IfcFixedReferenceSweptAreaSolid position check logic
2025-08-27 11:52:56 +02:00
krande
6d9650e826
Update CMake presets: remove schema version 4
2025-08-26 21:24:54 +02:00
krande
2369f72798
Improve IfcFixedReferenceSweptAreaSolid handling and add swept shape tests
...
Enhances geometry processing for swept area solids by integrating matrix transformations. Includes new utility `_is_swept_shape` for topology analysis, extends testing with `load_ifc_occ_shape`, and updates schema versions in CMake presets.
2025-08-26 21:24:40 +02:00
krande
234cb76cd7
add 1 more test
2025-08-26 20:48:05 +02:00
krande
a0cc94a614
Add test for IfcFixedReferenceSweptAreaSolid with simple sweep example
...
Includes `simple_sweep_1.ifc` test input and geometry validation. Updates dependencies in `pixi.lock`.
2025-08-26 16:21:29 +02:00
krande
4835829700
refactor IfcFixedReferenceSweptAreaSolid logic and adjust install-debug task
2025-08-26 16:10:00 +02:00
Kristoffer Andersen
5719c3db2b
Merge branch 'v0.8.0' into feat/IfcFixedReferenceSweptAreaSolid
2025-08-26 14:13:53 +02:00
krande
115d3d4498
start work on improving support for IfcFixedReferenceSweptAreaSolid
2025-08-26 13:32:44 +02:00
Bruno Perdigão
8903d6a85c
Change variable name for consistency. Related to #6963
bonsai-0.8.4-alpha2508252342
2025-08-25 20:42:28 -03:00
Bruno Perdigão
cb551e1248
Fix issue with creating walls from slabs in IFC2X3 files. Related to #6963
2025-08-25 20:42:28 -03:00
Bruno Perdigão
915c38947d
See #6963 . Fix issue with changing extrusion angle in IFC2X3 files.
2025-08-25 20:42:28 -03:00
Bruno Perdigão
190d9f8e3f
Fix issue with IfcPolyline in get_polyline_coords
2025-08-25 20:42:28 -03:00
daniel-augusto
f7e8643f30
Update link to install Bonsai
2025-08-24 08:23:31 +02:00
falken10vdl
dccd9d4139
lock drawing titleblock (managed by lock icon in Inkscape) ( #7043 )
bonsai-0.8.4-alpha2508212055
2025-08-21 15:55:19 -05:00
Thomas Krijnen
d31aafac5b
Update ConversionSettings.h
2025-08-21 14:06:54 +02:00
Thomas Krijnen
2949a86f09
Properly initialize stream::eof #7045
2025-08-21 10:00:44 +02:00
Ryan Schultz
4cbf551c75
small tweak to dev_environment.py
bonsai-0.8.4-alpha2508201802
2025-08-20 13:01:42 -05:00
Andrej730
3ef5b13bf8
cmake - also try find_package(OpenCASCADE)
2025-08-19 19:06:21 +05:00
Andrej730
f1114745fb
cmake - fix OCC_INCLUDE_DIR strequal check working only once
...
If OCC_INCLUDE_DIR is not provided, then first it would pass, but the next time wouldn't since variable value would be 'OCC_INCLUDE_DIR-NOTFOUND'.
2025-08-19 19:06:21 +05:00
Andrej730
1d2b1dcbc8
build-deps - avoid redownloading Eigen
2025-08-19 19:06:21 +05:00
Andrej730
ea360733e4
run-cmake - use hdf5 install dir instead of providing include/library dir explicitly
2025-08-19 19:06:21 +05:00
Andrej730
1103cb6c03
build-deps - use the same hdf5 version as build-all
...
Also use general release cmake file, so there's no need for .patch
2025-08-19 19:06:20 +05:00
Andrej730
6bf39b3d6a
cmake - also use find_package to find hdf5
2025-08-19 19:06:20 +05:00
Andrej730
b971135ce4
build-deps - fix trailing spaces
2025-08-19 19:06:20 +05:00
Robin Quint
ef24bb52a7
Make Door / Window Tool place doors on the correct side of a wall ( #6986 )
bonsai-0.8.4-alpha2508191354
2025-08-19 13:53:45 +00:00
daniel-augusto
6286d85850
Correct highlight code block python
2025-08-19 09:17:20 +02:00
Andrej730
3d82eb954f
Fix missing project custom psets reload when changing IFC filepath #7037
bonsai-0.8.4-alpha2508181448
2025-08-18 19:48:04 +05:00
Andrej730
2951aecc14
typing
2025-08-18 19:48:04 +05:00
Andrej730
c4d54f7709
switch_representation - clear geometry cache
...
Noticed wall representation wasn't updating after window was added to it, because of the existing cache.
2025-08-18 19:46:59 +05:00
Andrej730
bd8cdf5a82
cmake - also use find_package to find Eigen3
2025-08-18 19:46:59 +05:00
Andrej730
53e9837858
fix file_dict typing ( 126accd6a)
2025-08-18 19:46:59 +05:00
Dion Moult
ddbe62772d
Fix bug where copy to structure feature was completely inaccessible from the UI
bonsai-0.8.4-alpha2508180731
2025-08-18 17:30:56 +10:00
Christoph Mellüh
f9dc7d5d94
Improve docs ( #7005 )
bonsai-0.8.4-alpha2508180614
2025-08-18 06:14:06 +00:00
Thomas Krijnen
aa97cc25d1
Support faceset face with voids in shape_builder
bonsai-0.8.4-alpha2508161302
2025-08-16 15:02:17 +02:00
Thomas Krijnen
0088f3933f
Keep ruff happy
bonsai-0.8.4-alpha2508161207
2025-08-16 14:07:11 +02:00
Thomas Krijnen
0054b27254
Support datetime instances in edit_pset
bonsai-0.8.4-alpha2508161135
2025-08-16 13:35:21 +02:00
Thomas Krijnen
126accd6a2
Track ifcopenshell.file creation time for unique iden
2025-08-16 13:33:10 +02:00
Andrej730
bd0e16cee5
Add status assignment to Statuses UI
...
Example - https://files.catbox.moe/c6ydj7.mp4
Still need to add tests and support for userdefined statuses.
bonsai-0.8.4-alpha2508151451
2025-08-15 19:51:01 +05:00
Andrej730
f5cb2dd21f
black .
2025-08-15 19:51:00 +05:00
falken10vdl
b024ba05da
Fix UI bug with active representation indication for occurrences ( #7009 )
bonsai-0.8.4-alpha2508151336
2025-08-15 13:36:15 +00:00
Richard Brice
1fcf2fb53f
Fixed zero length segment for vertical alignment. Refactors curve segment transition code
bonsai-0.8.4-alpha2508142057
bonsai-0.8.4-alpha2508142056
2025-08-14 13:56:36 -07:00
Andrej730
6bc318b15c
Option not to draw specific linked files #6947
...
Example - https://postimg.cc/7GTkhGPb
bonsai-0.8.4-alpha2508141456
2025-08-14 19:54:17 +05:00