# [Ipe-discuss] Drawing a line to a middle of an object

Moshe Idan moshe.idan at technion.ac.il
Sun Oct 26 18:38:57 CET 2014

```Orfried,

Thanks for the prompt reply. Well, the circle thing was an additional example, but the real issue is the midpoint of segments. As for your query, I would opt for including the snapping to center when one turns on vertex snapping (why one more button, and the context is clear.) Said that, both options would work at least for me. I do hope this will be implemented soon ...

Thanks again,
Moshe

On 26-Oct-14 10:40, Otfried Cheong wrote:
>
> On 26/10/14 15:09, Moshe Idan wrote:
>> Hello, Mainly for drawing block diagrams, but also for other cases, I
>> would like to draw a line that goes to the middle of a boundary of,
>> e.g., a rectangular box or the middle of a line. Another case is
>> drawing a circle the center of which is the middle of a line or the
>> middle of one of the boundaries of a box. The snapping options
>> (vertex, boundary, intersection) don't help. Clearly if I use grid
>> and draw everything "symmetric" to that grid, I could find the middle
>> of lines. But what if I don't go with the grid, or if an object was
>> moved from the grid due to, e.g., alignment operations? To sum up, I
>> am looking for a way to find the middle of a boundary of a rectangle
>> or a line segment.
>
> Draw a circle by diameter, snapping to the endpoints of the segment.
> After that, you can snap to the center of the circle.
>
> On my to-do list is adding snapping to centers of segments.  The main
> question is whether this should be always on when vertex snapping is on
> (like the center of a circle), or if it should be an additional snapping
> mode (that is, we'd have vertex, boundary, midpoint, and intersection
> snapping).
>
> Cheers,
>    Otfried
>
>
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
>

```