[Ticket #4482] Point on plane with respect to another point

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!
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

[Ticket #4482] Point on plane with respect to another point

Post by Pauvres_honteux »

Trying to create a point(yellow) on a plane with a position relative to another point(blue). I do succeed in placing the point(DatumPoint_5_on_DatumPlane_1) on the plane but can not at the same time get it positioned relative to another point(DatumPoint_1).
.
In the picture three datum planes are defined by four points.
The three pink points are connected to the blue point.
Regarding GUI, see
Pauvres_honteux wrote: Fri Oct 23, 2020 9:05 am
.
Point_on_plane_with_position_relative_to_a_point_1.png
Point_on_plane_with_position_relative_to_a_point_1.png (38.16 KiB) Viewed 1378 times
.
Point_on_plane_with_position_relative_to_a_point_2.png
Point_on_plane_with_position_relative_to_a_point_2.png (79.18 KiB) Viewed 1378 times
Last edited by Pauvres_honteux on Sat May 08, 2021 8:44 am, edited 2 times in total.
Bance
Veteran
Posts: 4248
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Point on plane with respect to another point

Post by Bance »

Your file would be helpful.
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Point on plane with respect to another point

Post by saso »

This should be basically related to my request here https://forum.freecadweb.org/viewtopic. ... in#p357868 that is that the current attachment mode should have separate definitions for the placement (support), origin and orientation. In your example the support of the yellow point would be the plane and its origin would be the blue point.

Also related to this was this discussion about datum planes and its relations to placement of sketches https://forum.freecadweb.org/viewtopic.php?f=3&t=45159 but one has to understand that the implementation of the object attachment (map mode) is sort of generic for all the objects in FreeCAD, so this discussion/issue is actually related to all the different objects that support it.
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

[Feature request] Point on plane with respect to another point

Post by Pauvres_honteux »

Bance wrote: Fri Oct 23, 2020 9:48 am Your file would be helpful.
Of course, your wish is my law!
.
Ball_corner_PartDesign.FCStd
(8.27 KiB) Downloaded 28 times
.
Ball_corner_Part.FCStd
(21.57 KiB) Downloaded 24 times
Last edited by Pauvres_honteux on Mon Nov 02, 2020 11:15 am, edited 1 time in total.
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

[Feature request] Point on plane with respect to another point

Post by Pauvres_honteux »

Anyone who can fix this?
If not I'll create a feature request.
Last edited by Pauvres_honteux on Mon Nov 02, 2020 11:15 am, edited 1 time in total.
Bance
Veteran
Posts: 4248
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Point on plane with respect to another point

Post by Bance »

Is this what you want?
Attachments
Ball_corner_PartDesign.FCStd
(8.97 KiB) Downloaded 28 times
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

[Feature request] Point on plane with respect to another point

Post by Pauvres_honteux »

Bance wrote: Wed Oct 28, 2020 9:19 am Is this what you want?
Sorry to say, but no.
The problem is to create a point on a plane with respect to another point while keeping everything connected.
Super powerful I might add!
Last edited by Pauvres_honteux on Mon Nov 02, 2020 11:15 am, edited 1 time in total.
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Point on plane with respect to another point

Post by saso »

well, I still believe the above suggested improvement to the attachment mechanism would be the right solution, but one way to work around it (at least for some situations) is with a sketch...

so in this example it is the Sketch that is mapped to DatumPlane_1 and DatumPoint_1 and then the DatumPoint_5 is mapped to one of the vertices of the Sketch.

update: I have added another example that uses a secondary plane instead of the sketch, but the basic principle is the same, one could also use an LCS in the same way... but if the main points get moved around things can get a bit out of control, if using the LCS one can actually best understand what is going on, orientation changes, I don't know how to make this more stable, above suggested improvement could possible do it.

Ball_corner_PartDesign_bySketch.png
Ball_corner_PartDesign_bySketch.png (162.78 KiB) Viewed 1133 times
Attachments
Ball_corner_PartDesign_byPlane.FCStd
(8.96 KiB) Downloaded 22 times
Ball_corner_PartDesign_bySketch.FCStd
(10.39 KiB) Downloaded 24 times
Last edited by saso on Wed Oct 28, 2020 5:28 pm, edited 2 times in total.
Bance
Veteran
Posts: 4248
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Point on plane with respect to another point

Post by Bance »

saso wrote: Wed Oct 28, 2020 11:49 am
If I set dimensions to your sketch and equivalent attachment offsets in my model, the placement of the point is identical.

So what is actually being sought?
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Point on plane with respect to another point

Post by saso »

Bance wrote: Wed Oct 28, 2020 12:25 pm If I set dimensions to your sketch and equivalent attachment offsets in my model, the placement of the point is identical.

So what is actually being sought?
I have tested your solution only now, true they both seem to give the same result, as long as you don't start to move the main points around :)
Last edited by saso on Wed Oct 28, 2020 5:16 pm, edited 2 times in total.
Post Reply