Skip to content

raygeo v0.8.0

Choose a tag to compare

@knipknap knipknap released this 15 Jun 19:33
· 163 commits to main since this release

What's Changed

SVG processing

  • Add extract_svg_metadata(), parse_svg_length(), svg_length_to_mm(), and svg_length_to_px() helpers.
  • Add svg_string_to_geometry_by_layer() — extract per-layer geometry from SVG strings.
  • Add unit conversion helpers to the SvgMetadata Python class.
  • Fix SVG arc import/export bugs and derive large-arc flag at export.
  • Remove BORDER_SIZE from SVG coordinate transform.

Image preprocessing (new module)

  • Add preprocess module with Otsu thresholding and connected-component analysis.
  • Add denoise_binary() and compute_adaptive_threshold().

Scanline / rasterisation

  • Add extract_zero_power_segments() for zero-power segment extraction from scanlines.
  • Add transform_to_cylinder() and rasterize_scanlines().

Geometry / fitting

  • Add convert_arcs_to_beziers() for arc-to-bezier conversion.
  • Remove redundant create_arc_cmd and create_line_cmd from the fitting module.

Documentation

  • Add complexity documentation to each API function.
  • Add many more visual examples and auto-generated doc images.
  • Add a visualization for apply_minimum_run_length().

Full Changelog: v0.7.1...v0.8.0