QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

FS#767 - Merging/Combining segments of a straight line into one

Attached to Project: QCAD
Opened by Christian Aigner (caigner) - Monday, 18 February 2013, 13:12 GMT+2
Task Type Feature Request
Category Main
Status Assigned
Assigned To Andrew (andrew)
V. Oth (0xdeadbeef)
Operating System All
Severity Low
Priority Normal
Reported Version 3.0.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No

Details

Sometimes you end up with a straight line which is broken/split into several parts. It would be great to have a tool to merge/combine these segments into one.

That would be the opposite/complementary tool to the “Split Entities” tool.

This task depends upon

Comment by -- (clive) - Monday, 18 February 2013, 13:41 GMT+2

Isn't this achievable with the Draw Polyline > Create from segments tool?

Comment by Christian Aigner (caigner) - Monday, 18 February 2013, 13:45 GMT+2

Not really.

Consider a rectangle where all sides consist of split straight lines. If you use the "Draw Polyline > Create from segments tool", you end up with one rectangle where all four sides are members of this block.

I suggest a tool, where you can select the entities you want to be merged.

Comment by -- (clive) - Monday, 18 February 2013, 15:12 GMT+2

Maybe an option in the Draw Polyline - 'Create from segments' tool to choose/identify the segments to convert into a continuous polyline?

Comment by Christian Aigner (caigner) - Monday, 18 February 2013, 15:50 GMT+2

If you create a polyline from two straight line segments, you get a straight line with a point in between. That's not the result I am thinking of.
Therefore the Polyline menu seems to me not the right place for this.

Comment by -- (clive) - Monday, 18 February 2013, 16:05 GMT+2

To clarify, I understand completely what you are saying here and currently in QCAD 3 we have this option (Polyline > Create from segments) to use and a further option could be added to identify/choose which segments to convert into a polyline.There is currently also the option to delete nodes within a polyline.

Please explain the benefit of introducing a new tool to merge/combine line segments into a continuous line. To my understanding merging/combining individual line segments into a continuous line is creating a Polyline/string line. Unless I`m missing something here.

Comment by Christian Aigner (caigner) - Monday, 18 February 2013, 18:54 GMT+2

If you merge three segments into one line, you end up with one entity which has two points (at the start and the end).

If you create a polyline from three segments, you greate a chain of segments, which has four points.

Yes, they are both straight lines. But because of the difference in points they behave differently, for instance when stretched.

I give you an example (Image 1):
Here we have a straight line composed of four individual segments, which were then turned into a polyline. To the right is a normal straight line.

Now, we try to stretch them. (Image 2)

The result is shown in Image 3; Now it should become clear why having this kind of tool will make sense.

Comment by -- (clive) - Monday, 18 February 2013, 19:58 GMT+2

Yes agreed, with your example this is true but as I have already stated you can delete the nodes within a polyline - then using your example the results will be the same.

Comment by Christian Aigner (caigner) - Wednesday, 20 February 2013, 08:49 GMT+2

Right now, when I want to convert a segmented straight line into one continuous line, I have to first create a polyline from the segments, then remove the nodes. Ok.

But when you are in the middle of a complex drawing, it is not easy to create a polyline, because I cannot select the single segments I want to be part of the polyline. The tool "Create polyline from segments" just grabs any adjacent line segments.
So at the moment deleting all the segments and replacing them with one straight line is the only option I have. My proposal should make that process a bit more userfriendly.

Loading...