this is a pretty bare bone dxf parser and will only give you the parsed dxf file as struct and from there on you are on your own. So basic dxf knowledge is needed to use it. A better documentation for dxf can be found at mozman’s docs.
There is a simple webassembly example that is using the new WebGPU feature of modern browsers (Firefox needs the nightly version) to showcase how to use the buffers created from the parser.
TODO: Add image of the example
early developement and still need to make a lot of decisions so it could change a lot.
-
header (Not intended)
-
tables
-
blocks
-
entities