Comments (4)
Wow, that's one well documented issueโthanks for that! ๐๐ป
Off the top of my head, I don't have a direct hypothesis to explain why this happens. I suggest we investigate this more using the vpype viewer. I'm assuming you have various SVG files corresponding to the various trials. Let's overlay one over the other on the vpype viewer and see what happens there. This could be done as follows:
vpype read --layer 1 file_v0.svg read --layer 2 file_v2.svg color --layer 1 blue color --layer 2 red show
This loads both files in layer 1, respectively 2, and colors them differently.
In the viewer's menu, choose "Outline Mode" and "Show Points". That way, we can inspect how well both files overlap geometrically.
Also, I'm happy to take a look myself if you are will to share the files (ideally the original file, which I assume has actually SVG circles/arc(?) and the various test versions you produced.
from vpype.
Thank you for the prompt response. I'll follow your recommendation to overlay the different versions. As of now, the half circle does not overlap in the test files I used. I plan to overlap them later and will send an update. In the meantime, here are the test files I've used:
https://www.dropbox.com/t/Tb2qoce6UIKjeimY
from vpype.
I followed on your recommendation and conducted a test of overlapping an SVG file that was flipped with one that wasn't flipped and to display them in the viewer, and the results were surprisingly accurate. I also have checked the files in Inkscape and everything was perfectly aligned.
So I conducted another test to check if the issue could come from Vpype-gcode by merging two Gcode files (one with flip, one without) into the same document and viewed them in various Gcode viewers. It appears that they have a perfect match.
To check if the issues could be finally be related to my plotter, I plotted the merged Gcode file twice, once with a fine liner and the other time with a parallel pen. Surprisingly, the problem only occurred with the parallel pen. It may be due to some play in the pen itself, I will need to investigate further and try with different pen, but It's safe to conclude that the issue is not related to Vpype and you can close the issue.
I apologize for having incriminated to Vpype in, the first place :-). Thanks for your help on this and for making this great piece of software.
from vpype.
Again, some thorough follow-up ๐๐ป I'm glad vpype isn't too broken, but I wished we'd figure that one out.
I'm shooting a bit in the dark here, but maybe there is some weird interaction in with the plotter controller which could be affected by vertex density. It might be interesting to run a few test with various values of read -q XXX input.svg
, which will yield a greater/lesser point density.
from vpype.
Related Issues (20)
- 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) HOT 1
- 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
- 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
- Examples in `lreverse`'help are wrong
- Add support for various stroke font format
- Remove mentions of `--page-size` in `layout` help
- Extra layer when running two read/writes within one pipeline HOT 1
- Color overwritten using dipping pattern recipe
- Request: linemerge option to only merge when turn angle is small HOT 1
- Is there a way to tostring() a Document? HOT 1
- Simplification fails in my installation (vpype read -s <svg_file>) HOT 1
- VirusTotal
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.