Extensiones no respetan tamaño en GCode

Asked by JuanJo

Alguien sabría decirme porque las extensiones como GCode Tools, y con alguna mas, no respeta el tamaño.
Es decir, hago un cuadrado de 50x50 mm y en el GCode resultante se queda en 15 mm.

En una maquina con Windows 7 32 bits he tenido que volver a la versión 0.91.
En Ubuntu 14.04 y un portaitl con windows XP, lo dos con la version 0.92, me hace lo mismo no respeta el tamaño.

Saludos y gracias.

Question information

Language:
Spanish Edit question
Status:
Expired
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hachmann (marenhachmann) said :
#1

Juan, can you try if it works when you use a px based template (File -> new from template...)?

Revision history for this message
JuanJo (blackbit) said :
#2

Absolutamente todo esta configura en mm
Solicite ayuda en un foro de maquinas CNC.
Este es el enlace por si quieres verlo.

http://foro.cnccontrolapp.com/index.php?topic=1541.0

Gracias de antemano.

Revision history for this message
Hachmann (marenhachmann) said :
#3

How can I access the png images? In the forum, they are not displayed for me.

I think this may be an issue with the unit change from 0.91 to 0.92, and possibly with comma vs. decimal point issues...

What you could try is this:

- open a new empty px based document from template in 0.92.1
- copy-paste the objects from the other document
- in the selection tool tool control bar, switch the unit that is used to display sizes to mm
- resize your objects
- export to GCode

This could circumvent some of the known issues, but I'm not sure it will work, it's just a test.

Kind Regards,
 Maren

Revision history for this message
JuanJo (blackbit) said :
#4

Okay, I'll try.
And sorry, in the forum only members can see the images.

Revision history for this message
JuanJo (blackbit) said :
#5

Nada. ni importando, ni copiando y pegando, el resultado sigue teniendo menos de la mitad
del tamaño.

Tengo una pregunta. Ademas desintalar la aplicación, borrar las carpetas de
/home/(usuario)/.config/inkscape
y
/usr/share/inkscape

Existe alguna otra que deba eliminar ?

Gracias.

Revision history for this message
JuanJo (blackbit) said :
#6
Revision history for this message
Hachmann (marenhachmann) said :
#7

Aha, you're using an extension that isn't shipped with Inkscape for saving to GGode. Have you tried using the GCodetools that come with Inkscape?

Also really try to change the unit to px. It could make a difference.
(although 'less than half the size' really sounds very strange)

Can you share an SVG file and a GCode file, perhaps?

Are you using the latest version of the extension (available from https://github.com/A-Metaphysical-Drama/J-Tech-Photonics-Laser-Tool/commits/master) ?

There is also a section for reporting bugs to the author of the extension on github: https://github.com/A-Metaphysical-Drama/J-Tech-Photonics-Laser-Tool/issues

Hope any of these hints help,
 Kind Regards,
 Maren

Revision history for this message
JuanJo (blackbit) said :
#8

Te comento...

He subido a DropBox el fichero svg y el gcode.
https://www.dropbox.com/sh/ehq48g2cbzs42mz/AABXqkuUMEMiwQZIIgCf-tRka?dl=0

He descargado la extensión de github y la probaré en el pc con linux ubuntu.

Comentar que utilzando las GCodeTools que tiene InkScape, el resultado es el mismo
y que no soy el único usuario al que le ocurre, lo que me hace pensar que no es un
problema de extensiones.

Muchas gracias por tu dedicación.

PD.
Te recuerdo que en un windows 7 tras varios intentos lo consegui solucionar con la
versión 0.91 y que las extensiones usadas en ambos sistemas son las mismas.

Saludos.

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Hachmann (marenhachmann) said :
#10

Can you try with this document, JuanJo:

https://framadrop.org/r/zys4bjLiPj#oubbCyEj6ewgIbt3y9pAclBLH0LWb6An6hb7bLuk0BM=

(what I did:
File -> New from Template -> Default px
Select devil in old file, Ctrl+C
Paste devil in place into new file with Ctrl+Alt+V)

Revision history for this message
JuanJo (blackbit) said :
#11

Perfecto, con tu fichero va perfecto.
Pero he de decirte que he tenido que formatear el sistema,
y ahora con los templates originales he realizado la misma
prueba que tu y tambien va perfecto.

Entiendo que lo que debo hacer es preparar de nuevo mis
templates partiendo de los nuevos, importar los diseños
anteriores y sobreescribirlos ?

Muchisimas gracias

Revision history for this message
Hachmann (marenhachmann) said :
#12

As we now know that it is the px document unit, can you try this:
File -> Document properties -> Default unit: px

If this is not enough, do:
File -> Document properties -> Scale: copy the value to clipboard, then set to 1
Ctrl+Alt+A (select all objects in all layers)
Lock width/height ratio with the lock in the selection tools tool.
Behind the value for width of the selection, enter /
Then enter the copied value from the scale field.
Then hit the Enter key.
This will resize all objects back to their previous size.
Now you may need to move them back to their original position.

Let me know how it goes, JuanJo.

Revision history for this message
JuanJo (blackbit) said :
#13

Hola Hachmann,

El próximo mes no voy a disponer de mucho tiempo, pero en cuanto haga mas pruebas
te avisaré.

De todos modos pienso, si es posible, cambiar el estado de este "hilo" a solucionado.

Eternamente agradecido, un cordial saludo.

Revision history for this message
Hachmann (marenhachmann) said :
#14

I'm not sure it's possible to mark an expired thread as 'solved'. I've been a bit too slow in answering :)

I hope you'll be making some nice things with Inkscape!

Revision history for this message
maucor2 (maucor2) said :
#15

Hola la forma en la que lo logre corregir fue seleccionando segundo punto de referencia y la flechita (el que dice 100:00:00...) y lo arrastre hasta la posicion X:100 Y:00 del dibujo y ya esa fue la solución!! Suerte!!

Hello! the way that I found, was to select the second point (100;00;000...) with shit+ctrl to select also the arrow and send it to X:100 and Y:0 of the draw, that solve the problem/