News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

2D mirror copy across single point

Started by DMO, March 31, 2012, 08:16:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DMO

I was wondering if anyone knows how to mirror copy an object across a single point; relative to that point in both X and Y axis?
Dave
Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3

WillR

Maybe you're thinking too hard.

Draw an appropriate line through the point. Mirror. Delete the line.


Simpler than thinking hard...

How do you "mirror about a point" anyway?
WillR
SW:TC 21 Pro Platinum, FM15, 20 Pro Platinum 64 Bit, also V 19.1 64Bit & 32 bit 17.2 and 18.1; Furniture Maker 14 and 10. HW: Vista 64 Ultimate, AMD 1090 (6 core) 8GB memory Plus also an AMD  8 core systemFX

murray dickinson

Use the shift key to force ortho  axes of symmetry.

DMO

WillR,
Thanks for your suggestion. I don't know how to mirror about a point, but I suspect that it can be done, and here is how I might do it if I could.
In this 2D context, in order to mirror across a point, I guess I would have to previously set this function's default behavior(on or off) about the point to be orthogonally relative to the specified x and y origin axes, AND/OR off-axis by whatever rotation I typed in on-the-fly (for one-time operation or until tool disengages).  I don't know if the equivalent for any of these settings even exist, but it would be nice if they did they should. It would certainly be equal to the power of the program.

My intent was to find a way to take advantage of true mirroring in two axes at once.
I can think of several advantages in that. The normal mirror function works great, and I use it a lot.

This could be anything; but for a simple example: I want to put four legs on a table.
If I'm placing four asymmetrical objects centered on a rectangle, I need one placed object (leg), the mirror tool, find temporary vertical and horizontal center-liines  (using snaps), and I can have three adjacent legs nearly instantly in essentially two steps if the right snaps are turned on (not counting reselecting the mirror button each time*). But how do you get the fourth leg? It's easy I know, and there's two ways that I know of that would get me there at about the same time, but what if there are many more objects each with its own odd/unknown angle of orientation? I know how to find the angles and make the appropriate mirror line for each one, but I don't like to.

If I could mirror across the center point, then I would have it copy exactly opposite that point; being flipped about the x-axis and the y-axis simultaneously, and that knocks out several distinctly separate steps to getting there, and perhaps several more for cleanup too.
To draw an odd angle line to an object for mirroring you have to find and sometimes make a line for that angle, and then come back and clean that up when you're done. It's all just a few too many steps sometimes when there's a large number of these things to do.

Imagine making a huge selection of objects uniquely positioned on one side of a center-point and being able to copy them each to their own mirror position 180° away relative to horizontal and vertical.

*The complement to this function would be to lock the mirror tool on until you disengaged it. If it allowed you to progress along after successive mirrors collecting objects with shift+select without affecting the mirror-ON setting, huge and various arrays could be built out in seconds. So there's the second part to my question: can the mirror tool (or any of them) be locked until disengaged (like the format painter tool in Excel with just a double-click)?

I preferred not to involve 3D mode to make this work, I just suspect that it can already be done in 2D, really fast, and without a lot of fuss, that's all.


Note: Since I started this reply Murray Dickinson suggests: "Use the shift key to force ortho  axes of symmetry."

Murray thanks for that! Does that work at all like what I wrote about here?
It sounds very much like what I want. I can't wait to try it out as soon as I can get 18.2 to load properly. 

Dave
Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3

murray dickinson

Not both axes at once.  You'll have to mirror twice.

DMO

Okay, I don't really know yet how all this works, but let's say I switch from 2D to 3D mode without changing my view perspective. Would I then be able to specify the location of the z-axis (or another line parallel to the z-axis)and use it as the line to mirror across?
If so, it seems to me that from the 2D view of x-horizon and y-vertical, that I would get my object flipped both ways at once with respect to those two axes.

-But can that even be done?
Dave
Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3

DonCW

Quote from: DMO on March 31, 2012, 08:16:35 PM
I was wondering if anyone knows how to mirror copy an object across a single point; relative to that point in both X and Y axis?
Dave

How about trying Delta X & Delta Y.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

DMO

Hi Don,
I use delta inputs quite often, and I think it just slides the object around regardless of 2D/3D mode, does it not?
Dave
Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3

DMO

Hey Don,
Did you mean use delta x and y in conjunction with mirror copy?
Dave
Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3

murray dickinson

If you take the example of table legs from one initial example, it's mirrored across three axes: x, y, and 45 degrees.  Or mirrored twice across 45 degrees and then 135  degree axes of symmetry, not two Ortho axes. Either way, it's a compound action.

DMO

#10
Murray,
I know I need to study more about "degree axes of symmetry", but perhaps I don't understand "ortho" like I thought I did, because I really didn't follow any of that last comment. But I want to, so I'll start looking around for some help on that, and I'd appreciate [pointers toward] any study leads anyone could give me.

Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3

Draftsman-Don

DMO,
there's nothing like a thinking man to shake things up a little bit, and I can see you're thinking.  As everyone has stated, that is by geometric definition a two step process, but I can see how that could be simplified programmatically into a one step process on the part of the user.  That's a topic a computer geek is going to have to look at.  From a drafting standpoint I can offer you some study leads to fulfill your desire for understanding.  (Another trait I have a lot of respect for).  I don't mean to insult your intellegence because you're obviously a smart person so if I offer something that seems too simple please don't take offense.  The geometric principles that are being discussed are refered to as Descriptive Geometry, and orthographic projection.  These are the basic foundation for all drafting.  Google these subjects and you'll find lots of sites offering more information.  It's actually possible today to come out of a 2 year college program in drafting and never hear of either of these subjects. (Sad but True)

"Mirroring" as it is referred to in CAD requires that a 3D plane be defined, even if you're mirroring in 2D workspace.  Hence the comment by Will that you can't mirror about a point.  More to your question I think is that you're looking for a way to enter into the program a single point, then define the angle of two planes that intersect at a line passing through that point. Hence with only a couple of clicks you could mirror the legs of a table to use you're example.  I think that's a great Idea, and I don't know of any program that does that in one step but possibly the computer gurus can come up with that.  I would suggest putting that on the "wish list" forum.

Best Regards...

WillR

Don is right about the principles  -- I studied engineering drawing -- not drafting. (I will never be good at drafting.)

Engineering drawing is all about the geometric principles -- they have to be right first. But this is just knowledge -- lack of knowledge has a simple cure.

You really do need the geometric principles right first -- hence my original comment which Don picked up on. If the explanations are not clear get a book on drawing for engineers -- it rolls up all the topics together -- so you can skip the geometry and algebra classes and still learn enough about drafting to muddle your way through.

My old book was titled Fundamentals of Engineering Drawing. It was available re-titled and cleaned up for the CAD age I believe.

Based on your questions you're doing fine -- it just takes a while...

Cheers
WillR
SW:TC 21 Pro Platinum, FM15, 20 Pro Platinum 64 Bit, also V 19.1 64Bit & 32 bit 17.2 and 18.1; Furniture Maker 14 and 10. HW: Vista 64 Ultimate, AMD 1090 (6 core) 8GB memory Plus also an AMD  8 core systemFX

Marek

May be "Array copy" tool in a way can speed up your work. If you have an item to copy and point diagonally, you can use "array copy  tool" to get copies, depending on the number of rows and cols. The problem is that if your point must be a midpoint, rather than diagonally, you would have to increase XStep and YStep  two times "manually".
Marek

TC Pro 2016, TC Pro 2018, TC Plat 2019,TC Plat 2020,TC Plat 2021,TC Plat 2022,TC Plat 2023,TC Plat 2024, TC Plat 2025
Laptop Asus i7 6500U, dual-core 2,50GHz, NVIDIA GeForce GTX 950M, RAM 12 GB, SSD 480GB
Windows 10 64 bit

DMO

#14
Thank you all for your comments. I was beginning to feel shutdown.
To answer one thought, I use array copy often, and so far, all I can see the copy functions do are one-axis at a time. But I don't know all of them.  I'm hoping for an effect that would appear to use two-axes at once, for 2D work on a given workplane.

I'm now thinking that the desired maneuvre has to be defined in 3D terms, regardless.  I'll explain that. It seems the mirror function requires a defined line in order to work. Initially I was trying to see this from only a 2D (workplane?) perspective, thus wanting to call my mirror reference a "point". But what if for 2D work being done on the x-y plane, my "point" was actually the end-on view of a line specified along the Z-axis that intersected X & Y at right angles say, at the point of origin for example?

In TurboCAD can you define that line with quick manual keyboard entries, and will the "mirror" function use it?

Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3

murray dickinson

#15
You'll be able to snap to the line with vertex, middle and nearest snaps, which'll all give the same result for the x,y plane.  If there were such a tool as the two-axis mirror function you describe, you couldn't assume that the offset from both axes is the same, ie that the mirrored array is equidistant from the point, and if it isn't, the parameter set-up means that your hypothetical tool offers no advantage from mirroring twice.  Its potential utility is very narrow.  

Larry

As for the original question, it would seem mathematically impossible to "mirror across a point". A point is simply a location: it has no size, no magnitude, no direction, not a vector or anything similar. The direction part is required for mirroring.

If one did try to come up with an algorithm to mirror across a point, there would probably be numerous singularities (i.e. divide by zero) to contend with.

Larry
TurboCad user since PS v1.2
v24.0.26.3 Pro Plat x64
WIN10 x64 w/16G Mem. nVidia GTX1080(s)

DMO

I agree, a single point does not provide enough reference, especially in 3D.
I guess my use of the phrase "Mirroring across a single point" was naively over simplified terminology from an unsophisticated 2D point of view.

I should have asked: ...how to do what would appear to be the same as "mirror copy across a single point (in 2D)", on a 2D workplane.
But I'm off that. Since my last previous post, I'm going with terms of a defined 3D line now.
Dave Oliff
TurboCAD Pro Platinum 18.2 Build 73.1               Windows XP Pro SP3