MoI discussion forum
MoI discussion forum

Full Version: Symmetry operations, reflection, mirror

Show messages: All  1-2  3

From: bemfarmer
9 Mar 2021   [#3]
Attached is a simple example node program to Mirror an object, with the reflective plane located in XY or YZ, or XZ plane. Three macros were created, one for each of the three reflective planes. As can be seen in the example, the output of any one of the three plane macros provides the input for the Mirror node "MirrorFrame" input. Due to the way the two input points of the Mirror factory work, in the Mirror node (Of Karsten?), there is a small amount of difference in the "concept or behavior" between "Frame" and "Plane", but the input points internal to the three macros accomplish the CORRECT and PROPER MirrorFrame input, even though the points used for the "plane" or "frame" might seem a bit off or "strange". The three macros are correct. There is a fourth permutation of points for the ZX plane, but it is redundant and unnecessary. A fifth permutation of points for the reflective plane does not work, and is also not given. The reflective plane, XY, YZ, or XZ, corresponds to the location of a physical mirror. (Planes at other, non-right angles to axes, are not given, but would likely involve trigonometry.)
Perhaps another set of macros with an angle input could be done? Or several angle inputs...?

The zip file "MacrosForMirrorPlanesFrames" should be unzipped, and the three macros copied to the nodeeditor Macro folder, if they are desired for future use-age. The macros should be added to a node screen using right click Macro file list selection. Do not Load the macro like a node, because it comes to the node screen in expanded mode, not in proper form.

- Brian

Attachments:
MacrosForMirrorPlanesFrames.zip
MirrorReflectionPlaneExample.zip


Show messages: All  1-2  3