Sketcher project

This is the FreeCAD Sketcher development project. It follows the rules of the | Getting things done process. The projects are collected in the Development roadmap.

Purpose and principles
This is a software development project aimed to implement a Constraint Sketcher capabilities. Its about implementing some Gui elements and the binding to the constraint solver.

The development steps are planed here and tracked in the Issue tracking system to get a well formed change log: Issue tracker

Brainstorming
In order to improve the solving performance of the sketcher, a graph-based partitioning of the constraints system can take place. The set of the constraints and the set of the unknown parameters can be represented in a bipartite graph with constraints corresponding to left nodes and unknowns to right nodes.

A simple but often very useful preprocessing step is to recognize any disjoint subgroups so that they can be treated separately in the solver.

Moreover one could reduce the number of the unknown parameters that are taken into account in the solution. At the beginning of a solution it should be checked which constraints are not already satisfied. By graph analysis one could find a minimum set of unknown parameters that should be taken into account in order to satisfy all unsatisfied constraints.

Next actions
For 0.13:

1. support for arc/arc and arc/circle in the tangent constraint - DONE [logari81]

2. support for arcs in the perpendicular constraint - DONE [logari81]

3. zoom-independent arrows (symmetry constraint) / dimension lines - DONE [mrlukeparry]

4. external geometry / constraints - DONE [logari81]

5. box selection - DONE [mrlukeparry]

6. mouse dragging of multiple selection

7. better constrainess diagnostics (Issue #691)- DONE [logari81]

8. list of Geometries in the task panel (similar to the list of Constraints)

9. support for points as construction geometry - DONE [logari81]

For 0.12:

1. constraint parameters (datums) editable in the 3D view DONE [jriegel]

2. synchronization between listwidgetview selection - 3D view selection - DONE [wmayer]

3. avoid overlapping of constraints symbols DONE - [mrlukeparry]

3a. make constraints symbols smaller, selectable and avoid overlapping when zooming out DONE - [mrlukeparry]

3b. create constraint icons for 3D Inventor view DONE - [mrlukeparry]

3c. make datum text size dependant on zoom DONE - [mrlukeparry]

3d. make datum text easier to select DONE - [mrlukeparry]

3e. Prevent text overlap on Datum Labels DONE - [mrlukeparry]

4. testing the new solver in stand alone mode

5. external constraints (having constraints with references outside the sketch, some edge of the 3D model e.g.) 0.13 [jriegel]

6. auto-constraining DONE [jriegel]

6a. auto-constraint for perpendicular DONE - [mrlukeparry]

7. visualize tangency constraints DONE - [mrlukeparry]

8. visualize point to line distance constraints and point to point distance constraints DONE - [logari81]

9. add indexes to the constraints symbols in 3D view in order to distinguish between constraints of the same kind DONE - [mrlukeparry]

10. radius constraint (including visualization) DONE - [logari81]

11. angle constraint (including visualization) DONE - [logari81]

12. implement a fillet tool in the sketcher DONE [mrlukeparry]

12a. provide a method of setting fillet radius (Issue #437)

13. implement a trim/extend tool in the sketcher DONE [logari81]

13a. implement an extend tool SKIPPED [logari81]

13b. trim support on arcs DONE [mrlukeparry]

14. equal lengths constraint (including visualization) DONE - [logari81]

15. constrainess diagnostics - degree of freedom counting DONE - [logari81]

16. symmetry constraint (including visualization) DONE - [logari81]

17. implement point on object constraint DONE - [mrlukeparry]

18. Make Snap-Grid less 'greedy' DONE [mrlukeparry]

19. Wiki page for the Sketcher Workbench DONE [normandc]