Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes the created path is dislocated #11

Open
unfa opened this issue Mar 20, 2017 · 6 comments
Open

Sometimes the created path is dislocated #11

unfa opened this issue Mar 20, 2017 · 6 comments
Assignees

Comments

@unfa
Copy link

unfa commented Mar 20, 2017

Sometimes when I trace an image with centerline-trace, the resulting path is created not in the same location as my source bitmap, but somewhere else, usually close tho the origin (0,0) of the page.

It seems to be pretty random, I wasn't able to find any pattern there yet.

PS: Thank you so much for this tool, it saves me a lot of work. I design shapes the are then CNC-milled in metal and casted with plastic to produce various promotional gadgets, centerline-trace allows me to easily prepare the shapes for milling.

@unfa unfa changed the title Sometimes the creted path is dislocated Sometimes the created path is dislocated Mar 20, 2017
@jnweiger
Copy link
Member

Please add an example bitmap where that errpr happens for you. Thanks.

@Moini
Copy link
Contributor

Moini commented Aug 1, 2017

Also, please add an example svg and tell us which Inkscape version you are using.
Is it 0.91, by any chance? Then the famous layer-transform issue could be a reason.

@jnweiger
Copy link
Member

jnweiger commented Jun 26, 2018

I had this with 0.92.3 recently during a workshop. but I was unable to save the graphics. Very strange. In my case it was as far left of the X-Axis as it should have been right of the x-axis. Maybe the path was even mirror imaged.

@jnweiger jnweiger self-assigned this Sep 4, 2018
@jnweiger
Copy link
Member

jnweiger commented Sep 4, 2018

inkscape-centerline-trace does not parse any scale, offset, or translation matrix of the image.
This asks for code.enhancement.

@Moini
Copy link
Contributor

Moini commented Sep 4, 2018

Imported pdfs could be a possible cause, they seem to mess with the coordinate system, in my experience.

@jnweiger
Copy link
Member

jnweiger commented Sep 4, 2018

Reproduce: import a PNG file, mirror <-> the file, then try inkscape-centerline-trace. The created path will be at negative x coordinates and mirrored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants