Skip to content

Nurbforge 0.8.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 19:40
· 71 commits to main since this release
d4a7d35

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 by flipped,
    with_hole, split, Booleans (each piece of a split face inherits its label), oriented,
    transformed, and written to / read from STEP as the ADVANCED_FACE name. The solid
    primitives label their faces (box bottom/top/front/back/left/right, cylinder and
    cone side/bottom/top, sphere and torus surface).
  • 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 release job publishes the GitHub release for every v* tag (wheels,
    sdist, the tag's CHANGELOG section as notes); existing tags can be released by running the
    workflow manually with release_tag.
  • macOS support (Apple Silicon and Intel, macOS ≥ 14): CI job with Apple Clang (-Werror, C++
    and Python tests), wheels for arm64 and x86_64, build guide docs/build/macos.md.

Fixed

  • STEP reader on macOS: numbers are parsed with strtod_l in the "C" locale instead of
    std::from_chars(double), which Apple's libc++ only provides from macOS 26. A test checks
    that a decimal-comma LC_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