Artyom Lebedev

Results 73 comments of Artyom Lebedev

For example, 3DFace vertices, x/y stored only: https://github.com/vagran/dxf-viewer/blob/b7c14a68a78aac9e116b3f6762c026c63392148f/src/DxfScene.js#L785 Vertices accumulation: https://github.com/vagran/dxf-viewer/blob/b7c14a68a78aac9e116b3f6762c026c63392148f/src/DxfScene.js#L2151 Also see all 2D transforms in this file. Shader code assumes 2D coordinates and transforms in buffers: https://github.com/vagran/dxf-viewer/blob/b7c14a68a78aac9e116b3f6762c026c63392148f/src/DxfViewer.js#L564

Looks like QCAD is also not able to display it properly (it displays it in the same was as `dxf-viewer`). ![image](https://github.com/vagran/dxf-viewer/assets/6065976/91bbeb83-683b-4d60-8562-fb9114002f38) AutoDesk online viewer display it as intended: ![image](https://github.com/vagran/dxf-viewer/assets/6065976/7635e51e-1e75-4359-8f4c-553d56217c97)

Seems the problem is related to advanced transform from OCS to WCS, i.e. with entity arbitrary elevation and extrusion direction. This feature is not currently implemented.