Bug 154705 - Enhancement: Add Snap to Intersection
Summary: Enhancement: Add Snap to Intersection
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Snap
  Show dependency treegraph
 
Reported: 2023-04-07 20:37 UTC by Don Matschull
Modified: 2023-07-24 11:25 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Pattern for drawing 7 sided regular polygon by connecting intersections of lines with circle. (22.02 KB, image/svg+xml)
2023-04-07 20:37 UTC, Don Matschull
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Matschull 2023-04-07 20:37:14 UTC
Created attachment 186536 [details]
Pattern for drawing 7 sided regular polygon by connecting intersections of lines with circle.

It would be nice to be able to snap to an intersection of two lines. For example, the intersection of the circumference of a circle and a line running from the center of the circle to a point beyond the circle.
Comment 1 Stéphane Guillou (stragu) 2023-04-26 21:55:54 UTC
So your usecase would be to convert an ellipse to a polygon with nodes limited to where line objects intersect the ellipse?

I have not found a way to achieve the same, but seems like a pretty niche action.
Maybe limiting the enhancement request to "add nodes at segment intersections" is more realistic.

Related: https://ask.libreoffice.org/t/create-a-polygon-form-line-intersection-draw/8358

Or is you issue about converting _anything_ into Snap Guides, including ellipses and lines, instead of only having vertical and horizontal guides like currently?
Comment 2 Don Matschull 2023-04-27 02:20:12 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> So your usecase would be to convert an ellipse to a polygon with nodes
> limited to where line objects intersect the ellipse?
> 
> I have not found a way to achieve the same, but seems like a pretty niche
> action.
> Maybe limiting the enhancement request to "add nodes at segment
> intersections" is more realistic.
> 
> Related:
> https://ask.libreoffice.org/t/create-a-polygon-form-line-intersection-draw/
> 8358
> 
> Or is you issue about converting _anything_ into Snap Guides, including
> ellipses and lines, instead of only having vertical and horizontal guides
> like currently?

Line segments of a polyline already have nodes where they meet. Being able to add nodes where two separate objects cross would be a nice feature. Then, a snap to nodes rather than a more general snap to object border would be a great addition.
Comment 3 Don Matschull 2023-04-27 09:45:47 UTC
CorelDRAW provides a different method that helps to guide the placement of nodes or points when using a polyline or curve (Bezier) tool. Cues (similar to tool tips) appear to indicate when the mouse pointer is over an edge of another object, a node of another object, an intersection, or a quadrant.

This might be a better approach that trying to snap to intersection.
Comment 4 Heiko Tietze 2023-04-27 10:41:57 UTC
(In reply to Don Matschull from comment #0)
> It would be nice to be able to snap to an intersection of two lines.

The snap point is not an attribute of objects. How would the layer knows about lines or intersections?
Comment 5 Heiko Tietze 2023-07-24 11:25:16 UTC
Resolving since there is no response; similar request maybe in bug 147542