News:

Please note new Forum URL: forum.designcad.com

Main Menu

mirror text parameter in mirror function

Started by bdeck, April 30, 2017, 04:31:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdeck

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

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

#2
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