Author Topic: mirror text parameter in mirror function  (Read 88 times)

bdeck

  • Hero Member
  • *****
  • Posts: 780
mirror text parameter in mirror function
« on: April 30, 2017, 04:31:25 PM »
In the mirror command, what is the parameter for "mirror text" ?

BTW: In the mirror dialogue, unchecking "mirror text" on vertically mirrored selections results in text that is rotated 180 degrees from where it should be.  As best I can tell, this behavior has been there at least since v15.

Need the parameter to fix this behavior in a macro.

Thanks,
bd

JJG

  • Hero Member
  • *****
  • Posts: 715
Re: mirror text parameter in mirror function
« Reply #1 on: May 01, 2017, 01:03:32 AM »
Hello BD,

I think it's in the sys functions :
38 - Text mirror enable/disable [0 = off, 1 = on] 3D Text Only.  If you mirror a piece of text with this setting turned on, the mirrored text is drawn backwards.

indeed not in the command itself :
>Mirror
{
<Axis a
[0 = x, 1 = y, 2 = z, 3 = custom]
<Type t
[0 = don't make copy , 1 = make copy]
<Point 1 = location of mirrored copy
}

 ;)

bdeck

  • Hero Member
  • *****
  • Posts: 780
Re: mirror text parameter in mirror function
« Reply #2 on: May 01, 2017, 08:46:55 AM »
JJG,

Hadn't thought of that. That works great.

Unless sys(36) is set.

It turns out that whenever sys(36) is set, the mirror command will ignore the current value of sys(38) and use the prior value, perhaps from some prior macro execution buffer. Even if the macro prints out the correct current value of sys(38) at the outset, the mirror command will ignore it if sys(36) is set. Even resetting sys(36) seems to have some unexpected effect.

Very Strange behavior.

So don't use  mirror command in silent mode if text is selected.

Thanks

BD
« Last Edit: May 03, 2017, 10:41:21 AM by bdeck »