Skip to content

Nurbforge 0.14.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 02:53
· 13 commits to main since this release
7d2359e

Curve tools (chamfers, best-fit lines and planes, projection onto planes, tween curves, tangent
arcs and lines, curves on surfaces with geodesic offsets) and fillets and chamfers of solid
edges (single edges, chains and closed loops, convex and concave). The API is not yet stable
(0.x).

Added

  • Curve tools (#16): chamfer_curves(a, b, distance_a, distance_b, trim, corner) and
    chamfer_corners(curve, distance) (straight cuts, counterpart of the fillets; the corner
    handling of fillet_corners is shared); fit_line / fit_plane (orthogonal regression,
    with max and rms deviation); project_to_plane(curve | surface, plane, direction) (exact
    parallel projection); tween_curves(a, b, count); make_arc_tangent(start, tangent, end);
    tangent_lines(point, curve) and tangent_lines(a, b) (all common tangents of two planar
    curves); curves on surfaces: interpolate_on_surface(surface, points, degree, uv) and
    offset_on_surface(surface, curve, distance) (geodesic offset, RK4 on the geodesic
    equations). LLM tools chamfer, chamfer_corners, tween, project_to_plane,
    offset_on_surface.
  • Edge blends on solids (#18): fillet_edges(shell, edges, radius) and
    chamfer_edges(shell, edges, distance) round or chamfer edges, edge chains and closed edge
    loops (cylinder rims, bores) of a closed shell; convex edges lose material, concave edges gain
    it. The adjacent faces are cut back along the exact contact curves, the end faces of open
    chains are rerouted along the exact end curves; new faces are labelled fillet / chamfer.
    edges_between(shell, label_a, label_b) selects edges by face labels. LLM tool
    round_edges. fillet_surfaces takes near to choose among several spines.
  • C++: Plane moved to its own header nurbforge/geometry/plane.hpp (still included by
    analysis/section.hpp).

Install

pip install nurbforge          # from PyPI; nurbforge[mesh] adds gmsh

Binary wheels for Linux (manylinux_2_28 x86_64), Windows (win_amd64) and macOS 14+ (arm64, x86_64), CPython 3.10-3.14, and the sdist are also attached below.

Documentation

nurbforge-manual.pdf: the user manual with the complete command reference of this version.
nurbforge-reference.md: the compact API reference for language models and coding agents (also python -m nurbforge).