Repository navigation
Nurbforge 0.8.0
macOS as a third supported platform (Apple Silicon and Intel, macOS ≥ 14, with binary wheels),
face labels that survive Booleans, transforms and STEP, and gmsh physical groups from them. The
API is not yet stable (0.x).
Added
- Face labels (#18, stable identification across operations):
TrimmedSurface::label()/
with_label(),Shell::with_face_labels()/faces_labeled(); kept byflipped,
with_hole,split, Booleans (each piece of a split face inherits its label),oriented,
transformed, and written to / read from STEP as theADVANCED_FACEname. The solid
primitives label their faces (boxbottom/top/front/back/left/right, cylinder and
coneside/bottom/top, sphere and torussurface). nurbforge.mesh.add_shell(shell, physical_groups=True): one named gmsh physical surface group
per face label and a physical volume, for boundary conditions after Booleans.- Wheels workflow: a
releasejob publishes the GitHub release for everyv*tag (wheels,
sdist, the tag's CHANGELOG section as notes); existing tags can be released by running the
workflow manually withrelease_tag. - macOS support (Apple Silicon and Intel, macOS ≥ 14): CI job with Apple Clang (
-Werror, C++
and Python tests), wheels forarm64andx86_64, build guidedocs/build/macos.md.
Fixed
- STEP reader on macOS: numbers are parsed with
strtod_lin the "C" locale instead of
std::from_chars(double), which Apple's libc++ only provides from macOS 26. A test checks
that a decimal-commaLC_NUMERIC(e.g.de_DE) does not affect parsing. - The gmsh physical-group test is skipped instead of failing when gmsh cannot load its system
libraries (manylinux wheel tests).
Install
Binary wheels for Linux (manylinux_2_28 x86_64), Windows (win_amd64) and macOS 14+ (arm64, x86_64), CPython 3.10-3.13, and the sdist are attached, e.g.
pip install nurbforge-0.8.0-cp312-cp312-win_amd64.whl