QCAD Bugtracker

  • Status Assigned
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category QCAD (main)
  • Assigned To
    Andrew
    V. Oth
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.0.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 2
  • Private
Attached to Project: QCAD Bugtracker
Opened by Christian Aigner - 18.02.2013

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

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.

Anonymous Submitter commented on 18.02.2013 12:41

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

Christian Aigner commented on 18.02.2013 12:45

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.

Anonymous Submitter commented on 18.02.2013 14:12

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

Christian Aigner commented on 18.02.2013 14:50

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.

Anonymous Submitter commented on 18.02.2013 15:05

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.

Christian Aigner commented on 18.02.2013 17:54

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.

Anonymous Submitter commented on 18.02.2013 18:58

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.

Christian Aigner commented on 20.02.2013 07:49

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.

CVH commented on 14.05.2018 10:28

3.20.1
Colinear line segments are joined after create polyline form selected.
Even if there are reversed ones in between.
So Create, Explode will do the trick.

The same is true for arcs.

BUT
What is straigth or Colinear or similar for arcs.
I don't know how punctual QCAD is.
I know if I draw a bunch of arcs with the same center and starting from the former endpoint not all will be joined. Many will.
This is an accuracy issue.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing