MoI discussion forum
MoI discussion forum

Full Version: Mirror (flip) by one hotkey.

From: vector illustrator (QUARITEXA)
19 Jan 2020   [#1]
How to flip (vertical/horizontal) selection in viewports by clicking just one hotkey?
https://dl.dropboxusercontent.com/s/w6oooedh94nosj3/200120095940.gif
From: Michael Gibson
19 Jan 2020   [#2] In reply to [#1]
Hi Quaritexa,

re:
> How to flip (vertical/horizontal) selection in viewports by clicking just one hotkey?

Probably the best way would be to make a customized version of the Transform > Mirror command (Mirror.js).

Instead of picking points for the mirror line you would want to fill in the mirror factory's inputs with points calculated off of the object's bounding box.

The mirror factory inputs go like this:

0 : Object list - objects to mirror
1 : CoordinateFrame - First point and plane for mirror line
2 : Point - Second point of mirror line.
3 : Bool - Whether to delete input objects or not.

- Michael