Skip to content

Sketch doesn’t close with grid snap ON #8837

@max-mrgrsk

Description

@max-mrgrsk

Similar to #6915.

When grid snap is enabled, finishing a profile by clicking “Start” doesn’t close the sketch. Instead, it adds another segment.

Observed:

sketch002 = startSketchOn(XZ)
profile002 = startProfile(sketch002, at = [20, -10])
  |> xLine(length = 60)
  |> yLine(length = -40)
  |> xLine(length = -4)
  |> yLine(length = 36)
  |> xLine(length = -52)
  |> yLine(length = -36)
  |> xLine(length = -4)
  |> yLine(length = -40)

Expected:

sketch002 = startSketchOn(XZ)
profile002 = startProfile(sketch002, at = [20, -10])
  |> xLine(length = 60)
  |> yLine(length = -40)
  |> xLine(length = -4)
  |> yLine(length = 36)
  |> xLine(length = -52)
  |> yLine(length = -36)
  |> xLine(length = -4)
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
  |> close()
Image

@andrewvarga might be interesting for you

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions