QCAD Bugtracker

  • Status Assigned
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.27.9
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Husky - 03.02.2023

FS#2450 - Flip Block with Attributes horizontaly fails

A block with Attributes can’t be flipped (Option bar) horizontally. The Attributes will be rotated 180° instead of been mirrored. Other entities in the block flip correctly.
Same block flipped vertically works as expected (Mirrored Attributes).
Same block flipped with FH or MI works as expected. (Mirrored Attributes).

CVH commented on 05.02.2023 12:38

Husky,
It seems to be more complex than that.

On Insert Block (BI) we get the Options Toolbar as it was before.
Now assume that Rotation=0, Scale X=1, Scale Y=1(grayed), Keep Proportions is on.

If we now hit Flip block vertically we expect it to negate the scale in Y and it does but the Y-Scale stays grayed and Keep Proportions stays on.
Ok, proportions are kept and only the sign doesn't match.

Starting form the same assumption but hitting Flip block horizontally we expect it to negate the scale in X.
But we get: Rotation=180, Scale X=1, Scale Y=-1(grayed), Keep Proportions.

Now let's not use the flip options and set the Scale factors ourselves and thus without keeping proportions.
A) With Rotation=0, Scale X=1, Scale Y=-1, Keep Proportions is off we get the Block mirrored in Y but the attribute is not upside down, only the insertion point is mirrored correctly.
All depending on the expected behavior ... Mirrored text (attributes) or not.

B) With Rotation=0, Scale X=-1, Scale Y=1, Keep Proportions is off we get the Block mirrored in X but now the attribute is upside down and not backwards.
Again depending on the expected behavior ... Mirrored text (attributes) or not.

If you select the attribute in B it shows that the Text Height is negated too.
The Text Height for a horizontal text is some value in Y and should not be affected by scaling in X.
The solution for B is to negate the Text Height back.

Regards,
CVH

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing