parrgar21 / heekscad

Automatically exported from code.google.com/p/heekscad
Other
0 stars 0 forks source link

drawing does not update when line property "Length" is changed #242

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This buggy behavior is observed with HeeksCAD r1071 and HeeksCNC r889
(though I think HeeksCNC is totally unused for this bug report).

To reproduce:

1.  Start HeeksCAD.

2.  Click on the "draw a sketch" icon.

3.  Click on three random points in the drawing area to make two lines,
then hit Escape to stop drawing a sketch.

4.  Click on the "+" by the new Sketch in the feature tree to expand it.

5.  Right-click on the first Line and choose "Toggle Line Length" to mean 
that the line's length is "constrained" to its Length property.  This tells
the sketch solver that it is not allowed to change the length of the line -
it's constrained.  It also makes the length of the line show in the drawing
area near the line.

6.  In the Properties pane, edit the "Length" property to be some new
number.  In this example, my starting Length was 38.05 and I set it to 10.

7.  Problem #1: When I hit Enter in the Length property, it reverts to the
old value, 38.05.  The line shown in the drawing does not change size. The
length shown for the line in the drawing area changes to what I typed (10).

8.  Right-click the other Line of the Sketch and choose "Toggle Line
Length".  Immediately the drawing area is refreshed and the first line is
redrawn with the length I specified in step 6.

That's the shortest recipe for strangeness that I've found.  I tried a
couple of things between steps 7 and 8, like clicking Redraw, translating
and rotating the sketch, etc, but nothing made it redraw the first line
with the correct length (until step 8).

Original issue reported on code.google.com by seb.kuzm...@gmail.com on 20 Mar 2010 at 3:03