Re: Precisely select symbols taken from component library

Christian Kral via Ipe-discuss <ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]> Sat, 13 Apr 2019 22:58:53 +0200
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------3FBD18E95F0887ED5FC7ED3D
Content-Type: multipart/alternative;
 boundary="------------49D3912143BFBDAFD8746AB9"


--------------49D3912143BFBDAFD8746AB9
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 10/04/2019 10.53, Otfried Cheong via Ipe-discuss wrote:
> So far, Ipe symbols are used for a limited number of use cases:
>
> - marks
> - arrows (and this is handled entirely internally by Ipe)
> - page backgrounds that you want to appear on each page
>
> There are a few people who have created libraries of Ipe shapes, but th=
ey rather organized them in one or several Ipe documents and copy them in=
to their current document when needed instead of using them as symbols fr=
om the style sheet.
>
> Is it worthwhile making this more usable?
>
> Currently, the simplified drawing makes it impossible to distinguish di=
fferent symbols during the selection process.  One obvious way to fix thi=
s would be to draw symbols fully when they are selected (like e.g. groups=
).   I would make this optional, because for mark symbols you really want=
 to know the location, not the shape of the symbol.

Sounds like a great option to me. Having implemented the symbol drawn
when selected, would already allow a very smooth workflow.

> Another improvement would be to allow a symbol to carry a list of snap =
locations - so snapping to a symbol would not only snap to the reference =
location, but also to any of the listed snap locations.   This would allo=
w you to attach wires on both sides of a resistor, etc.
>
> Otfried

This sounds like the next generation of option to me and I do like the
idea a lot. It will allow to create symbols with connectors which adds a
lot of flexibility to the design of electrical circuits and lots of
other applications.

Christian

>
> On Mon, Apr 8, 2019, at 22:09, Christian Kral via Ipe-discuss wrote:
>> Thanks for the hint. If the entire component were highlighted in=20
>> addition to the reference point, your suggestion were the exact right =

>> procedure for me.=20
>>
>>  In the proposed example three reference points are located on the ver=
y=20
>> same place -- indicated by the red cross. So hitting space after=20
>> selecting the intersection point, I cannot distinguish which of the=20
>> three components is selected, as only the reference points are=20
>> highlighted.=20
>>
>>
>>
>>
>>
>>
>>
>> On 08/04/2019 06.34, Michael GENG wrote:
>>> Hold the mouse selection, then tap space bar. keep tapping to shuffle=
 all the components close by.=20
>>>
>>>
>>>  On Apr 7, 2019, at 01:31, Christian Kral via Ipe-discuss <ipe-discus=
[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>>  I created an electrical engineering component library in  https://g=
ithub.com/christiankral/ElectricalEngineering.isy to simplify the creatin=
g of electrical circuits. After developing some components I was running =
into troubles selecting symbols. As an example, please consider three sym=
bols (two resistors, one disk marker) with the reference points show on t=
he left in pic below; this example is available at  https://gist.github.c=
om/christiankral/134b9feb5603f159c6532039c7bcc0dd.
>>>>
>>>>  <55567406-e3331080-56fd-11e9-807f-78fc94b1eb53.png>
>>>>
>>>> If I assemble the symbols to a circuit the three indicated reference=
 points will end up on the very same location. My question is how a user =
can select one of the three symbols systematically, e.g., to move the ver=
tical resistor...
>>>> However, one could say the design of the components is in a way "wro=
ng" as all components shall rather have their reference points in the com=
ponent center. So for the resistor the reference point could be moved fro=
m one line end to the center of the symbol -- this were a possible soluti=
on.=20
>>>> Can anyone share his experience or make some comments on this topic.=

>>>> Thanks,
>>>>  Christian=20
>>>> _______________________________________________
>>>> Ipe-discuss mailing list
>>>> Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
>>>> https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss
>> _______________________________________________
>> Ipe-discuss mailing list
>> Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
>> https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss
>>
>> Attachments:
>> * fkkgdjnkebfedlce.png
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
> https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss


--------------49D3912143BFBDAFD8746AB9
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    On 10/04/2019 10.53, Otfried Cheong via Ipe-discuss wrote:<br>
    <blockquote type=3D"cite"
      cite=3D"mid:828ef66b-b163-4d49-a3af-9d2b5a2312e0-jFIJ+Wc5/Vo7lZ9V/[email protected]">=

      <pre class=3D"moz-quote-pre" wrap=3D"">So far, Ipe symbols are used=
 for a limited number of use cases:

- marks
- arrows (and this is handled entirely internally by Ipe)
- page backgrounds that you want to appear on each page

There are a few people who have created libraries of Ipe shapes, but they=
 rather organized them in one or several Ipe documents and copy them into=
 their current document when needed instead of using them as symbols from=
 the style sheet.

Is it worthwhile making this more usable?

Currently, the simplified drawing makes it impossible to distinguish diff=
erent symbols during the selection process.  One obvious way to fix this =
would be to draw symbols fully when they are selected (like e.g. groups).=
   I would make this optional, because for mark symbols you really want t=
o know the location, not the shape of the symbol.</pre>
    </blockquote>
    <br>
    Sounds like a great option to me. Having implemented the symbol
    drawn when selected, would already allow a very smooth workflow. <br>=

    <br>
    <blockquote type=3D"cite"
      cite=3D"mid:828ef66b-b163-4d49-a3af-9d2b5a2312e0-jFIJ+Wc5/Vo7lZ9V/[email protected]">=

      <pre class=3D"moz-quote-pre" wrap=3D"">Another improvement would be=
 to allow a symbol to carry a list of snap locations - so snapping to a s=
ymbol would not only snap to the reference location, but also to any of t=
he listed snap locations.   This would allow you to attach wires on both =
sides of a resistor, etc.

Otfried
</pre>
    </blockquote>
    <br>
    This sounds like the next generation of option to me and I do like
    the idea a lot. It will allow to create symbols with connectors
    which adds a lot of flexibility to the design of electrical circuits
    and lots of other applications. <br>
    <br>
    Christian<br>
    <br>
    <blockquote type=3D"cite"
      cite=3D"mid:828ef66b-b163-4d49-a3af-9d2b5a2312e0-jFIJ+Wc5/Vo7lZ9V/[email protected]">=

      <pre class=3D"moz-quote-pre" wrap=3D"">

On Mon, Apr 8, 2019, at 22:09, Christian Kral via Ipe-discuss wrote:
</pre>
      <blockquote type=3D"cite">
        <pre class=3D"moz-quote-pre" wrap=3D"">Thanks for the hint. If th=
e entire component were highlighted in=20
addition to the reference point, your suggestion were the exact right=20
procedure for me.=20

 In the proposed example three reference points are located on the very=20
same place -- indicated by the red cross. So hitting space after=20
selecting the intersection point, I cannot distinguish which of the=20
three components is selected, as only the reference points are=20
highlighted.=20







On 08/04/2019 06.34, Michael GENG wrote:
</pre>
        <blockquote type=3D"cite">
          <pre class=3D"moz-quote-pre" wrap=3D"">Hold the mouse selection=
, then tap space bar. keep tapping to shuffle all the components close by=
=2E=20


 On Apr 7, 2019, at 01:31, Christian Kral via Ipe-discuss <a class=3D"moz=
-txt-link-rfc2396E" href=3D"mailto:ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]">&lt;i=
pe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]&gt;</a> wrote:

</pre>
          <blockquote type=3D"cite">
            <pre class=3D"moz-quote-pre" wrap=3D"">Hi,

 I created an electrical engineering component library in  <a class=3D"mo=
z-txt-link-freetext" href=3D"https://github.com/christiankral/ElectricalE=
ngineering.isy">https://github.com/christiankral/ElectricalEngineering.is=
y</a> to simplify the creating of electrical circuits. After developing s=
ome components I was running into troubles selecting symbols. As an examp=
le, please consider three symbols (two resistors, one disk marker) with t=
he reference points show on the left in pic below; this example is availa=
ble at  <a class=3D"moz-txt-link-freetext" href=3D"https://gist.github.co=
m/christiankral/134b9feb5603f159c6532039c7bcc0dd">https://gist.github.com=
/christiankral/134b9feb5603f159c6532039c7bcc0dd</a>.

 &lt;55567406-e3331080-56fd-11e9-807f-78fc94b1eb53.png&gt;

If I assemble the symbols to a circuit the three indicated reference poin=
ts will end up on the very same location. My question is how a user can s=
elect one of the three symbols systematically, e.g., to move the vertical=
 resistor...
</pre>
          </blockquote>
        </blockquote>
        <pre class=3D"moz-quote-pre" wrap=3D"">
</pre>
        <blockquote type=3D"cite">
          <blockquote type=3D"cite">
            <pre class=3D"moz-quote-pre" wrap=3D"">However, one could say=
 the design of the components is in a way "wrong" as all components shall=
 rather have their reference points in the component center. So for the r=
esistor the reference point could be moved from one line end to the cente=
r of the symbol -- this were a possible solution.=20
</pre>
          </blockquote>
        </blockquote>
        <pre class=3D"moz-quote-pre" wrap=3D"">
</pre>
        <blockquote type=3D"cite">
          <blockquote type=3D"cite">
            <pre class=3D"moz-quote-pre" wrap=3D"">Can anyone share his e=
xperience or make some comments on this topic.
</pre>
          </blockquote>
        </blockquote>
        <pre class=3D"moz-quote-pre" wrap=3D"">
</pre>
        <blockquote type=3D"cite">
          <blockquote type=3D"cite">
            <pre class=3D"moz-quote-pre" wrap=3D"">Thanks,
 Christian=20
</pre>
          </blockquote>
        </blockquote>
        <pre class=3D"moz-quote-pre" wrap=3D"">
</pre>
        <blockquote type=3D"cite">
          <blockquote type=3D"cite">
            <pre class=3D"moz-quote-pre" wrap=3D"">______________________=
_________________________
Ipe-discuss mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]=
ience.uu.nl">Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://mailman.science.uu.nl/=
mailman/listinfo/ipe-discuss">https://mailman.science.uu.nl/mailman/listi=
nfo/ipe-discuss</a>
</pre>
          </blockquote>
        </blockquote>
        <pre class=3D"moz-quote-pre" wrap=3D"">
_______________________________________________
Ipe-discuss mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]=
ience.uu.nl">Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://mailman.science.uu.nl/=
mailman/listinfo/ipe-discuss">https://mailman.science.uu.nl/mailman/listi=
nfo/ipe-discuss</a>

Attachments:
* fkkgdjnkebfedlce.png
</pre>
      </blockquote>
      <pre class=3D"moz-quote-pre" wrap=3D"">____________________________=
___________________
Ipe-discuss mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]=
ience.uu.nl">Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://mailman.science.uu.nl/=
mailman/listinfo/ipe-discuss">https://mailman.science.uu.nl/mailman/listi=
nfo/ipe-discuss</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------49D3912143BFBDAFD8746AB9--

--------------3FBD18E95F0887ED5FC7ED3D
Content-Type: application/pgp-keys;
 name="pEpkey.asc"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="pEpkey.asc"

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQGNBFyxsy0BDADS3Ig+ji2jVeQfAUgtxVn6WRNx2NnQ6yB72Yh4DheO5aIdOlg+
dkkaIq/dY4dGSdsB2NaJZ42KVzdEibVfRRu3wRPlhLbqfCSY8ZUHWTONs1ixnI35
Vk13f7ecBnqAJXKzu50tESD+rfNEV7OGRRtWgX4XV3+q5ouH602WOPa0uQ0XW4FS
S/87qRgMx+fNjZ7RzP2fco6W9DqF9r/7qHWKU8jSa24zt5Yq9QYDWdZr/gbhB4bR
DDHHHsJua94njJ48yaKbfUvKZI6x/qiPrmnzPhRSG1m6vKaRBFY2i/SWo90h2cG/
T+nv/a1U6e4/556n8k6nXN8VQKNBX88ZmvDpGQOdfGZKtH5gusafgOIt4p3eqjeO
Qhu+SapnXQDWsMPDCcvDxy7ZBgxdnTuNWEKKym4sL5dM8rdy5F/bZucHGF6jv6n4
eosd5TSsf2/3vbDRQhCMYMBs46DQyoDIeKbmQtsxaPt9HINasWeO6ZDZx7sH7NOn
VBB5P9qMzQMeUM0AEQEAAbQsQ2hyaXN0aWFuIEtyYWwgPGRyLmNocmlzdGlhbi5r
cmFsQGdtYWlsLmNvbT6JAdQEEwEIAD4WIQSZyZKUi8oD8H+UnPgdWpGN9wvMtwUC
XLG0VgIbAwUJAeEzgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRAdWpGN9wvM
t3lK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QABiQG8BBgBCAAmFiEEmcmSlIvKA/B/lJz4HVqR
jfcLzLcFAlyxs1UCGwwFCQHhM4AACgkQHVqRjfcLzLdcLAv/Wn/dv6ESq79BY6t9
D9Z2fbvRN8Js9+ezeDb2gXR0+1dXIWQ2O2KIyobiVIC9Si7uV+1yDSBiGtzoqKfD
zzEyqe2rFugKHIePaK2o2RWfEeoRluiDQXN6TIVMS1CNuA5YxPH7Xeiron40/UBt
YzzZ4i/9gfTyzYC904RKo1V8fMnil0mA/PtFx4aoWmtmuF7nwOOKUs/cA2yJcuLi
V5N8z59vjkiQ1+peAQaH7SgIt+oOTGGh4vBZax5+kLoXvRLWC5pOAl5eP5FD+zud
ZmTqqTvdkOSmKdlpbQxqv9/YUIjdtbaPRtiYVt+D7x2Hu9M1ap1NKB/adb3iHanA
h351FYVSgsZH2QMQCQ/jtnIVsvsQrYCWSBwsWEBz+fuemy+Y0mLwmVeFIL1l1yYk
bYcoeUk9Q/EcWprsxxDmxMEZa0GmiYmxLgeW5+dv/w5ffeoS94KQ+DrIAI3gYLup
m6S6QdzywkJl80kovxisrfMcFvKR8PuqEqoFGAfBkcN1fR+o
=3Djrpj
-----END PGP PUBLIC KEY BLOCK-----

--------------3FBD18E95F0887ED5FC7ED3D
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ipe-discuss mailing list
Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss

--------------3FBD18E95F0887ED5FC7ED3D--