Repository navigation
pyRANSAC-3D v0.7.0
Highlights
- Cuboid is a real box (
#40):fit()now returnscenter,extents, andaxesinstead of three plane equations. [Breaking change] Callers that unpacked three plane equations will fail; use the new box parameters. The old plane equations stay on the object asequation. - Fit extras on the object (
#17): distances and related measurements stay on the fitter afterfit(). - Iteration callbacks (
#34): optionalcallbackon everyfit(), withFitState, for plotting or early stop. - Typed results:
fit()still unpacks as a tuple, and also has named fields (PlaneResult,SphereResult, …). - Synthetic clouds (
#7):ShapeGeneratorfor tests and examples. - Examples and tests: per-shape examples (
simple/visual/animation) plus a pytest suite on GitHub Actions. - Packaging: development and publish flow moved to uv.
- Plane
minPointsremoved. [Breaking change]Plane.fit(pts, thresh, minPoints, maxIteration)no longer acceptsminPoints. Drop that argument; too-small clouds now raiseValueError.
Fixes
- Circle center along Z (
#29). - Degenerate samples (parallel vectors / division by zero) (
#28). - Clear
ValueErrorwhen the cloud has too few points (#35). - Cylinder height measurement.
Docs
- Getting Started guide, regenerated API docs, and contributor notes for PyPI / GitHub Pages.
Unpacking fit() still works (eq, inliers = Plane().fit(...)). Cuboid callers must switch to the new return values. Plane callers that passed minPoints need to drop it.
New Contributors
- @wct432 made their first contribution in #33
- @amaarquadri made their first contribution in #36