fsmMLK / inkscapeDimensions

Inkscape extension to assist creating dimension annotations.
GNU General Public License v3.0
65 stars 10 forks source link

Dimension arrow of the previously created disappears #5

Closed cnlinyuan closed 5 years ago

cnlinyuan commented 5 years ago

when I first created a linear linear, everything worked fine. But when I then create a linear dimensions, the dimension arrow of the previously created disappears. Can you fix this? Also, can the annotated arrows be the same as linear linears? Thanks Peek 2019-05-24 20-32

fsmMLK commented 5 years ago

I was not able to reproduce this error. Can you upload a svg file saved after the arrows disappeared?

cnlinyuan commented 5 years ago

OS: Manjaro 18.0.4 Illyria Kernel: x86_64 Linux 5.2.0-1-MANJARO Inkscape 0.92.4 5da689c313, 2019-01-14

This a svg file saved after the arrows disappeared. Thanks.

Test.svg.zip

fsmMLK commented 5 years ago

When I openned the file I was able to see both arrow correctly rendered. Can you see both dimension arrows when you reopen the file you sent me? It might be a rendering update issue in your machine.

There is one possible quick fix for your issue. Before I commit any changes to github try this: 1-) Open dimensions.py in a text editor and go to line 185-ish 2-) Change 'renameMode = 1' to 'renameMode = 2' 3-) save the file, reopen inkscape and test whether it works properly.

One caveat of this solution is that everytime you create a dimension line, a new marker will be created. I might add the option (overwrite marker definition / create a new one) to the plugin.

fsmMLK commented 5 years ago

Concerning the annotation arrow style, I am now working on it. I new version should be commited soon.

cnlinyuan commented 5 years ago

When I open the file, I only see one size arrow.I follow the method you gave, it works properly.Thank you very much for your help.Looking forward to the new version coming soon.