Skip to content

[BUG]: Revolve using the wrong axis when axis is set to an edge #6461

Open
@r-barton

Description

@r-barton

Describe the bug

When selecting an edge of a sketch as a rotation axis, the resulting body uses the wrong axis for the revolution

Steps to Reproduce

@settings(defaultLengthUnit = in)

sketch000 = startSketchOn(YZ)

sketch000Profile000 = startProfileAt([0, -6.75], sketch000)
  |> xLine(length = 0.28025)
  |> yLine(length = 6.75)
  |> xLine(length = 0.05425)
  |> yLine(length = 2.25)
  |> xLine(length = -0.3345)
  |> yLine(length = -9, tag = $line001)
  |> close()

revolve000 = revolve(sketch000Profile000, axis = line001, angle = 360)

Expected Behavior

Revolutions that use a sketch edge as the rotation axis, should not alter this axis

Screenshots and Recordings

No response

Desktop OS

Linux

Browser

No response

Version

v0.55

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenginekclLanguage and compiler features

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions