Closed jpirnay closed 1 week ago
The PR fixes incorrect hatch orientation issues in special devices (balor and m2nano) by adjusting the angle calculation in the hatch effect preprocessing. The implementation calculates the correct angle based on the matrix transformation and adjusts the hatch angle accordingly.
classDiagram
class EffectHatch {
- _distance
- _angle
+ preprocess(context, matrix, plan)
+ recalculate()
+ as_geometry(**kws) : Geomstr
+ as_geometries(**kws)
+ can_drop(drag_node) : bool
+ drop(drag_node, modify=true, flag=false)
}
note for EffectHatch "The preprocess method now adjusts the hatch angle based on matrix transformation."
Change | Details | Files |
---|---|---|
Added matrix-space angle calculation and adjustment in hatch effect preprocessing |
|
meerk40t/core/node/effect_hatch.py |
Addresses issue #2664
Before the fix:
So in a nutshell: m2nano before the fix: correct hatch orientation for the non-orientated placements, an incorrect one (everything needs to be rotated) for the rotated one balor before the fix: all hatches are rotated by 90 deg compared to m2nano
After the fix:
Summary by Sourcery
Bug Fixes: