Repository navigation
Nurbforge 0.15.0
Vertex blends and variable-radius fillets and chamfers of solid edges (#18), and surface tools
(#17): sweeps with several profiles, rail revolve, tapered extrusion, ribbons, cones to a point,
three-sided patches, exact Coons patches from arcs, rebuild of curves and surfaces. The API is
not yet stable (0.x).
Added
- Vertex blends (#18):
fillet_edges/chamfer_edgeshandle chains of different face pairs
meeting at a vertex of three faces. Two chains with a smooth third edge (tangent chains such
as the rim of a rounded rectangle) continue each other at their common cross-section; two
chains at a sharp third edge are mitred along their exact intersection curve (a blend running
past the sharp edge is trimmed by the face there); three chains get a corner patch: for
fillets the exact spherical triangle of the ball touching all three faces, for chamfers the
planar triangle of the contact crossings. All groups are now built at once on the input
shell and sewn once. - Variable-size edge blends:
sizes=[(point, size), ...](C++EdgeBlendOptions::sizes)
gives the radius or chamfer distance at points on the edges, blended with a C2 quintic step
in arc length; cross-sections stay exact arcs of the local radius.fillet_surfacestakes a
radius_atfunction (C++SurfaceFilletOptions::radius_at). - LLM tool
round_edges:'*'wildcards for the face labels (e.g. every edge of the top face)
and optional variablesizes. - Surface tools (#17):
sweep(profiles, trajectory, params)(several profiles, blended
between their positions),rail_revolve(profile, rail, axis_point, axis_dir, scale_height),
extrude_tapered(profile, direction, angle)(draft angle, mitred corners),ribbon(curve, width, plane_normal),extrude_to_point(curve, apex)(exact cones),triangle_patch(c0, c1, c2),rebuild_curve/rebuild_surface(prescribed control net, reported max error). LLM
toolsrail_revolve,extrude_tapered,ribbon,extrude_to_point,triangle_patch,
rebuild;sweeptakesprofiles. coonsis exact for rational boundaries whose corner weights can be made to agree (e.g.
arcs): the Boolean sum is taken in homogeneous coordinates.
Changed
- Edge blends extend polynomial face surfaces linearly (tangent planes) beyond their
boundaries instead of naturally; natural extensions of fitted surfaces with short spans bent
away and broke blends near chain ends. Rational surfaces (conics) are still extended
naturally. - Edge blend errors at a vertex name its position; a chain that continues tangentially into an
edge that is not selected is reported as such.
Install
pip install nurbforge # from PyPI; nurbforge[mesh] adds gmshBinary 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).