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.

Polyline Puzzle

Started by NigelG, October 25, 2022, 08:26:35 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

NigelG

The attached (I hope) drawing has two features shaped like an elongated letter pi on its side, with the "arms of slightly different sizes - that is intended.

I cannot cross-hatch them as sections though, making the drawing hard to read as well being wrong!

The cross-hatched areas are all regular tool-bar rectangles and filled easily.

The "Pi" bits started life as an assortment of extended and new lines, trimmed back as necessary, so problems from stacked fragments would not surprise. This though is not the case.

I found "JoinPolyline" seems not to work, and I have tried "Meet 2 lines" with its Polyline option, and various tests and tricks to work out what's wrong. It appears there is a broken corner but I cannot identify it, but it acts as a full polyline.

One of my tests of a built-up polyline is to highlight it and move it a regular amount into a clear space. This will leave behind any fully disconnected elements, layer errors or trimming "off-cuts". This figure moves intact without leaving anything behind.

Eventually I copied one of the figures down below the main elevations (centered on (Y = -10) and dimensioned it so I could draw a new "Pi" completely by vertex-snapping lines of the right lengths to each other. Despite fully-snapped, "meet lines", etc. even this fresh version will not close.

The attached is a stripped copy of the full drawing. I thought the full one too large for attaching!

So can someone please tell why it won't work? It's not as if I am trying anything totally new to me, anything but! 
Nigel.

TC 2024 Deluxe on WIN-11 PC, on-line (this one). TC 2019 Deluxe on WIN-7 PC, off-line, now used as an archive. Hobby use (Model-engineering).

Torfinn

First of all, STOP close layer 0, it will normally only make problems for you, make a new layer and put the objects in there if you want to hide anything by close layer

The 2 bottom objects did take the Pick point Hatch without any problem, the other 2 did not wanted to be hatched, so selected them one by one and used the old hatch tool, ctrl + shift + H, and afterwards just used the format painter (the paintbrush) and copy from the other ones over to the ones that did not want to be hatched in the first place

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

John R

From what I see is that the Polyline is not closed.

Activate the "Edit Tool" and select the polyline.

The Local Menu will show that it is not Closed.

Mouseover the red node while holding the Ctrl key. When the garbage can appears, click to toss the node into the trash.

You now have two end point nodes. Choose "Close" in the Local Menu to close the polyline.

Once the polyline is closed, the hatch pattern will appear.

John R.

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

NigelG

Thank you!.

Torfinn -

Sorry, I am not quite clear what you mean, but I had carefully set up layers 1-4 for the centre-lines, dimensions and 2 set of outlines. (Two because this is to investigate modifying an existing, major component.) I'd always thought TC wants Layer 0 for itself (so why offer it?).

Though that doesn't mean much - trying to draw a line to a given Layer settings doesn't mean it will obey those settings, because I had not realised just how just many formatting menus and controls there are behind that 'Properties Dialog' button. I'm forever having to format things individually!

I've never used that Pick Point Hatch - I do not know what it means, but I have always previously used the normal Fill tool, with its palette of patterns, without problems.

.

John -

I'd guessed that the polylines were not closed, but could not identify why, and nothing I did cleared it.

I've now used that Edit Tool as you say, and sure enough that shows the faulty corners. I've come unstuck with Edit Tool previously by not knowing what it offers, nor how to get back out of it! You can't just switch it off again.

Anyway, I've now managed to repair the drawing, which is open behind this. It's a lot less confusing with the hatching all there!

What I don't understand is why I could not make either of these two figures close in the first place. I've not had so much trouble with this technique previously.

 
Nigel.

TC 2024 Deluxe on WIN-11 PC, on-line (this one). TC 2019 Deluxe on WIN-7 PC, off-line, now used as an archive. Hobby use (Model-engineering).

John R

When drawing a polyline to be "Closed", don't use "Finish" (Alt+F). Go back one step (Backspace key) and choose "Close" (Alt+L or Alt+C).

I also found the '2.84' dimension to be incorrect due to rounding off.
John R.

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