upb-lea / Inkscape_electric_Symbols

Electrical symbol library for the vector graphics program Inkscape.
Creative Commons Zero v1.0 Universal
340 stars 51 forks source link

Make the drawings proper "symbols" #9

Closed KronosTheLate closed 1 year ago

KronosTheLate commented 1 year ago

If I open up "Inkscape_Symbols_All" and open the symbols dialog with Ctrl+shift+y, there are no symbols in the current document. However, I can add them with the button in the bottom left of the dialog. image

If I do this, and place the file under "home/username/.config/inkscape/symbols", I can then find the file in the symbols menu, and add all the symbols from there, without having copies of all symbols floating around, cluttering my document! image

So it would be really nice to get all the symbols registered as proper symbols this way, preferably with and without labels. And then typical usage would be to place the file in a file location where inkscape looks for symbols, and to use this menu instead of manually copying the wanted symbols.

KronosTheLate commented 1 year ago

An example that I am currently using with some of the most basic things added as symbols can be found in this file on my drive.

Note that the current symbol names are without title. One could add titles, which would make them searchable!

KronosTheLate commented 1 year ago

Note - it seems like this messed with some other nice properties. For example, I can not edit nodes anymore. I am not sure if that is solvable...

gituser789 commented 1 year ago

Hi, can you check this for symbols including markers (arrows), e.g. potentiometer and MOSFET symbol. In the past, we had some problems with this, so we decided not to make the drawings to symbols.

gituser789 commented 1 year ago

closed due to the mentionend problems and no answer from @KronosTheLate

KronosTheLate commented 1 year ago

Sorry about no answer. But yes, the inability to edit the nodes of symbols makes it a bad idea to turn everything into synbols.

gituser789 commented 1 year ago

I just tested again the problems using symbols with markers mentioned above and it seems to work in latest inkscape 1.2.2. So this seems to be fine now.

There is still the issue with the inability to edit symbols, yes.

What do you think about providing both: the template with editable symbols and symbols in the official inkscape symbol section. So the user can decide what he/she whats to use.

KronosTheLate commented 1 year ago

There is not much downside to providing the options, so I am very much in favour of that ^_^ Also, un-editable nodes is sometimes not a problem, when just drawing bezier curves between components.

gituser789 commented 1 year ago

Added some symbols to the inkscape symbols bar. They are searchable (see screenshots). Can you have a look and give some feedback?

image image image image

KronosTheLate commented 1 year ago

That looks great. Hower, I have left my computer behind for the summer, and will not return until september. And I would need that for conveniently testimg. So you will have to a) move on without my input, or b) wait until then. Sorry about any inconvenience.

gituser789 commented 1 year ago

The symbols are already pushed to the master-branch. Nearly all single symbols (except whole schematics like a full LLC-converter and some minor symbols) are available and it is usable from now on.

You can give you feedback once you are back :)

KronosTheLate commented 1 year ago

Awesome! Thanks. Knowing myself I will probably remember this the next time i need the symbols, and nobody known when that is. But at some point I will probably check it out again, and try it ^_^

gituser789 commented 11 months ago

making the symbols to real-inkscape-symbols has some disadvantages in editing them later on. To edit a symbol, one needs to take them out of the symbols, edit the device (and name it again?) and bring it back to symbols.

I will test this for another while

gituser789 commented 8 months ago

Any feedback so far? :)