FreeCAD-macros icon indicating copy to clipboard operation
FreeCAD-macros copied to clipboard

feat: Add Parametric Hatch Generator macro

Open chopinregis opened this issue 6 months ago • 7 comments

This pull request adds the Hatch Generator, a new parametric tool for creating complex 2D hatch patterns on Part faces.

Author: @chopinregis Source Repository: https://github.com/chopinregis/FreeCAD-Parametric-Hatch-Generator

Features:

  • Creates a fully parametric Part::FeaturePython object for hatches.
  • Includes a library of over 100 built-in patterns.
  • Supports custom objects for patterns, multiple base objects, and subtractions.
  • Provides extensive randomization and variation controls.
  • Includes a comprehensive GUI for easy creation and previewing.

Dependencies:

  • An optional dependency on scipy is required to use the "Voronoi" and "VoronoiMesh" patterns. The macro functions without it but will print a warning if a user selects those patterns.

This macro is structured as a multi-file addon with a package.xml for integration with the Addon Manager.

chopinregis avatar Jul 13 '25 07:07 chopinregis