View Issue Details

IDProjectCategoryView StatusLast Update
0001557GCSGeneralpublic2018-06-03 07:58
Reporterulrich1a Assigned Toabdullah  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Versiontrunk 
Summary0001557: Sketcher symmetric constraint does not report redundant constraints
DescriptionThe symmetric constraint fails to report redundant constraints. This may give sketches with redundant constraints, which have problems later. For example sketches with several degrees of freedom do not move. Examples can be found here: http://forum.freecadweb.org/viewtopic.php?f=8&t=6617#p53589 and here: http://forum.freecadweb.org/viewtopic.php?f=3&t=6424#p51775
It is the file Three_divisions_test_symmetry_solution_problem.fcstd
Steps To Reproduce1. Make a polyline with two straight lines.
2. Add an equality constraint to the two lines.
3. Add an parallel constraint to the two lines.
4. Add an symmetric constraint between the end points of the polyline and the center point of the polyline.
This gives a sketch where the equality as well as the parallel constraints are redundant to the symmetric constraint.

The object can not be moved any more.
Tagsconstraints, Solver
FreeCAD Information

Activities

bejant

2014-08-28 14:21

reporter   ~0005019

Another example of how to reproduce is here:
http://forum.freecadweb.org/viewtopic.php?f=10&t=7441#p60608

Related forum thread:
http://forum.freecadweb.org/viewtopic.php?f=10&t=7456&start=10#p60669

Kunda1

2017-01-26 21:14

administrator   ~0007998

bumped forum thread

Kunda1

2017-01-27 04:05

administrator   ~0008018

Bejant replied in https://forum.freecadweb.org/viewtopic.php?f=10&t=7456&p=156251#p156251
> It should remain open because in recreating the 4 steps Ulrich listed in the ticket the problem still exists.

OS: Ubuntu 16.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.9796 (Git)
Build type: None
Branch: master
Hash: bebda4c6adcad59c4abe82bcbc8703e90c8e1ceb
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

wmayer

2017-09-24 14:41

administrator   ~0010169

The solver recognizes the redundant constraint and reports it to as log message but it doesn't report it to the GUI.

This is the output in the log:
Sketcher::RedundantSolving-DogLeg-
Sketcher Redundant solving: 1 redundants
Sketcher::setUpSketch()-T:0.001
Sketcher::Solve()-DogLeg-T:0
Sketcher::RedundantSolving-DogLeg-
Sketcher Redundant solving: 1 redundants
Sketcher::setUpSketch()-T:0

wohlklang

2017-10-29 21:51

reporter   ~0010365

Hi there

I'm looking to get involved in FreeCAD as a developer and I thought this might be a good issue to start with, would you a agree? If there are no objections, I'd give it a go. Any help, tips and/or contacts would of course be greatly appreciated. :)

Regards,
Damian

Kunda1

2017-10-31 09:04

administrator   ~0010368

@wohlklang please connect to the the devs via the forum thread associated with this ticket to get the orientation that you're seeking

wmayer

2018-05-31 11:56

administrator   ~0011326

https://github.com/FreeCAD/FreeCAD/commit/03c3539dbfac10e38abc5f7fec8fefb8966d388e

wmayer

2018-05-31 12:23

administrator   ~0011330

Following the instructions I cannot see that this issue is fixed => reopening

chrisb

2018-06-03 07:58

developer   ~0011346

https://github.com/FreeCAD/FreeCAD/pull/1429

Issue History

Date Modified Username Field Change
2014-05-19 09:55 ulrich1a New Issue
2014-08-28 14:21 bejant Note Added: 0005019
2017-01-26 21:14 Kunda1 Note Added: 0007998
2017-01-26 21:14 Kunda1 Tag Attached: #pending
2017-01-27 04:05 Kunda1 Note Added: 0008018
2017-01-27 04:05 Kunda1 Tag Detached: #pending
2017-01-27 04:06 Kunda1 Status new => confirmed
2017-09-24 14:41 wmayer Note Added: 0010169
2017-09-27 12:13 Kunda1 Tag Attached: constraints
2017-09-27 12:13 Kunda1 Tag Attached: Solver
2017-10-29 21:51 wohlklang Note Added: 0010365
2017-10-31 09:04 Kunda1 Note Added: 0010368
2017-10-31 20:38 Kunda1 Project FreeCAD => Sketcher
2017-12-13 15:20 Kunda1 Project Sketcher => GCS
2018-04-17 08:04 abdullah Assigned To => abdullah
2018-04-17 08:04 abdullah Status confirmed => assigned
2018-05-31 11:56 wmayer Status assigned => closed
2018-05-31 11:56 wmayer Resolution open => fixed
2018-05-31 11:56 wmayer Note Added: 0011326
2018-05-31 12:23 wmayer Status closed => confirmed
2018-05-31 12:23 wmayer Resolution fixed => open
2018-05-31 12:23 wmayer Category Bug => General
2018-05-31 12:23 wmayer Note Added: 0011330
2018-06-03 07:58 chrisb Status confirmed => closed
2018-06-03 07:58 chrisb Resolution open => fixed
2018-06-03 07:58 chrisb Note Added: 0011346