What rule should I use? (A2Plus WB)

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Ooypunk
Posts: 6
Joined: Sun Oct 18, 2020 7:38 pm

What rule should I use? (A2Plus WB)

Post by Ooypunk »

Hello,
See attached picture: I'm trying to find the rule that makes the green line coincide with the yellow dot. Is that possible?

The underlying part is fixed, the upper one is constricted in a way that the only possible movement left is sideways.

Thanks!
Attachments
FreeCAD Poging1 1.jpg
FreeCAD Poging1 1.jpg (221.12 KiB) Viewed 1669 times
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: What rule should I use? (A2Plus WB)

Post by chrisb »

Moved to Assembly forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: What rule should I use? (A2Plus WB)

Post by kbwbe »

Ooypunk wrote: Sat Jun 05, 2021 8:01 pm I'm trying to find the rule that makes the green line coincide with the yellow dot. Is that possible?
Hi,
for that the pointOnLine-Constraint is used ...
pointOnLine-Constraint.png
pointOnLine-Constraint.png (769 Bytes) Viewed 1619 times
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
Ooypunk
Posts: 6
Joined: Sun Oct 18, 2020 7:38 pm

Re: What rule should I use? (A2Plus WB)

Post by Ooypunk »

Hi,
Thanks for the quick response.
Yes, I thought so, but as you can see in the attached picture, that option stays disabled after selecting the line and the point. Any ideas what the problem could be?
Ooypunk
Posts: 6
Joined: Sun Oct 18, 2020 7:38 pm

Re: What rule should I use? (A2Plus WB)

Post by Ooypunk »

Solved: one needs to select the point first, then the line, and then the pointOnLine-constraint becomes active. Not the line first, then the point.
Post Reply