[ Fixed ] [ Ticket #4144 ] Sketcher: Point-point-point symmetry: order of points?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
openBrain
Posts: 4868
Joined: Fri Nov 09, 2018 5:38 pm

Re: [ Ticket #4144 ] Sketcher: Point-point-point symmetry: order of points?

Postby openBrain » Tue May 26, 2020 7:37 am

rogermhsu wrote:
Tue May 26, 2020 6:46 am
In either scenario (selecting the tool first or the geometry first), the resulting input to the software is the same (two points and a line). The most user-friendly approach would be to have the order not matter - the user selects the geometry in any order and the software intelligently sorts things out. Even if you prefer one order over another, you'd get what you want with this approach. Win, win, win. :)
Seriously ? Read the thread title again. And the thread also...
The whole point is about the point-point-point symmetry. :?
wmayer
Site Admin
Posts: 16646
Joined: Thu Feb 19, 2009 10:32 am

Re: [ Ticket #4144 ] Sketcher: Point-point-point symmetry: order of points?

Postby wmayer » Tue May 26, 2020 7:58 am

Roy_043 wrote:
Tue Sep 24, 2019 5:34 pm
If I click the tool first the required order is:
PtA-Center-PtB
If I click the tool last the required order is:
PtA-PtB-Center

Why is the point order different?
I told the guy who developed the possibility to make the selection after the symmetry tool is started that it's inconsistent to the way when the selection is made beforehand. He didn't care and did it on purpose.
rogermhsu wrote:In either scenario (selecting the tool first or the geometry first), the resulting input to the software is the same (two points and a line). The most user-friendly approach would be to have the order not matter - the user selects the geometry in any order and the software intelligently sorts things out. Even if you prefer one order over another, you'd get what you want with this approach. Win, win, win
In general this is not possible. Just consider the case where you select three points that are not collinear but form a triangle -- especially when it's an equilateral triangle. Then you have three possibilities how to do the symmetry.
wieszak17
Posts: 64
Joined: Fri Jan 10, 2014 7:59 pm

Re: [ Fixed ] [ Ticket #4144 ] Sketcher: Point-point-point symmetry: order of points?

Postby wieszak17 » Tue May 26, 2020 8:54 am

Maybe just simple rule: out of three points, point at which angle is biggest in this triangle is a symmetry point. No check for equality of angles - in this case user need to move one of the points to make situation clear.
GeneFC
Posts: 1654
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: [ Fixed ] [ Ticket #4144 ] Sketcher: Point-point-point symmetry: order of points?

Postby GeneFC » Tue May 26, 2020 2:27 pm

wieszak17 wrote:
Tue May 26, 2020 8:54 am
Maybe just simple rule:
There are guaranteed to be user exceptions to every auto-generated rule. It would be good to declare a single required order for manual selection and be done with it.

Does not matter which order for me; I can learn either. :D

Gene
chrisb
Posts: 28961
Joined: Tue Mar 17, 2015 9:14 am

Re: [ Fixed ] [ Ticket #4144 ] Sketcher: Point-point-point symmetry: order of points?

Postby chrisb » Tue May 26, 2020 3:08 pm

Where is the big deal in selecting the points in the sequence as requested now? It is clear and well defined. That's much easier than select points - apply symmetry - (wrong!) - undo - move one of the points - select points again - apply symmetry again.
A Sketcher Lecture with in-depth information is available in English, auf deutsch, en français, en español.
rogermhsu
Posts: 3
Joined: Mon May 25, 2020 4:20 am

Re: [ Ticket #4144 ] Sketcher: Point-point-point symmetry: order of points?

Postby rogermhsu » Thu May 28, 2020 1:21 am

Roy_043 wrote:
Tue May 26, 2020 7:34 am
No. The topic is about point-point-point symmetry. But there has been another discussion and even a vote about PPP symmetry.
Found it:
https://forum.freecadweb.org/viewtopic.php?f=3&t=45257
Oh, whoops, don't know how I missed the point-point-point part. My bad! :oops:

Thanks for the other link; I'll check it out.
User avatar
Pauvres_honteux
Posts: 378
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: [ Fixed ] [ Ticket #4144 ] Sketcher: Point-point-point symmetry: order of points?

Postby Pauvres_honteux » Thu May 28, 2020 8:38 am

I'm curious about what happens after you've created this symmetry and then change one of the points position?
Could there be one/several case/cases where the symmetrical point gets flipped?

Maybe a GUI element indicating the symmetry axle could be implemented so us users clearly can see what was/is used as symmetry axle?
Preferable an icon in the tree as well. E.g. sub branch the symmetry icon.
.
Symmetry_in_sketcher.png
Symmetry_in_sketcher.png (62 KiB) Viewed 175 times
User avatar
Roy_043
Posts: 2061
Joined: Thu Dec 27, 2018 12:28 pm

Re: [ Fixed ] [ Ticket #4144 ] Sketcher: Point-point-point symmetry: order of points?

Postby Roy_043 » Thu May 28, 2020 1:05 pm

@Pauvres_honteux:
  1. "Could there be ... cases where the symmetrical point gets flipped?" Of course.
  2. You suggestion regarding the tree seems peculiar as none of the other elements in a sketch are listed in the tree. Using "Original Point 1" and "Symmetry of Point 1" would be confusing as no objects are copied.
  3. A symmetry point may be the original point for another symmetrical constraint.
  4. Also a symmetry point need not be a point object, it could f.e be the endpoint of a line.