News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

How to Join Polylines Without Vertex

Started by minuteman64, August 10, 2024, 12:52:53 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

minuteman64

Using TC 2021 Deluxe.  See attached drawing.  I have three separate polylines (two in red and one in black) and wondering if I can join them.  The two in red I'd like to join at points along the black arc where there are no verticesYou cannot view this attachment. . The JoinPolyline function doesn't seem to like what I have.

I can work without doing the join, if necessary.  Just like to do it if possible.

Alvin Gregorio

Quote from: minuteman64 on August 10, 2024, 12:52:53 PMUsing TC 2021 Deluxe.  See attached drawing.  I have three separate polylines (two in red and one in black) and wondering if I can join them.  The two in red I'd like to join at points along the black arc where there are no verticesYou cannot view this attachment. . The JoinPolyline function doesn't seem to like what I have.

I can work without doing the join, if necessary.  Just like to do it if possible.
I have your Drawing open.
Why do you need those two portions of the Black arc to through the "tops" of the Red arcs?
Can you do it like this?

You cannot view this attachment.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

minuteman64

Quote from: Alvin Gregorio on August 10, 2024, 01:30:26 PM
Quote from: minuteman64 on August 10, 2024, 12:52:53 PMUsing TC 2021 Deluxe.  See attached drawing.  I have three separate polylines (two in red and one in black) and wondering if I can join them.  The two in red I'd like to join at points along the black arc where there are no verticesYou cannot view this attachment. . The JoinPolyline function doesn't seem to like what I have.

I can work without doing the join, if necessary.  Just like to do it if possible.
I have your Drawing open.
Why do you need those two portions of the Black arc to through the "tops" of the Red arcs?
Can you do it like this?

You cannot view this attachment.

The red portions are actually steps - one step down from black line which is perimeter of a slab.  I could fill in the arcs on the red portions, and make them discrete figures.  But then I'd like to join them to the black arc (perimeter of slab).

John R

I probably did it the same way as Alvin; Object Trim and Join Polyline. Too many nodes.  :o
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Alvin Gregorio

Quote from: minuteman64 on August 10, 2024, 02:17:21 PMBut then I'd like to join them to the black arc (perimeter of slab).
Why?
Where are you headed with this?

I ask that, because it seems you are going about this fundamentally wrong.  What are you ultimately wanting to achieve.

By the way-- Your initial request is not what Join Polyline is designed to do.  That's why you were having a tough time doing it.
Would just Group-ing the 3 Polylines serve your needs?

Provide us detail of what you are trying to accomplish, and we will steer you in the right direction.
___
And, as John said-- WAY too many nodes in that black Polyline.  I don't know how you ended up doing that.  Exploded something once or multiple times, is my guess.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

#5
Quote from: minuteman64 on August 10, 2024, 02:17:21 PMThe red portions are actually steps - one step down from black line which is perimeter of a slab.  I could fill in the arcs on the red portions, and make them discrete figures.  But then I'd like to join them to the black arc (perimeter of slab).
Does as shown in the attached image somewhat represent what you are ultimately wanting to achieve?

If the Reds are not to be "open" at the top, but you want them joined with the Black, I can't see what that will serve you moving forward, as the black is "open" at its top.

If you plan on making this 3D, then what you are asking makes sense.  You would 3D_Add the slab Extrude (after you have finished creating its Closed Polyline) with the steps' Extrude.  Like Gunite would be.

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

minuteman64

Quote from: Alvin Gregorio on August 10, 2024, 02:43:42 PM
Quote from: minuteman64 on August 10, 2024, 02:17:21 PMThe red portions are actually steps - one step down from black line which is perimeter of a slab.  I could fill in the arcs on the red portions, and make them discrete figures.  But then I'd like to join them to the black arc (perimeter of slab).
Does as shown in the attached image somewhat represent what you are ultimately wanting to achieve?

If the Reds are not to be "open" at the top, but you want them joined with the Black, I can't see what that will serve you moving forward, as the black is "open" at its top.



That depicts what I am trying to achieve.  Assuming it is all one "piece" so it can be moved as a unit.  The fall back would be to move the three pieces as a block.

The drawing is a portion of my back yard.  The black curve is the perimeter of a raised slab.  The red figures represent steps down from the slab.  Once I get this figured out I will be inserting the figure(s) into a plot plan drawing of my house and lot.

John R

Quote from: minuteman64 on August 10, 2024, 02:17:21 PMThe red portions are actually steps - one step down from black line which is perimeter of a slab.  I could fill in the arcs on the red portions, and make them discrete figures.  But then I'd like to join them to the black arc (perimeter of slab).

Before Join Polyline, I would Offset the red polyline 1 foot. Probably better off making the Offset a "Closed Polyline" (if Extruding), then make all of this into a Group.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Alvin Gregorio

Quote from: minuteman64 on August 10, 2024, 02:52:06 PMThat depicts what I am trying to achieve.  Assuming it is all one "piece" so it can be moved as a unit.  The fall back would be to move the three pieces as a block.

The drawing is a portion of my back yard.  The black curve is the perimeter of a raised slab.  The red figures represent steps down from the slab.  Once I get this figured out I will be inserting the figure(s) into a plot plan drawing of my house and lot.
Are you ultimately going to do something as shown in the attached?

Are you going to do 3D?  Or stay with 2D?

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Quote from: minuteman64 on August 10, 2024, 02:52:06 PMAssuming it is all one "piece" so it can be moved as a unit.  The fall back would be to move the three pieces as a block.
Okay.  Just use the Group command.  To make the 3 objects as 1.
Each still editable within the Group wrapper.

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

minuteman64

Quote from: Alvin Gregorio on August 10, 2024, 02:58:40 PM
Quote from: minuteman64 on August 10, 2024, 02:52:06 PMThat depicts what I am trying to achieve.  Assuming it is all one "piece" so it can be moved as a unit.  The fall back would be to move the three pieces as a block.

The drawing is a portion of my back yard.  The black curve is the perimeter of a raised slab.  The red figures represent steps down from the slab.  Once I get this figured out I will be inserting the figure(s) into a plot plan drawing of my house and lot.
Are you ultimately going to do something as shown in the attached?

That is a 3D depiction of what I am drawing.  However, since it will be in a plot plan it will stay as 2D.

Are you going to do 3D?  Or stay with 2D?



minuteman64

Quote from: Alvin Gregorio on August 10, 2024, 03:01:03 PM
Quote from: minuteman64 on August 10, 2024, 02:52:06 PMAssuming it is all one "piece" so it can be moved as a unit.  The fall back would be to move the three pieces as a block.
Okay.  Just use the Group command.  To make the 3 objects as 1.
Each still editable within the Group wrapper.



That is a 3D depiction of what I am drawing.  However, I should have made clear, I'm doing a 2D drawing.

Alvin Gregorio

#12
Quote from: minuteman64 on August 10, 2024, 03:12:20 PMThat is a 3D depiction of what I am drawing.  However, I should have made clear, I'm doing a 2D drawing.
Okay.  2D.  Good.
Then Group is what you want to do.  Since you want to move the 3 entities in unison, as 1.

As in the attached.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

minuteman64

Quote from: Alvin Gregorio on August 10, 2024, 02:35:24 PM___
And, as John said-- WAY too many nodes in that black Polyline.  I don't know how you ended up doing that.  Exploded something once or multiple times, is my guess.[/color]

The black polyline is actually a curve, drawn to fit a number of survey points (don't remember if I used Spline or Bezier).

murray dickinson


Alvin Gregorio

Quote from: minuteman64 on August 10, 2024, 06:05:36 PMThe black polyline is actually a curve, drawn to fit a number of survey points (don't remember if I used Spline or Bezier).
Check out the attached.

I cleaned it up some.  And made a Group of the Pool objects, and a Group of the deck-Slab & Steps objects.
>I made your deck-slab spline a Graphic in Design Director; then set it to not be Visible. (so that you still had it for reference)
>I inserted a new Spline for that deck-slab, Vertex-Snapping to your Points.

I should have changed the Draw Order of the Blue deck-slab Spline, to "Bring to Front", for this presentation (but just now noticed it).  I could also change the Order of that Layer to achieve the same thing, more permanently.  If one is printing to Black Only, for AHJ submittal, it wouldn't matter.

I'd do it like this or close to this, if I were getting paid for it.

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

#16
Quote from: minuteman64 on August 10, 2024, 06:05:36 PMThe black polyline is actually a curve, drawn to fit a number of survey points (don't remember if I used Spline or Bezier).


Quote from: murray dickinson on August 10, 2024, 06:34:52 PMProperties doesn't agree....

Art-- You probably Join Polyline the Splines, which made them MULTI-noded Polylines.
For smoothness and other reasons, we recommend avoiding that.

You might be wondering, "how did he apply a Brush pattern to the pool interior, if he didn't Join Polyline the pool perimeter Splines?"-- Note that what I did, to achieve the Brush pattern in the pool:
>I created my own individual Splines for the perimeter of the pool, Vertex-Snapping to your supplied Points.
>I ticked Options|Display|Associate_Hatch to be "Yes".
>I selected the pool perimeter individual Splines I just inserted, and Format->Create_Hatch (having for preset the properties, via pre-setting the Pick_Point_Hatching Tool)

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

minuteman64

Quote from: Alvin Gregorio on August 10, 2024, 06:50:38 PM
Quote from: minuteman64 on August 10, 2024, 06:05:36 PMThe black polyline is actually a curve, drawn to fit a number of survey points (don't remember if I used Spline or Bezier).


Quote from: murray dickinson on August 10, 2024, 06:34:52 PMProperties doesn't agree....

Art-- You probably Join Polyline the Splines, which made them MULTI-noded Polylines.
For smoothness and other reasons, we recommend avoiding that.


There is a short, straight segment at the left of the curve.  I joined that to the curve using JoinPolyline.  Would that have done it?

Alvin Gregorio

Quote from: minuteman64 on August 10, 2024, 06:55:52 PMThere is a short, straight segment at the left of the curve.  I joined that to the curve using JoinPolyline.  Would that have done it?
[please read my edit-- addition-- to my just-previous post; though that has nothing to do with your question here]
________________________________
Response to your question here:
No.  The fact that a short straight segment was included in the Join Polyline operation has nothing to do with causing your Splines to become MULTI-noded Polylines when you included those Splines in the Join Polyline operation.

Note the name of the command "Join Polyline".  It has Polyline right there in the name.  It's not Join Splines.  So it creates a Polyline no matter what.  And since Splines are interpolated entities with infinite coordinates within, the result is many nodes to replicate those many coordinates when we use the Join Polyline command on Splines.
Get it?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

There is an item in curve properties in SelInfo, "number of segments between control points" that gives you some control over the multiplicity of nodes after exploding or joining a curve to a polyline.   

Alvin Gregorio

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson


Alvin Gregorio

Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

Quote from: murray dickinson on August 10, 2024, 08:29:13 PMThere is an item in curve properties in SelInfo, "number of segments between control points" that gives you some control over the multiplicity of nodes after exploding or joining a curve to a polyline.
Wouldn't we have to do this before Exploding a Spline or doing a Join Polyline on a Spline (which turns the Spline into a multi-noded Polyline, similar to Explode) ?
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

minuteman64

And the answer is ...... put them in a group.

Only other question I now have relates to the many-noded curve that started out as a spline.  Once I form my group and insert it into a plot plan drawing (strictly 2D) there will be no further manipulations on that curve.  Any need to re-draw to get rid of the many nodes?  I have all the points, so no big deal to re-draw - just one more step.

Alvin Gregorio

Quote from: minuteman64 on August 11, 2024, 08:35:43 AMAnd the answer is ...... put them in a group.

Only other question I now have relates to the many-noded curve that started out as a spline.  Once I form my group and insert it into a plot plan drawing (strictly 2D) there will be no further manipulations on that curve.  Any need to re-draw to get rid of the many nodes?  I have all the points, so no big deal to re-draw - just one more step.

In the scenario you describe, there is no need nor benefit to redraw the pool perimeter as individual Splines.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

Quote from: Alvin Gregorio on August 11, 2024, 06:34:41 AM
Quote from: murray dickinson on August 10, 2024, 08:29:13 PMThere is an item in curve properties in SelInfo, "number of segments between control points" that gives you some control over the multiplicity of nodes after exploding or joining a curve to a polyline.
Wouldn't we have to do this before Exploding a Spline or doing a Join Polyline on a Spline (which turns the Spline into a multi-noded Polyline, similar to Explode) ?
Default number of pline segments between control points can be set in TC Explorer as low as two, increased beyond 20 in SelInfo (I didn't coin that abbreviation, SoftDev used it last century...) if it's too coarse.

minuteman64

Appreciate the help.

Made a group, set the reference point to a point common to the two drawings, copied the group and pasted perfectly into the plot plan drawing.

Alvin Gregorio

Quote from: minuteman64 on August 12, 2024, 09:12:36 AMAppreciate the help.

Made a group, set the reference point to a point common to the two drawings, copied the group and pasted perfectly into the plot plan drawing.
Exactly the way to do that.
Good job.

Now... Let's build that pool !
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)