Closed GordonGuenther closed 4 years ago
The issue seems to be even bigger, than i thought.
When i leave my objects within the <devs>
section and define the transformation there, the svg will be rendered correctly in the preview of the working area, but the objects will be omitted on the cutting. So it seems to me that <use>
tags are also not supported by the slicing process correctly.
My log file contains the following lines:
2018-09-12 08:01:34,988 - octoprint.plugins.mrbeam.converter - WARNING - ignoring not supported tag: {http://www.w3.org/2000/svg}use
2018-09-12 08:01:34,998 - octoprint.plugins.mrbeam.converter - INFO - ignoring tag: {http://www.w3.org/2000/svg}defs
Dear Gordon, thanks for reporting this. I assume it is a duplicate of https://github.com/mrbeam/MrBeamPlugin/pull/330 There is already a fix, waiting to be published in an upcoming software update.
Hi,
I've struggle with some strange behaviour of transformations in
<use>
tags in the webfrontend of my mr.beam 2. The display works in the design library but as soon as i put my svg into the working area the transformations get messed up. Apparently the values of translations will be interpreted as millimeters instead of pixels, which is wrong if a viewBox is set.Here is a stripped down svg example:
Because of the used viewBox (1mm equals 10px) the translations are 10 times as big as they should be in the working area. Strangely everything works as expected if i use the paths directly with the same transformations. The svg will work:
I don't know if this issue only affects
<use>
and if it'is specific to the mr. beam or a general octoprint problem.If you need more information or screenshots just let me know.
Regards Gordon