Closed loicroybon closed 5 months ago
I do not see any reason why it can be impossible. See current reference example, use Blob
with string content to create object URL.
I'm sorry but could you provide a short code sample please ? I think I already tried your idea without success
const s = loadDxfAsString()
const b = new Blob([s], {type: "image/x-dxf"})
const url = URL.createObjectURL(b)
Hello, I build DXF file content with this lib : @tarikjabiri/dxf So I get string variables containing DXF content. I would like to use vagran/dxf-viewer to display the generated DXF based on this content.
I use Vue3
Possible ?