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

Incorrect orientation points #9

Open
jazzynico opened this issue Apr 18, 2017 · 5 comments
Open

Incorrect orientation points #9

jazzynico opened this issue Apr 18, 2017 · 5 comments

Comments

@jazzynico
Copy link

Issue first reported in the Inkscape bug tracker (https://bugs.launchpad.net/gcodetools/+bug/1680760).
For your information Inkscape 0.92 uses Gcodetools v1.7.

Hi, I have been using inkscape for a long time to generate G code for home milling, and it has always been great, but I installed the new version of Inkscape, and when I generate the code, it comes out much smaller than I originally drew it, This is because the second targeting point, which should dial 100mm, does it in a very different position, attached screenshot with the error, I have tried to reinstall both the 32-bit version and the 64-bit version, both fail, I have tested it on two different PC's in case there was any failure in old files.

I'm a little desperate because I can not generate any code or find the workaround. I've tried moving the orientation point by hand, but generating the code tells me that it does not exist and re-creates it in the same wrong place.

@GuyVerachtert
Copy link

Same problem here !

the scale of my document is set correctly (A4 size document), but the 2nd Orientation point is outside of the page....
Did you manage to solve this ?

Kind regards, Guy
orientation_points

@m0n5t3r
Copy link

m0n5t3r commented May 24, 2017

I fix the orientation points manually: double click to enter the group, select the subgroup that is supposed to be at 100, change X coordinate to 100 (effectively moving it to 100mm)

@wheelthru
Copy link

m0n5ter: Thanks so much for this workaround! I tried narrowing the orientation points box and snapping the point of the right hand arrow to a guide I'd put at 100mm, but your method of forcing the subgroup to x=100mm is even easier. Now I can continue to use the cool new features in 0.92!

@equihuam
Copy link

Thank you very much for the development of GCodeTools. I Like it very much and find it very useful for my little CNC. With the installation of version 0.92 of Inkscape I was suffering the mysterious displacement of orientation points but finally, this is what I did and with it, the drawings are showing right for me and the GCode is coming out with the specified dimensions. I am referring in my case to Inkscape installation of ver. 0.92.2 (windows x64):

  1. In the gcodetools.py file (in: "Inkscape\share\extensions" directory in Windows), at lines 5859 (case of units in mm) & 5863 (case of units in inches) I did the following changes:
line Has Change to**
5859 orientation_scale = 3.5433070660 orientation_scale = 1
5863 orientation_scale = 90 orientation_scale = 25.4

That was it!

Then, I also noticed that:

  1. The page template should specify the viewbox in mm, otherwise, the arrow points are of any size (huge in my case) and any place. The line in the template should look like this (for a landscape letter size page):

viewBox="0 0 279.4 215.9"

In any case, I noticed that all that I have to take care of in the document properties window, is that the scale should be 1.0 if display units are mm and 25.4 if set to inches.

With this fixes, I am again up and running, but perhaps a more thorough check of what is going on with this issue in ver. 0.92 is needed, so please have a look at it.

@Moini
Copy link

Moini commented Feb 11, 2018

A user at inkscapecommunity.com has published a fix, which has now been included into the development versions for Inkscape 0.92.3 and 0.93.

More info at: https://gitlab.com/inkscape/inkscape/merge_requests/196

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

No branches or pull requests

6 participants