vagran / dxf-viewer

DXF 2D viewer written in JavaScript
Mozilla Public License 2.0
295 stars 87 forks source link

How to implement the POLYLINE type #27

Closed dotoritos-kim closed 1 year ago

dotoritos-kim commented 1 year ago

POLYINE type case

While looking at the source code, I noticed that there is no logic to handle the POLYLINE type. I knew there was a part in three-dxf that handles this type. Wouldn't it be easy to make by referring to the logic?

I still have a hard time with dxf-viewer's compression algorithm. I'd like to contribute to this open source, but it's not easy.

vagran commented 1 year ago

Actually there IS a logic for polyline case, it is handled in the same way as LWPOLYLINE entity (this is how this switch should be read), it should work. Do you have any sample file with the problematic case? I would take a look.

vagran commented 1 year ago

Assuming there is no actual issue.