OMICRONEnergy / oscd-designer

Apache License 2.0
3 stars 5 forks source link

Add CAP, LTC, RES, REA, CAB, LIN #46

Closed ca-d closed 11 months ago

danyill commented 12 months ago

If it seems good, I will create a PR with icons for additional conducting equipments that we would like/require.

May also add MOT, SAR, GEN and SMC if time allows.

danyill commented 12 months ago

A small problem presents itself. When the symbol is non-symmetrical and has a "normal" orientation for particular elements inside these, we need to counter-rotate these.

For example, generators and motors are commonly symbolised with the letter inside a circle.

image

ca-d commented 11 months ago

Thanks for your work on this!

As discussed, I'd suggest we split the encircled symbols up into the circle (in the background, gets rotated visually) and the symbol proper (in the foreground, is never rotated). Thus we end up with two separate SVG paths per icon, or in Lit parlance, two separate TemplateResult<2>.