CAD_Sketcher icon indicating copy to clipboard operation
CAD_Sketcher copied to clipboard

[BUG] Vertical/horizontal distance constraint causes jumping

Open BaoNTGH opened this issue 2 years ago • 2 comments

Contact Details

No response

Description

Repro step:

  1. Add sketch
  2. Add line
  3. Select 2 end points of the line
  4. Alt-H (horizontal) or Alt-V (vertical)

Expected: Horizontal or vertical constraint is added with current distance value without moving the points of the line.

Actual: Different distance value was provided that caused the line jumps image

image

Addon Version

latest

Blender Version

3.1.2

What platform are you running on?

Windows

BaoNTGH avatar Jun 16 '22 21:06 BaoNTGH

Ya I've experienced the same when sketches have zero or lake constraints

TheMakerTales avatar Jun 18 '22 17:06 TheMakerTales

It looks like the horizontal/vertical distance constraints use the length of the line as the value for the constraint, instead of using the projection of the line onto the given axis for the measurement. image image

amrsoll avatar Jun 29 '22 09:06 amrsoll