dxfjs / writer

A JavaScript dxf generator written in TypeScript.
https://dxf.vercel.app
MIT License
85 stars 17 forks source link

addLinearDim is not working precisely (e.g. from Jsketcher) #145

Closed NetzerRosenfeld closed 1 year ago

NetzerRosenfeld commented 1 year ago

Hi, Not sure if here is the right place, but when drawing in Jsketcher horizontal dimenstion, the dxf value is not precisely. In the image below you can see it as "8000". image

but the data after using the dxf export is calculate not as horizontal line but as free line with angle. image

The dxf file: image

And the the wrong calculated of Dimesion with "8066" image Thanks

tarikjabiri commented 1 year ago

Hi,

Things seems working for me, I can't reproduce the problem.

jsketcher jsketcher-dxf

Can you please tell what software used to display the dxf output.

Regards

NetzerRosenfeld commented 1 year ago

It is local version of Jsketcher after some changes I made.

Now, I download the main version and reproduce it again (https://github.com/xibyte/jsketcher). image

image I test the dxf file in this site-https://sharecad.org/

Maybe your version is more updated then the main branch?

tarikjabiri commented 1 year ago

So the viewer you are using is the one that has the problem not my dxf.

use one of theses:

Regards