Repository navigation
Nurbforge 0.12.1
Bug fix: critical heights perpendicular to a cylinder axis (#83).
Fixed
critical_heightslost height extrema that fall exactly on a sample point of its sign-change
search, where the derivative is exactly zero (#83): since 0.7.0 the lid edges of a cylinder are
exact rational circles whose knots lie on the extrema along x and y, so the heights of a cylinder
perpendicular to its axis came back as one value (FourierGrating's CAD slicer: bounding boxes
collapsed to a line). An exact zero now counts when the nearest nonzero samples on both sides
have opposite signs; a run of zeros (a straight edge normal to the direction) counts once. Same
for edges and for faces whose height depends on one parameter.
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).