Andrej730
bf372a861a
build-all: reuse common
2026-09-16 18:07:51 +05:00
Andrej730
f8541abcb5
ci: build-all to use cli args instead of envs
2026-09-16 18:07:51 +05:00
Andrej730
abeea643af
build-all: --add-commit-sha cli arg
2026-09-16 18:07:51 +05:00
Andrej730
2bfaa4a196
build-all: --help to include default values
2026-09-16 18:07:51 +05:00
Andrej730
6d880a26c1
build-all: --build-cfg cli arg
2026-09-16 18:07:51 +05:00
Andrej730
490d888e17
build-all: --schemas cli arg
2026-09-16 18:07:51 +05:00
Andrej730
39b913d5ec
build-all: --num_build_procs cli arg
2026-09-16 18:07:51 +05:00
Andrej730
18ed33d05d
ci.yml: a bit more readable ci name
...
Instead of just "compile-and-test (ON)".
2026-09-16 18:07:51 +05:00
Andrej730
ae2f27c3a1
cmake: remove wide boost include
...
Replacing it with appending `Boost::headers` to `Boost_LIBRARIES` - this target is constructed both for Boost config and FindBoost and just references `Boost_INCLUDE_DIRS`, so it will automatically propagate to all `Boost_LIBRARIES` consumers. This is only needed for FindBoost users though.
2026-09-15 19:01:05 +05:00
Andrej730
7c43c12766
cmake: remove mention of Boost_LIBRARY_DIRS
...
Only used by ifcmax, which is mostly dead and can use `Boost_LIBRARIES`.
2026-09-15 19:01:05 +05:00
Andrej730
48042b4ff5
build-all-win: reuse boost for a small speedup
2026-09-15 19:01:05 +05:00
Andrej730
28a1ebdf89
Renormalize line endings in js files
2026-09-15 19:01:05 +05:00
Andrej730
cd11d82c03
.gitattributes: mark js and ts files as text
2026-09-15 19:01:05 +05:00
Andrej730
7b8e0b83c0
ci-lint: fix check-whitespace missing --check
...
ahh, forgot to add `--check`, so it was always passing
2026-09-15 19:01:05 +05:00
Andrej730
c29012d979
conda/clean-old-versions: bump anaconda-client
...
1.14.0 fixes the use of deprecated `pgk_resources` warning (https://github.com/anaconda/anaconda-client/releases/tag/1.14.0 ). Though bumping to the latest version.
Warning:
```
/home/runner/micromamba/envs/test-env/lib/python3.11/site-packages/binstar_client/__init__.py:15: UserWarning:
pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html . The pkg_resources
package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
```
2026-09-15 12:02:52 +05:00
Andrej730
e7b961d269
ty: add conda
2026-09-15 12:02:52 +05:00
Andrej730
8a5878886e
conda\clean-old-version: add script metadata
...
`bash -l` seems to be part of `setup-micromambda`
2026-09-15 12:02:52 +05:00
Andrej730
69e49422a9
ci-ifcopenshell-conda-cleaner: move script to a separate .py file
2026-09-15 12:02:52 +05:00
Andrej730
88b70b1163
cmake: drop unnecessary global cgal, gmp, mpfr includes
...
Since 0555523c9 we moved all those includes to `CGAL::CGAL` target and linked it directly when needed, so global include is redundant now.
2026-09-15 12:02:52 +05:00
Andrej730
0247ef13f4
cmake: fix uninitialized variables
...
`set(SWIG_DEFINES ${SWIG_DEFINES} -DIFOPSH_WITH_CGAL)` already occurs in main cmake, so this command is redundant in `FindCGAL.cmake`.
2026-09-15 12:02:52 +05:00
Andrej730
76f668117a
cmake: drop global INCLUDE_DIRECTORIES variable
...
It doesn't seem to be used anywhere and using this wide include might hide issues if some include actually doesn't reach some target.
2026-09-15 12:02:52 +05:00
Andrej730
5bc2cd058a
cmake: remove unset IFCGEOM_SCHEMA_LIBRARIES, SCHEMA_AGNOSTIC_H_FILES
...
`IFCGEOM_SCHEMA_LIBRARIES` Is never set after we moved code to `src/ifcgeom/mapping` (b7a919925 )
`SCHEMA_AGNOSTIC_H_FILES` is set but only inside `src/ifcgeom/mapping` and already handled there.
2026-09-15 12:02:52 +05:00
Andrej730
0607a7caa1
build scripts: autoswitch to release Python 3.15
2026-09-15 12:02:52 +05:00
Andrej730
5528d5e5a5
build-all-win: remove redundant python_versions list
...
A dead code since the commit when it was introduced (51bf4951b )
2026-09-15 12:02:52 +05:00
Andrej730
a6746ba531
run-cmake.py: --clean flag for removing build dir
2026-09-15 12:02:52 +05:00
Andrej730
ed6316b7f9
build-deps.py: add support for Python 3.15
...
We've added 3.15 to build-all-win, but `3.15.0` is not available on nuget yet, we need rc2 suffix for workflow to succeed.
2026-09-15 12:02:52 +05:00
Andrej730
e21dec4781
build-all: drop stale x86 comments ( 993ae7196)
2026-09-15 12:02:52 +05:00
Andrej730
c0a939be96
build-all: bump Python 3.15 to rc2
2026-09-15 12:02:52 +05:00
Bruno Perdigão
1da48061e3
snap: fix stale cut geometry after file reload
bonsai-0.9.0-alpha2609142348
2026-09-14 20:47:55 -03:00
Bruno Perdigão
edbce75f4e
Unify polyline tool cleanup
...
Route all polyline tools through a single PolylineOperator.cleanup that tears down the decorators, polyline, and raycast cache, and uninstall ProductDecorator unconditionally since it is idempotent.
Generated with the assistance of an AI coding tool.
2026-09-14 20:47:55 -03:00
Bruno Perdigão
a6d59bf61c
snap: fix possible crash
...
- use draw handler to move the expensive synchronous GPU readback
out of the mouse-event loop.
- restore GPU state (depth, blend, face culling) around the offscreen
2026-09-14 20:47:55 -03:00
Bruno Perdigão
0f629d0d54
snap: add option to use GPU snapping. It is disabled by default
2026-09-14 20:47:55 -03:00
Bruno Perdigão
495455cb2e
snap: small fix
2026-09-14 20:47:55 -03:00
Bruno Perdigão
e9c7203c23
snap: black formatting
2026-09-14 20:47:55 -03:00
Bruno Perdigão
105d186a34
snap: typing
2026-09-14 20:47:55 -03:00
Bruno Perdigão
bd34226b23
snap: add cut geometry to gpu snap detection
2026-09-14 20:47:55 -03:00
Bruno Perdigão
2e0a529c73
snap: clear raycast global variables cache
2026-09-14 20:47:55 -03:00
Bruno Perdigão
3353afcbcd
snap: refactor GPU snap detection into helpers
2026-09-14 20:47:55 -03:00
Bruno Perdigão
4ae34814e4
black formatting
2026-09-14 20:47:55 -03:00
Bruno Perdigão
5e522568e3
snap: remove face index from the GPU detection.
...
Now the face index can be handled only by the object raycast.
2026-09-14 20:47:55 -03:00
Bruno Perdigão
540c0fdc9d
snap: avoid creating wireframe batches for solid objects
2026-09-14 20:47:55 -03:00
Bruno Perdigão
e93858b8c6
snap: avoid unnecessary operations on each mouse mouse
2026-09-14 20:47:55 -03:00
Bruno Perdigão
6ef12a26f8
fix: add support to empty objects
2026-09-14 20:47:55 -03:00
Bruno Perdigão
626315a152
snap: fix wireframe snaps where there is no face occlusion
2026-09-14 20:47:55 -03:00
Bruno Perdigão
2328cc73d4
snap: use GPU detection for solid and wireframe objects.
...
Now is also works with x-ray mode.
2026-09-14 20:47:55 -03:00
Bruno Perdigão
50c1a0049c
snap: remove custom edge BVH (SnapObj)
2026-09-14 20:47:55 -03:00
Bruno Perdigão
d227f45663
snap: add snap dicts creation for GPU object detection
2026-09-14 20:47:55 -03:00
Bruno Perdigão
2912df5147
snap: add GPU object detection
...
Initial implementation of GPU object detection. It uses an offscreen
buffer with object ID enconded as colors, then reads the pixel(s) under
the cursor to find which object is hit.
It has two modes, one to detect faces and other the detect boundary edges and isolated vertices.
2026-09-14 20:47:55 -03:00
CyrilWaechter
243f0f32dc
Handle null Styles when loading surface styles
...
An IfcSurfaceStyle with a NULL Styles set raised a TypeError when
loading a project. Guard the iterations, matching the existing
defensive pattern in import_presentation_styles.
Generated with the assistance of an AI coding tool.
bonsai-0.9.0-alpha2609141631
2026-09-14 18:31:38 +02:00
dependabot[bot]
ff2b57d152
build(deps): bump hendrikmuhs/ccache-action from 1.2.23 to 1.2.24
...
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action ) from 1.2.23 to 1.2.24.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases )
- [Commits](https://github.com/hendrikmuhs/ccache-action/compare/v1.2.23...v1.2.24 )
---
updated-dependencies:
- dependency-name: hendrikmuhs/ccache-action
dependency-version: 1.2.24
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
bonsai-0.9.0-alpha2609141223
2026-09-14 17:23:35 +05:00