dxfjs / writer

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

Add Basic Leader entity #41

Closed DeepankarGupta13 closed 1 year ago

DeepankarGupta13 commented 1 year ago

Added Basic Leadear. Currently we can only add vertices, arrowHead, pathType. need to add MLEADER entity and Text in Leader.

DeepankarGupta13 commented 1 year ago

Sir, how to resolve these merge conflicts, I am not able to see then in vs code?

tarikjabiri commented 1 year ago

You have this confilcts because you didn't use the latest main branch updates.

tarikjabiri commented 1 year ago

You didn't sync you repo conflicts

DeepankarGupta13 commented 1 year ago

sir, pls check once, I have resolved the merge conflicts.

tarikjabiri commented 1 year ago

@DeepankarGupta13 did you test it in AutoCAD, it seems not working 🤔.

DeepankarGupta13 commented 1 year ago

ok sir, i'll check again.

DeepankarGupta13 commented 1 year ago

it's working by below code:

const vertices = [ point3d(0, 0, 0), point3d(1, 1, 0), ]; const leader = dxf.addLeader(vertices);

DeepankarGupta13 commented 1 year ago

image

DeepankarGupta13 commented 1 year ago

pls check again, sir.

tarikjabiri commented 1 year ago

This is strange is not working in AutoCAD 2013

DeepankarGupta13 commented 1 year ago

Did it worked?

tarikjabiri commented 1 year ago

No

DeepankarGupta13 commented 1 year ago

example.txt

sir try the above txt file's content. see if that works on 2013

tarikjabiri commented 1 year ago

Yeah this one is working 🎉

tarikjabiri commented 1 year ago

So the problem was the dimension style name.