News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

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.

Making a solid out of a polyline

Started by chuckmcm, June 23, 2022, 08:20:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chuckmcm

I'm oddly having a hard time creating a solid here. The task is to create a holder for flashlight that has grooved notches on either side (the body is round). I created a profile to match the flashlight (see polyline-profile.png) and tried setting it's 3D thickness through properties and got (setting-3d-height-through-properties.png) which is basically a shell. Extrude does the same thing.

"Ah, the poly line isn't closed." I thought, and sure enough the properties of the polyline say it isn't closed. But there also is no way to 'check it' to make it closed. I had used group select, so I exploded it and added each line and arc one by one going clockwise around the figure, still no joy.

I cannot find a "force this polyline to be closed" nor a  "show me why this isn't closed" command. Making this through 3D boolean operations is going to be a lot harder and I'd rather not try to do that if I don't have to. So any thoughts?

(well I would share images except this error: "setting-3d-height-through-properties.png The attachments directory can not be located. Please notify an administrator of this problem. 33.4 KB"
--Chuck
TC Plat Pro 2021, Win 10, Surface Book, first TurboCAD version 3.0 (still have the disks!)

Torfinn

Select it with the Edit tool and there will be an option to close it down on Inspector bar, the 3rd symbol from right to left

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

murray dickinson

#2
Without the file diagnosis is guesswork, but if you extrude the profile with its segments unconnected, ie not assembled into a polyline, with compound profile enabled, you'll have the height/length available as the extrusion's property in selection info palette.  Using compound profile, the profile's segments should ALL light up magenta and you'll be able to "pull" the extrusion with the mouse, an immediate indication that the extrusion's a solid.  If the profile's open, it won't move until you confirm it with ctrl + x, and if you confirm and extrude, the result will be an open surface with surface area the only physical metric available.
Using compound profile, if you correct the profile afterwards, ie connecting the open ends, the extrusion will become a volume solid without your having to redo it. 

chuckmcm

Quote from: Torfinn on June 23, 2022, 09:45:10 PMSelect it with the Edit tool and there will be an option to close it down on Inspector bar, the 3rd symbol from right to left

Torfinn

This did it! Wow, thank you so much. That is the first time in over a decade I needed to use the edit tool to do that.

--Chuck
TC Plat Pro 2021, Win 10, Surface Book, first TurboCAD version 3.0 (still have the disks!)

Alvin Gregorio

If intended to be used to create a 3D "solid", when first inserting the Polyline, the last snap, to place a node-- don't click it at its intended start/end point; after snapping/placing the node just before that, right-click for the Local Menu and select the "Close" option.

Example:  If making a rectangle by inserting a Polyline, snap (or click) to insert the first 3 points, then after having inserted the 3rd point, right-click for the Local Menu and select "Close".
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)

chuckmcm

#5
Quote from: Alvin Gregorio on June 25, 2022, 02:40:12 AMIf intended to be used to create a 3D "solid", when first inserting the Polyline, the last snap, to place a node-- don't click it at its intended start/end point; after snapping/placing the node just before that, right-click for the Local Menu and select the "Close" option.

Also good advice, however in this case the polyline was being created by laying down some shapes and then trimming
the shapes. That leaves you with some lines and arcs that are all disconnected. When I used 'join polyline' I did not see that option. Will look for it next time.

And I recreated it a different way (by drawing arcs and lines and then joining them and when joining you do not get the option to close, the only option is "finish."

Thanks again,
--Chuck
TC Plat Pro 2021, Win 10, Surface Book, first TurboCAD version 3.0 (still have the disks!)

chuckmcm

And to finally finish up this topic. Trimming/Intersecting/Etc. don't leave clean lines. Generally I suspect this is the general imprecision in binary floating point numbers that makes programmers code (abs(value - test_value) < epsilon) rather than (value == test_value).

So instead, and a way to do this reliably it seems, is to draw out all of the the shapes you would use to cut/trim etc using construction lines, draw the first arc and then each additional arc starting with the 'vertex' snap to ensure that the two vertices are exactly the same.

Do it this way and working around the perimeter when you're done, if you select "join polyline", select all (I used a mouse region select with a mouse drag over all of the arcs) then finish, it not only joins them all but it automatically closes it. (since it is nominally closed with all the vertices overlapping). I've noted this in my notebook for future-me when I'm creating more complex extrusions.
--Chuck
TC Plat Pro 2021, Win 10, Surface Book, first TurboCAD version 3.0 (still have the disks!)

nikkipollard

Quote from: chuckmcm on July 19, 2022, 11:12:43 PMAnd to finally finish up this topic. Trimming/Intersecting/Etc. don't leave clean lines. Generally I suspect this is the general imprecision in binary floating point numbers that makes programmers code (abs(value - test_value) < epsilon) rather than (value == test_value).

So instead, and a way to do this reliably it seems, is to draw out all of the the shapes you would use to cut/trim etc using construction lines, draw the first arc and then each additional arc starting with the 'vertex' snap to ensure that the two vertices are exactly the same.

Do it this way and working around the perimeter when you're done, if you select "join polyline", select all (I used a mouse region select with a mouse drag over all of the arcs) then finish, it not only joins them all but it automatically closes it. (since it is nominally closed with all the vertices overlapping). I've noted this in my notebook for future-me when I'm creating more complex extrusions.
--Chuck

That sounds like a lot of extra work. I have never noticed this problem. What is your precision setting in options , space Units?
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

John R

Quote from: chuckmcm on July 19, 2022, 11:12:43 PMAnd to finally finish up this topic. Trimming/Intersecting/Etc. don't leave clean lines. Generally I suspect this is the general imprecision in binary floating point numbers that makes programmers code (abs(value - test_value) < epsilon) rather than (value == test_value).

So instead, and a way to do this reliably it seems, is to draw out all of the the shapes you would use to cut/trim etc using construction lines, draw the first arc and then each additional arc starting with the 'vertex' snap to ensure that the two vertices are exactly the same.

Do it this way and working around the perimeter when you're done, if you select "join polyline", select all (I used a mouse region select with a mouse drag over all of the arcs) then finish, it not only joins them all but it automatically closes it. (since it is nominally closed with all the vertices overlapping). I've noted this in my notebook for future-me when I'm creating more complex extrusions.
--Chuck


I use the "Modify / Meet 2 Lines" tool where Lines & Arcs meet. If I have "To Polyline" active in the Local Menu, the result will be a Polyline; though I usually leave this turned Off. I just want the two objects to meet properly.

Meet 2 Lines also works on 2 Arcs.
John R.

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