: Mathematical operations such as "Reflection in Line" with FOSS Linux tools such as Inkscape, Gimp or Blender? In Gimp, I could do this by "Layer/Transform/180 rotation" and then "Layer/Transform/Flip
In Gimp, I could do this by "Layer/Transform/180 rotation" and then "Layer/Transform/Flip vertically" -- and then with some mouse, putting things together but it is slow. I am now looking for simpler solution, particularly interested in Inkscape but also interested in other FOSS tools such as Gimp and Blender.
My goal is to save time by this "reflection in line" i.e. by reusing. I want to do just half of the work and then get the other half easily. Similarly, suppose I do a four-times symmetric shape, I want to reuse the one piece to get the 360 degrees' shape.
How to do mathematical operations such as reflection in line?
More posts by @Ogunnowo857
2 Comments
Sorted by latest first Latest Oldest Best
There are many ways to do the reflection in line. For batch-processing, you should use ImageMagick. For casual editing, please, consult the other answer with Inkscape solution. For more serious thing, you may want to use Mirror operation and Blender like here.
Imagemagick, example tested in Ubuntu
$ cat /proc/version
Linux version 3.2.0-24-generic (buildd@yellow) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #37 -Ubuntu SMP Wed Apr 25 08:43:22
UTC 2012
$ sudo apt-get install imagemagick
Firstly, I have right-sided image from which I generate the left-hand
side with the following one-liner.
$ convert -flop right.png left.png
...getting the other pic:
And then just the join, here it is possible to do other things but
showing only the reflection-in-line. Now you can continue with other
tools such as Gimp or Inkscape. Good thing with this method is that it
is easy to automate with cron, for example, all images in certain dir
getting line-reflected-joined. Smile!
$ convert +append left.png right.png smile.png
Further information
Reflection with Imagemagick here.
Blender Mirror operation here and example about using mirror operation here.
Inkscape: Just make a copy of the object (Space bar+click), then flip the copy horizontally (H) and move it next to the original. (Activate the box snapping to make it easier to position it).
Sorry, didn't read the question properly.
The operation requires 2 keystrokes and one flick of the mouse, so it hardly seems worth it to look for something else. You can do the same on a large number of objects just by selecting them together...
What are you trying to do that requires this to be a one click function?
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.