Skip to content

pyRANSAC-3D v0.7.0

Latest

Choose a tag to compare

@leomariga leomariga released this 18 Aug 03:48
· 3 commits to master since this release

pyRANSAC-3D v0.7.0

Highlights

  • Cuboid is a real box (#40): fit() now returns center, extents, and axes instead 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 as equation.
  • Fit extras on the object (#17): distances and related measurements stay on the fitter after fit().
  • Iteration callbacks (#34): optional callback on every fit(), with FitState, for plotting or early stop.
  • Typed results: fit() still unpacks as a tuple, and also has named fields (PlaneResult, SphereResult, …).
  • Synthetic clouds (#7): ShapeGenerator for 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 minPoints removed. [Breaking change] Plane.fit(pts, thresh, minPoints, maxIteration) no longer accepts minPoints. Drop that argument; too-small clouds now raise ValueError.

Fixes

  • Circle center along Z (#29).
  • Degenerate samples (parallel vectors / division by zero) (#28).
  • Clear ValueError when 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