DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Text Attributes during mirror

Started by Garry K, December 02, 2012, 09:30:54 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Garry K

I am creating a group of objects which includes some attributes. Then I move into place all of the objects. This may include mirroring and rotation.

When I mirror on the X axis the text becomes mirrored as well. Is there a way to move the text - as in a mirror but keep it readable?

Dr PR

Garry,

The "Attribute" is just variety of text. It isn't actually attached to an object.

You can accomplish the same thing with ordinary text. You can put it on a separate layer and enable/disable the layer to show/hide the text. If you mirror objects and the text you can then delete the text you don't want to keep.

Phil
DesignCAD user since 1987

MarkX

#2
Quote from: Garry K on December 02, 2012, 09:30:54 PM
I am creating a group of objects which includes some attributes. Then I move into place all of the objects. This may include mirroring and rotation.

When I mirror on the X axis the text becomes mirrored as well. Is there a way to move the text - as in a mirror but keep it readable?
Hi Garry,

What version of DC are you using?

My attempts to mirror text and attributes resulted in text facing correctly. You may need to post an example of your file.

I'm wondering if one of the manipulations you did on the objects exploded the text back into line pieces.

Good luck!
Mark

Edit: If you specified "Save in Vector Form" when making your text then your text is actually just a bunch of lines. They will indeed be mirrored as mirror writing.


Garry K

I just wrote a very simple function - I read data from a file and call various functions.

DoAttribute:
>Text
{
  <Layer [_lyr]
  <Style 1
  <Size 4
  <Pointxyz [x1, y1, z1]
  <Text [t$]
}
Return

The default font is Arial
I'm thinking that I can write it backwards ( when I know I am going to mirror the cabinet ) and work with the system instead of against it.


Garry K


Garry K

Turns out that the simplest way to handle this ( when you know that the part will be mirrored ) was to draw the text, select the work layer ( only the text in the layer ) and then rotate the text 180 degrees.

Essentially the text is backwards when the complex part is drawn - so when I mirror it - the text has been rotated a total of 360 degrees!

It's a bit of a hack - but it works.