View Issue Details

IDProjectCategoryView StatusLast Update
0002995SketcherFeaturepublic2017-04-28 02:06
ReporternormandcAssigned Toabdullah 
Status assignedResolutionopen 
Product Version0.17 
Target VersionFixed in Version 
Summary0002995: Sketcher horizontal/vertical constraints: implement their use to align points
DescriptionThis report proposes for horizontal and vertical constraints to support selection of two or more points.

Currently, the only valid selection is line segment(s). It would be very useful to be able to align points from independent elements (lines, arc/circle centre points) either horizontally or vertically. Currently, the only way of doing that is to either add a horizontal/vertical dimensional constraint of zero value (which is not considered good practice) or a construction line joining the two points (which adds complexity to the sketch).

Other constraints already support dual modes: tangent constraint doubles as a collinear constraint between lines, equal length constraint can work on arc/circle radii; therefore this implementation would comply with the sketcher philosophy.
Additional InformationSee forum topic:


2017-04-01 17:29normandcNew Issue
2017-04-01 17:30normandcAdditional Information UpdatedView Revisions


2017-04-02 10:17

administrator   ~0008748

Sketch::addHorizontalConstraint source

Sketch::addVerticalConstraint source
2017-04-02 10:17kkremitzkiTag Attached: #lowhangingfruit
2017-04-26 02:51Kunda1Assigned To => abdullah
2017-04-26 02:51Kunda1Statusnew => assigned


2017-04-26 02:54

manager   ~0008768

@abdullah wrote:

Was it in fact implemented?

FYI ticket thread was recreated from previous ticket.


2017-04-26 16:49

developer   ~0008779

It is indeed implemented. It is not merged yet. It is waiting in my computer for the merge of this PR:

The reason is that it will conflict with it. As soon as that one is merged, I will rebase it to master and do a PR.


2017-04-28 02:06

manager   ~0008787

Per Abdullah, commit is pending on FreeCAD Pull Request 696

Issue History

Date Modified Username Field Change
2017-04-01 17:29 normandc New Issue
2017-04-01 17:30 normandc Additional Information Updated View Revisions
2017-04-02 10:17 kkremitzki Note Added: 0008748
2017-04-02 10:17 kkremitzki Tag Attached: #lowhangingfruit
2017-04-26 02:51 Kunda1 Assigned To => abdullah
2017-04-26 02:51 Kunda1 Status new => assigned
2017-04-26 02:54 Kunda1 Note Added: 0008768
2017-04-26 16:49 abdullah Note Added: 0008779
2017-04-28 02:06 Kunda1 Note Added: 0008787