Save as HPGL no longer respecting "pen" layer names
Steps to reproduce:
- install Inkscape 1.0 and update all extensions to current Gitlab version
- open Inkscape
- Create a multi-layer design and label the layers "pen1" "pen2" ... etc as explained in the extensions-export-plot for creating multi pen plots
- save file as .hpgl
What happened?
The saved file does not contain the commands for pen changes other that the initial ;SP1 and final ;SP0 that are used to pick up the first pen and at the start and to clear the pen and the end of the plot
What should have happened?
There should be ;SP... commands for each layer named with a pen number.
Inkscape Version and Operating System:
- Inkscape Version: ... Inkscape 1.0 (4035a4fb49, 2020-05-01)
- AND the latest extension package from GitLab !
- Operating System: … Windows 10
- Operating System version: … 2004
Example file:
This is what is currently produced: ( note only ;SP1 at the start and ;SP0 at the end )
IN;VS77;PU;SP1;PU3124,1591;PD3124,3479,4835,3479,4835,1591,3124,1591;PU3069,4471;PD3069,6359,4779,6359,4779,4471,3069,4471;PU5575,1676;PD5575,3564,7286,3564,7286,1676,5575,1676;PU5575,4562;PD5575,6451,7286,6451,7286,4562,5575,4562;SP0;PU0,0;IN;
This is what should be produced (note the ;SP1 ;SP2 ;SP3; SP4) corresponding to the layer names "pen1" , "pen2", "pen3", "pen4"
IN;VS77;PU;SP1;PU3124,1591;PD3124,3479,4835,3479,4835,1591,3124,1591;PU;SP2;PU3069,4471;PD3069,6359,4779,6359,4779,4471,3069,4471;PU;SP3;PU5575,1676;PD5575,3564,7286,3564,7286,1676,5575,1676;PU;SP4;PU5575,4562;PD5575,6451,7286,6451,7286,4562,5575,4562;SP0;PU0,0;IN;
To Note:
When using the extension package that comes pre-installed with Inkscape 1.0 the export to .hpgl function works perfectly. This is only an issue with the latest extension package from Gitlab installed