Skip to content

[BUG]: Error with arcs in dxf export #9617

@yeroca

Description

@yeroca

Describe the bug

I created a fairly simply sketch with straight lines and tangential arcs, but it seems the tangent constraint is not being obeyed when exporting as dxf.

There's a possbility that the viewer I'm using - Mayo - has a bug, but it seems more likely that it's a bug with zoo because of the newness of the dxf export funtion.

Steps to Reproduce

Use this code:

strapW = 1.5in
extraW = 0.1in
fingerL = strapW + 2 * extraW
backW = 0.75in

strapTh = 0.1in
strapThGap = 0.1in
fingerGap = 2 * (strapTh + strapThGap)
fingerW = 0.3in

sketch001 = startSketchOn(XY)
profile001 = startProfile(sketch001, at = [0, 0])
  |> xLine(length = fingerL)
  |> tangentialArc(end = [0.0, fingerGap])
  |> xLine(length = -fingerL)
  |> tangentialArc(end = [0.0, fingerW])
  |> xLine(length = fingerL + backW)
  |> tangentialArc(end = [fingerW, -fingerW])
  |> yLine(length = -(2 * fingerGap + fingerW))
  |> tangentialArc(end = [-fingerW, -fingerW])
  |> xLine(length = -(fingerL + backW))
  |> tangentialArc(end = [0, fingerW], tag = $seg01)
  |> xLine(length = fingerL)
  |> tangentialArc(end = [0.0, fingerGap])
  |> xLine(length = -fingerL)
  |> tangentialArc(endAbsolute = [profileStartX(%), profileStartY(%)])
  |> close()

Then export as dxf the sketch from the feature window, and view with a dxf viewer.

Expected Behavior

Correct direction for the arcs in the dxf file

Screenshots and Recordings

Image Image

Desktop OS

Fedora 43

Browser

N/A

Version

v1.1.5

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions