Git Product home page Git Product logo

Comments (5)

OpenSourceModular avatar OpenSourceModular commented on June 17, 2024 1

Yes, I just experimented and found the same result - thanks!

from easyeda-svg-import.

xsrf avatar xsrf commented on June 17, 2024

Hey, at first glance this is expected.
Imports as SVG nodes or solid regions are always closed filled shapes defined by the paths / outlines. This is why the curved line gets closed and the two straight lines probably got imported but are not visible (zero width).
If you import as Track instead, only the outlines will be imported as tracks. This will import the curved line and the straight lines correctly and imports the top shapes without fill.
There may be a way to convert the actual outlines of objects into paths, so that all shapes directly import as you expect. I'll have a look at that. I'm not really an expert with Inkscape.

from easyeda-svg-import.

OpenSourceModular avatar OpenSourceModular commented on June 17, 2024

I see - that makes sense. No need for you to look into inkscape. I can come up with a workflow that suits my needs.

Thanks!

from easyeda-svg-import.

xsrf avatar xsrf commented on June 17, 2024

Okay, confirmed. You may use Stroke to Path on all shapes except the first three to get the result you probably expected.
Basically, while shapes in Inkscape do have fill and stroke, in EasyEDA they are either fill (SVG Node, solid region) or stroke (Track). Hope that helps! I may add some of the examples you provided to the readme.

from easyeda-svg-import.

xsrf avatar xsrf commented on June 17, 2024

I've added some example screenshots to the readme:

from easyeda-svg-import.

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.