raygeo v0.8.0
What's Changed
SVG processing
- Add
extract_svg_metadata(),parse_svg_length(),svg_length_to_mm(), andsvg_length_to_px()helpers. - Add
svg_string_to_geometry_by_layer()— extract per-layer geometry from SVG strings. - Add unit conversion helpers to the
SvgMetadataPython class. - Fix SVG arc import/export bugs and derive large-arc flag at export.
- Remove
BORDER_SIZEfrom SVG coordinate transform.
Image preprocessing (new module)
- Add
preprocessmodule with Otsu thresholding and connected-component analysis. - Add
denoise_binary()andcompute_adaptive_threshold().
Scanline / rasterisation
- Add
extract_zero_power_segments()for zero-power segment extraction from scanlines. - Add
transform_to_cylinder()andrasterize_scanlines().
Geometry / fitting
- Add
convert_arcs_to_beziers()for arc-to-bezier conversion. - Remove redundant
create_arc_cmdandcreate_line_cmdfrom 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