News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

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.

joining polylines problem

Started by colinreid, May 09, 2011, 07:26:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

colinreid

A newbie drawing in TC18DL.
I have attached a file with a polyline outer box and two inner polylines that I am trying to join to the outer but when I click the finish joining icon on the IBar, nothing happens not even the error message indicating that the snaps are not complete.

Any ideas of what is wrong would be gratefully received.
regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 09, 2011, 07:26:56 AM
A newbie drawing in TC18DL.
I have attached a file with a polyline outer box and two inner polylines that I am trying to join to the outer but when I click the finish joining icon on the IBar, nothing happens not even the error message indicating that the snaps are not complete.

Any ideas of what is wrong would be gratefully received.
regards
Colin Reid

That's an unconventional application for a Polyline, and I suspect that it's not the best way to accomplish the final result you're seeking. Not sure it's even possible. What IS that desired final result?

Henry H

colinreid

That the three poyline become one polyline and can be selected as one and copied elsewhere.

Us newbies do strange things through lack of experience
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

GregT

If you just need to select them as "one entity", make them a group.
AMD Phenom 1090T
8GB RAM
Radeon 5450 1GB
Windows 7
Redsdk  - Off
Editing History - On
v19.2 Platinum, x64

colinreid

Thanks that did it.

I had skim read the section in the Helpfile and missed the point but I will study it more
regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Henry Hubich

Quote from: colinreid on May 10, 2011, 04:53:20 AM
That the three poyline become one polyline and can be selected as one and copied elsewhere.

Us newbies do strange things through lack of experience

Been there, done that ;-)

Henry H

Kenneth Martin

I think alot of us om the forum are self taught, therfore we might tend to think outside of the box quite a bit. Like Henry said, "Been there, done that" ;D
TurboCAD user since v3
TurboCAD on flickr || My twitter ||

ws6transam

I'm having crazy problems with the "join polyline" function - driving me mad! If I had hair I'd pull it out. I've fought for three working days on this problem, and cannot seem to get past it.

I have a CNC billet housing that I am creating, so I am attempting to make the underside in sections, which could then be 3D-added together in order to form the 3D image. I've tried to avoid using "explode" tool since it pretty much had me starting over from scratch. I've learned to avoid creating a TC surface without first having a duplicate layer with the original lines and arcs, since a TC surface doesn't allow for use of dimensioning tools.  I've been using layer 0 as a workspace for creating my polylines that represent the 2-dimensional projection ofeach 3D component. Once completed, I move them into my "body" layer for the 3D add.

The problem I am having is twofold - It seems that there is some kind of problem with roundoff error when moving things or when doing a mirror image copy. In my case, I see a .0075 mm (.0003 inch) shift in my graphics. It sometimes happens with the copy-in-place function as well, leaving me to mis-trust that tool. Even when I get the stuff to align, when I attempt to selecti the pieces to join them, the lower left corner of the entity will NOT join, and I cannot figure out why! I've played with layer, Z-axis, thickness, regenerated the arcs and lines, but to NO avail! I even created a new layer called "1" and tried it again, but the lines and arcs will not assemble into a poly line. I'm attaching the project in case anyone has any ideas about what I am doign wrong. At this point, I'm thinking there's a bug.


Henry Hubich

Quote from: ws6transam on June 03, 2011, 08:12:04 AM
I'm having crazy problems with the "join polyline" function - driving me mad! If I had hair I'd pull it out. I've fought for three working days on this problem, and cannot seem to get past it.

I have a CNC billet housing that I am creating, so I am attempting to make the underside in sections, which could then be 3D-added together in order to form the 3D image. I've tried to avoid using "explode" tool since it pretty much had me starting over from scratch. I've learned to avoid creating a TC surface without first having a duplicate layer with the original lines and arcs, since a TC surface doesn't allow for use of dimensioning tools.  I've been using layer 0 as a workspace for creating my polylines that represent the 2-dimensional projection ofeach 3D component. Once completed, I move them into my "body" layer for the 3D add.

The problem I am having is twofold - It seems that there is some kind of problem with roundoff error when moving things or when doing a mirror image copy. In my case, I see a .0075 mm (.0003 inch) shift in my graphics. It sometimes happens with the copy-in-place function as well, leaving me to mis-trust that tool. Even when I get the stuff to align, when I attempt to selecti the pieces to join them, the lower left corner of the entity will NOT join, and I cannot figure out why! I've played with layer, Z-axis, thickness, regenerated the arcs and lines, but to NO avail! I even created a new layer called "1" and tried it again, but the lines and arcs will not assemble into a poly line. I'm attaching the project in case anyone has any ideas about what I am doign wrong. At this point, I'm thinking there's a bug.



You have two or more copies of the same entity in the same place. Get rid of the extras and try again.

Henry H

ws6transam

#9
I've gotten rid of them, deleted arcs, rebuilt lines, and done everything I can think of except dump the whole file and start over. That particular section will not join. In addition, when I rebuild the polyline, it keeps switching the line to a dashed pen pattern - and nowhere in my properties do I see anything where I've turned that particular function on. Shoot, I spent three days on this show stopper thus far.

[modification]
Okay. The problem is gone, somehow. One thing I noticed was that on my layer pallette, the check-mark would move around when I was selecting the components for my 'join polyline', moving focus away from layer zero (the only layer visible) and onto invisible layers. Once I clicked that checkmark and staked it to layer zero, I was able to get the polyline to join. Subsequent joins are now working like normal again.  I have not yet been able to re-duplicate the condition.
[another modification]
Never mind. The problem is back, and checkmarks do not seem to have anything to do with it.  

I also tried to "chain polyline", thinking that maybe there is one pixel of overlap, or something else that is invisible which might be messing up the join function. What I got was a program crash, as illustrated below.

Henry Hubich

Quote from: ws6transam on June 06, 2011, 07:22:08 AM
I've gotten rid of them, deleted arcs, rebuilt lines, and done everything I can think of except dump the whole file and start over. That particular section will not join. In addition, when I rebuild the polyline, it keeps switching the line to a dashed pen pattern - and nowhere in my properties do I see anything where I've turned that particular function on. Shoot, I spent three days on this show stopper thus far.

[modification]
Okay. The problem is gone, somehow. One thing I noticed was that on my layer pallette, the check-mark would move around when I was selecting the components for my 'join polyline', moving focus away from layer zero (the only layer visible) and onto invisible layers. Once I clicked that checkmark and staked it to layer zero, I was able to get the polyline to join. Subsequent joins are now working like normal again.  I have not yet been able to re-duplicate the condition.
[another modification]
Never mind. The problem is back, and checkmarks do not seem to have anything to do with it. 

Might not be a bad idea. But try this first: Move all components of the polyline-that-won't onto  a new layer; verify that they really ARE on that layer by turning off its visibility; turn it back on and retrace with a single brand-new polyline; delete the layer that contains the bad stuff.

Henry H

Andy H

#11
ws6transam, Henry or anyone else

Please see attached pdf - easier than typing here

** edit ** no idea if you have already sorted this, but posting in case you haven't, or in you have then its simply for information in case it happens again. ** end edit **

Andy

ws6transam

Oh man, Andy - I owe you four pints of Boddingtons, mate.

I just followed the pdf - and from now on I'll be on the hunt for the zero-length line segments. God knows how they got there. I would like to find that out sometime. Anyway I followed that part just fine, found the line segment which was not on the correct work plane and re-located it, then got hung up on trying to identify the upside-down Z axes. All of my segments displayed as having the axes correct. All segments were parked at -54mm on the Z-axis, and would not join.

Your hint about the world workplane got me to thinking, and I selected all segments, then changed the Z-axis from -54mm to 0 mm, which aligned them upon the world work plane.  I then used the join polyline function, and BAM!! success on the first shot.

Maybe I am conceptualizing workplanes wrong, but if I am not, it would appear that joining polylines on anything other than the world workplane appears to be an issue. What if one is creating complex shapes by stringing together arcs and lines on a workplane which is orthogonal to the world workplane? That's probably a discussion for another thread. Anyway, I will keep reading, and working on this project. First I'll hunt down & destroy the zero-length segments on all layers. Then, I can get back to creating the various polylines, all upon the world plane of layer 0, which I will then manually place at their respective Z-axis distances from the world plane. I will then turn them into TC surfaces with a Z-axis thickness, and then subtract from the big cube, in order to specify the upper and lower contours of the housing. 

I still don't know which is better for creating the TC surfaces - a simple extrude, or by selecting properties and specifying a 3D Z-axis thickness. Again, another question for a different thread. Havent found out which is the preferred method with TC Pro platinum v18 quite yet.