USER FORUM
(you are viewing a thread; or go back to list of threads)
The first constraint is no effect (by Berkdan Kara)
Hi All,
I am developing a simple 2d cad app. I am using the solvespace solver library for the constraints solving part. Everything works great except the first constraint has no effect. For example, i draw continuous lines so i add coincidence constraint with the second point of the first line and the first point of the second line. and i keep adding lines with a mouse click and i add coincidence constraint for all of the coincident points. all of them works fine except the first one. if i move the second point of the first line they break apart. On the other hand the others move together which is the expected behaviour. If i add two separate lines and then add the coincidence constraint to two point it does not move the points to the same position but if i add the constraint again then it works. Is there anybody experiencing this kind of behaviour? Or is there anybody who has an idea what can cause this issue.
Thanks.
I am developing a simple 2d cad app. I am using the solvespace solver library for the constraints solving part. Everything works great except the first constraint has no effect. For example, i draw continuous lines so i add coincidence constraint with the second point of the first line and the first point of the second line. and i keep adding lines with a mouse click and i add coincidence constraint for all of the coincident points. all of them works fine except the first one. if i move the second point of the first line they break apart. On the other hand the others move together which is the expected behaviour. If i add two separate lines and then add the coincidence constraint to two point it does not move the points to the same position but if i add the constraint again then it works. Is there anybody experiencing this kind of behaviour? Or is there anybody who has an idea what can cause this issue.
Thanks.
Post a reply to this comment: