You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding dimensions via the 'User.Drawings' layer (kicad default), we can put dimensions in documents. This looks great, until wil print a layer stack (pdf) mirrored.
However while its understandable that silk-screen gets mirrored (though in this case it gets unmirrored due to it being the back silkscreen), the dimensions now get mirrored numbers.
So what works great for the layers needed for fab, doesn't work for User.Comments/dimensions. What we should do however (with a layer property) re-mirror just the gr_text in the Cmts.User layer. Though we could do a mirror_text flag on any layer to be fair, safest would be to limit it to user layers however imo.
@set-soft amazing, I didn't even know you fixed this, and was surprised that my dimensions all of a sudden where correct :)
I'm not sure I understand the options correctly, for me it was 'just working' with mirror: true. The PCB text is indeed mirrored, Regardless, the default work :D
@set-soft amazing, I didn't even know you fixed this, and was surprised that my dimensions all of a sudden where correct :)
I´m scanning all the PCB elements and also all the elements inside footprints. The algorithm just looks for objects that inherits from the basic text class and implements GetShownText, I tried with all stuff that came to my mind and worked, but I can't be sure all objects are covered.
I'm not sure I understand the options correctly, for me it was 'just working' with mirror: true. The PCB text is indeed mirrored, Regardless, the default work :D
The idea is that it should work out-of-the-box. As KiCad doesn't mirror text in the user layers when you explicitly ask for mirrored output the default is to just mirror the text. But you can disable it (in case you manually mirrored the text!). One option controls the text objects that are in the board and the other the objects inside footprints.
The code also adjusts the alignment (justification) of the text, so right justified text becomes left justified when mirrored.
When adding dimensions via the 'User.Drawings' layer (kicad default), we can put dimensions in documents. This looks great, until wil print a layer stack (pdf) mirrored.
However while its understandable that silk-screen gets mirrored (though in this case it gets unmirrored due to it being the back silkscreen), the dimensions now get mirrored numbers.
So what works great for the layers needed for fab, doesn't work for User.Comments/dimensions. What we should do however (with a layer property) re-mirror just the
gr_text
in theCmts.User
layer. Though we could do amirror_text
flag on any layer to be fair, safest would be to limit it touser
layers however imo.Obviously we should also honor the
restore_project
flag, to ensure the repository is left as we found it.It seems, that if no property is set,
justify
is intended, which is a bit weird, so may need a double check.The text was updated successfully, but these errors were encountered: