Comments (5)
Yes, I just experimented and found the same result - thanks!
from easyeda-svg-import.
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.
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.
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.
I've added some example screenshots to the readme:
from easyeda-svg-import.
Related Issues (20)
- Reimport of SVG not showing text location changes HOT 6
- Paths stopped showing. Log file? HOT 3
- Not Working? HOT 1
- Message: N items successfully imported HOT 2
- Syntax Error: Unexpected token import. HOT 8
- Parsing-Error on Numbers with multiple decimal points HOT 1
- custom pad shape HOT 3
- error when loading extension HOT 4
- Extension not appearing in Browser mode HOT 3
- No path-Tags found
- svg as board cutout border outline(purple line) HOT 1
- No path-Tags found (Add more supported tags) HOT 2
- Incorrect handling of S/s command HOT 2
- When importing SVG onto bottom silk later it doesn't flip it HOT 2
- <FR> Import multiple layers using label tags HOT 1
- SVG from Adobe Illustrator won't import at correct size HOT 6
- Sample SVG that is bad rendered HOT 2
- Use 'createShape' API instead of editing project source HOT 1
- Use 'pointArr' of solid region for tracks with curves HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyeda-svg-import.