Giter Site home page Giter Site logo

Comments (9)

ognjen-petrovic avatar ognjen-petrovic commented on July 17, 2024

Hi,

I have not had such a plan. I do not know how complicated would that be, do you have the idea?

from js-dxf.

omkarap55 avatar omkarap55 commented on July 17, 2024

Actually, I do not have any idea about the level of complexity of this feature.
I have seen this feature in LibreCAD. Maybe this could be useful reference for you.
Let me know your thoughts.

from js-dxf.

tarikjabiri avatar tarikjabiri commented on July 17, 2024

Hi,

After some research the js-dxf need a dynamic API for managing sections.
In order to implement an IMAGE entity we need tow objects in OBJECTS section IMAGEDEF and IMAGEDEF_REACTOR and I think we need a class in CLASSES section.
I am curently aiming to implementig this feature but I am strugling with DXF reference, also finding a good algorithm for the current api.

from js-dxf.

Kinatzo avatar Kinatzo commented on July 17, 2024

I'm also very intersted in being able to add raster images!

from js-dxf.

SinMayFly avatar SinMayFly commented on July 17, 2024

Hi, now i have problems, how to fill the color for the graphics, and my English is bad ,sry

from js-dxf.

novotechsoft avatar novotechsoft commented on July 17, 2024

Hi,

After some research the js-dxf need a dynamic API for managing sections. In order to implement an IMAGE entity we need tow objects in OBJECTS section IMAGEDEF and IMAGEDEF_REACTOR and I think we need a class in CLASSES section. I am curently aiming to implementig this feature but I am strugling with DXF reference, also finding a good algorithm for the current api.

hi, I see that you added image support for your TypeScript library. Can we add the same here for js-dxf?
I was hoping that js-dxf supports hatch. Without hatch support, can image be used to tiled in a polygon?

from js-dxf.

tarikjabiri avatar tarikjabiri commented on July 17, 2024

Hi,
@ognjen-petrovic said to keep js-dxf simple as possible so implementing Image entity is a bit tricky because needs objects to be implemented.

I am working on my lib so the next version support as many features as possible but I am struggling with time(I am not free) and the dxf spec.
And about hatch I will see if can implement it

from js-dxf.

novotechsoft avatar novotechsoft commented on July 17, 2024

thanks very much! Hatch is a very vital part of DXF or DWG files, so adding it to js-dxf will be a great step ahead. Thank you again for the quick reply.

from js-dxf.

tarikjabiri avatar tarikjabiri commented on July 17, 2024

Hi,

The HATCH, IMAGE, INSERT and BLOCKS are implemented in my lib, and I published a pre-release see NPM or Github.
For more informations see Documantation.

And I want to say sorry I can't implent them in js-dxf because focusing in tow libs is hard for me, I will add features that are easy to implement.

Thank you.

from js-dxf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.