Sketcher: vertically align 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!
Post Reply
bartovan
Posts: 3
Joined: Thu Mar 30, 2017 1:41 pm
Location: Belgium

Sketcher: vertically align points

Post by bartovan »

I want to constrain two points in Sketcher so they will remain always vertically aligned.
I now use a horizontal distance of 0mm. Is there a better way/another type of constraint In can use?
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Sketcher: vertically align points

Post by r-frank »

Hello.

Welcome to FreeCAD and the forum.

In your Sketch, connect the two points with a line.
Select the line and change the line to construction mode
The line will turn from white to blue (construction lines are helping geometry which is not taken into account when
creating a pad or pocket).
Now apply a horizontal constraint to your blue helper line and you are done.

Roland
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
bartovan
Posts: 3
Joined: Thu Mar 30, 2017 1:41 pm
Location: Belgium

Re: Sketcher: vertically align points

Post by bartovan »

Thank you for your reply, but I don't quite get it I'm afraid.
Let's say I have 2 circles, and I want a constraint to have them always vertically aligned.
What I now do is select the two center points and add a horizontal distance constraint of 0mm.
How would I do this otherwise, in this example?
Do you mean make a construction line, make a coincident constrain between line endpoints and circle centers, then a vertical constraint on the line?
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Sketcher: vertically align points

Post by r-frank »

bartovan wrote:Let's say I have 2 circles, and I want a constraint to have them always vertically aligned.
Cricles_aligned.JPG
Cricles_aligned.JPG (30.3 KiB) Viewed 7642 times
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
bartovan
Posts: 3
Joined: Thu Mar 30, 2017 1:41 pm
Location: Belgium

Re: Sketcher: vertically align points

Post by bartovan »

OK, now I get it :D
Thank you!
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Sketcher: vertically align points

Post by NormandC »

Hello bartovan and Roland,

This topic reminded me of a similar discussion we had here some time ago. In my opinion it would be very useful if the horizontal and vertical constraints were to support selection of points. I dislike the use of a zero value dimensional constraint, and adding a construction line makes the sketch more complex.

So I just created this feature request: 2995: Sketcher horizontal/vertical constraints: implement their use to align points

Cheers,

Normand
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketcher: vertically align points

Post by chrisb »

+1
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
cox
Posts: 971
Joined: Wed Nov 26, 2014 11:37 pm

Re: Sketcher: vertically align points

Post by cox »

+1
Need help? Feel free to ask, but please read the guidelines first
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: Sketcher: vertically align points

Post by r-frank »

NormandC wrote:So I just created this feature request: 2995: Sketcher horizontal/vertical constraints: implement their use to align points
Just from your forum post i wasn't able to see what you're after, but after reading the bug tracker entry
i have to say that this would be a very good idea (and something solidworks sketcher also has ...).
+1
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
Post Reply