Comments (2)
Here is a full example of when this would be useful:
raw.svg.txt
opt_basic.svg.txt
opt_split.svg.txt
(github doesn't allow uploading .svgs, hence the .txt extension)
raw is the very original svg - no sorting applied.
opt_basic is after linesorting the original svg with vpype (and some scaling etc)
opt_split is after splitting the original SVG paths into single-segment paths using svgsort, then linesorting with vpype.
The reason the original file has large multi-segment paths is that they are administrative streets from OSM, not straight subsegments. The third file is far more optimal, due to the fact that street segments have many more intersections with other street segments that full streets with full streets.
from vpype.
I'm looking at the files right now. May I ask the exact options you used when calling svgsort
before vpype
in the third case?
from vpype.
Related Issues (20)
- Request For Comment: Vpype2 - Next Gen Primitive HOT 8
- Help with Raspberry PI installation HOT 6
- `read`'s layer ID attribution doesn't appropriately handle well-formed inkscape layers in some cases HOT 2
- Default to QT_QPA_PLATFORM=xcb on Linux/Wayland HOT 1
- Request: Splitdist with overlapping segments HOT 3
- Can't install on macOS HOT 2
- PySide 6.4.2 has a refresh bug on macOS when the viewer window is resized by a windows manager
- Add support for Axidraw layer name syntax
- Add more filter options HOT 2
- reloop puts the seams where the points are rather than spreading them uniformly over the length of the closed path HOT 1
- `read` entirely discards file containing NaN
- Is there a way to use vpype to count the number of lines/paths in an svg file? HOT 1
- Pyside 6.5.0 breaking changes (Linux)
- Enhancement suggestion -- allow getting document width/height in non-pixel units HOT 2
- Change the layer ID interpretation to match EMSL standard HOT 1
- `--fit-to-margins` adds boarder around margin HOT 1
- Curved Line Spacing Problem HOT 4
- Allow for `layout` arg to maintain size of svg element
- Output error messages when using `execute` from vpype API HOT 4
- Cursive font glyphs are split in multiple strokes HOT 2
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 vpype.