Skip to content

Problem with parsing/showing ARC entity #109

@mirh1

Description

@mirh1

Hi,

I am not sure if this might rather be a three-dxf or dxf-parser issue but hoping this is the right place for my question:

We have an issue with showing some dxf files in dxf-viewer. Here we got a simplified example where you can see that in some cases an entity of Type ARC is not shown in its right position:

Arc

While other viewers that I used show the file correctly:

correctExample

By debugging the parsing process until reaching parseEntity(scanner, curr) in arc.js we noticed that the extrusion vector of the specific ARC entity (Group 210-230) is like (0, 0, -1) and also the x value of the arc.center has a reversed sign.

entity

For reproducing the problem see this example dxf below:
example.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions