LibreCAD icon indicating copy to clipboard operation
LibreCAD copied to clipboard

Hatch tile pattern empty space should be cropped only from top and right

Open app4soft opened this issue 1 year ago • 0 comments

Expected behavior

LibreCAD should fit pattern tile size to its content only from top & right sides, and do not crop it from left and bottom (i.e. preserving offset from origin).

NOTE: Pattern tile size could be different from 100×100mm.

Observed behavior

Actually LibreCAD fully ignores placement of pattern tile content according its origin and just fits it from all 4 sides (from top, bottom, left & right).

  • ../patterns/hex.dxf Screenshot_2023-07-10_14-25-50

  • ../patterns/clay.dxf Screenshot_2023-07-10_14-25-54

Steps to reproduce or sample file

Operating System and LibreCAD version info

  • Version: 2.2.1_alpha-219-g209d4690
  • Compiler: GNU GCC 11.3.0
  • Compiled on: Jul 8 2023
  • Qt Version: 5.15.3
  • Boost Version: 1.74.0
  • System: Debian GNU/Linux 12 (bookworm)

Related issues

  • https://github.com/LibreCAD/LibreCAD/issues/1648

app4soft avatar Jul 10 '23 12:07 app4soft