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.

How do you give a 3D polyline depth?

Started by Mike Pearson, September 03, 2024, 07:24:55 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Mike Pearson

Hello All.

If you create a shape using a 3D polyline, how do you give it depth?

I am trying to create a trapezoidal shape that is not on the XY place but it skews back.  I can create the shape using 3D polyline, but I don't know how to give it depth.

I'm using Platinum 2023.

Thank you.

Edit: I added the file in a reply below.

PCSteel

You don't say which version you are using. Do you have 'Simple Extrude' available? It's in 'Draw' '3D Object' on my system.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

Mike Pearson

Quote from: PCSteel on September 03, 2024, 08:06:30 PMYou don't say which version you are using. Do you have 'Simple Extrude' available? It's in 'Draw' '3D Object' on my system.

Platinum 2023.

Simple extrude doesn't work.  It's says it's impossible...

PCSteel

You might need to attach the drawing for someone to work it out for you.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

murray dickinson

#4
Make a copy of the 3D polyline at the other end of the extrusion path and loft between them.  If it's closed ACIS will make it solid if it can make enough sense of the polyline to cap it, if it can't it'll leave it open, only creating the sklrt between them.  It confuses ACIS if the 3D polyline is closed but can't be capped, so it's usually less complicated if the polyline's finished, but not "closed", leaving ACIS to decide if it's possible. 


Alvin Gregorio

Quote from: Q1CS on September 03, 2024, 07:24:55 PMIf you create a shape using a 3D polyline, how do you give it depth?

I think the problem lies in the fact that you are using a 3D Polyline.  That object type isn't what I think you think it is.

Use a 2D Polyline, for Extrude.  Or a combination of them, by holding down the Shift key while selecting them.
You will also use 2D Polylines for 3D object creations/insertions such as Loft, Cone (with one of the Local Menu "Specify..." options), Revolve, perhaps a couple of others.

______
On a side but related note:  I cannot get Loft to work correctly using 3D Polylines.  Nor Revolve.  (probably nor others; but Extrude works, but I wouldn't trust the result)
___
Let's meet online if you need further help with learning this.
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)

Mike Pearson

#6
Here is a copy of my stripped down file.

There are several faces (left side, right side, top, bottom, front, front angle), there is no back.

I am wanting each face to have a thickness of 4mm and the drawing shows the outside perimeter of the faces, so the depth needs to go to the inside.

I drew this with 3D polylines, but can't figure out how to get the 3D depth.

All faces are compound trapezoids and when I make a copy of the face and shift it 4mm and then try lofting with the two polylines , it errors and says "cannot be on same plane".

Thank you.

Mike Pearson

Quote from: murray dickinson on September 03, 2024, 10:26:35 PMMake a copy of the 3D polyline at the other end of the extrusion path and loft between them.  If it's closed ACIS will make it solid if it can make enough sense of the polyline to cap it, if it can't it'll leave it open, only creating the sklrt between them.  It confuses ACIS if the 3D polyline is closed but can't be capped, so it's usually less complicated if the polyline's finished, but not "closed", leaving ACIS to decide if it's possible. 



I tried copying the poly line and lifting like you mentioned but it didn't work. 

I uploaded the test file in one of these replies.

Mike

Brandon Meyer

3d polylines are generally used for making paths to sweep objects along or as guidelines for lofting. Adding thickness to objects via the properties menu is also generally not the way to make or modify most 3d objects. To create 3d things not using the primitives we must first create a flat 2d shape and then use the 3d tools such as extrude, loft, revolve, and sweep to make the 2d object become 3d. From there we can use other tools like the hole, thread, shell, and boolean tools to modify the 3d object. I am guessing what you are doing right now is creating a non planar face. Anything you make 3d must be planar. Think of a triangle. If you cut a piece of plywood into the shape (lets not call this a face) of a triangle, lay it on the table and lift one corner, the face of the board will always be flat. Now if we take and make it a square shape and lift on corner it will flex some and it will no longer be flat. Thus the normals of the shape will not be pointing in the same direction which makes it impossible for the program to figure out. If however we make a diagonal cut across the square then lift a corner it will bend at that cut and you will have 2 flat faces.

There are many ways to make a box with sides but if you want to make it like you would cut boards then we would first create a 2d shape of the bottom and extrude it up to the proper thickness. Then if we want a side board sitting on top of it going up we would create a new workplane on the top of the bottom piece which we will then draw our new 2d shape on and then extrude that up. If we wanted a cylinder coming off the side of this new side piece we would create a workplane on the side of it and draw a circle then extrude that out.

If trying to move objects in the z direction you must also have the 3d option set for the selector which should be in the right click menu while in model space. Then you can click on one of the selector axis and move it with the mouse or tab into the inspector bar and use set distances. Also the transform tools are helpful for those types of things.

Using regular geometry like rectangles to use for distance references that can be snapped to and deleted later are helpful in placing things where they need to go as well.

I highly recommend picking up the 2d and 3d training guides directly from turbocad and going through them like a school course to get all this figured out. Like I said there are many ways to create these things and it can be confusing and also most people have a preconceived notion of how these things should work and that stops them from being able to model things and ultimately get frustrated. There are basics that must be understood before everything starts clicking into place.
TC Pro Platinum 2025, 2020, 2016, 2015, v18, v14. TC Deluxe v19. Alibre Design Expert v28. Blender 4.3. Ender 5s1 enclosed printers. Revopoint MetroX, Range1, Pop2 3d scanners.
Home pc Ryzen 7 3700x 32gb Ram Rtx2060 Super. Shop pc Ryzen 9 3900x 64gb Ram Rtx2060 Super.

Alvin Gregorio

Quote from: Q1CS on September 04, 2024, 06:05:28 AMI drew this with 3D polylines, but can't figure out how to get the 3D depth.

I think the problem lies in the fact that you are using a 3D Polyline.  That object type isn't what I think you think it is.

Use a 2D Polyline, for Extrude.  Or a combination of them, by holding down the Shift key while selecting them.
You will also use 2D Polylines for 3D object creations/insertions such as Loft, Cone (with one of the Local Menu "Specify..." options), Revolve, perhaps a couple of others.

______
On a side but related note:  I cannot get Loft to work correctly using 3D Polylines.  Nor Revolve.  (probably nor others; but Extrude works, but I wouldn't trust the result)
___
Let's meet online if you need further help with learning this.

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)

PCSteel

I don't know if there is a way to do what you are trying to do with your sketch Mike, but someone may know.
I think I've done what you are hoping to do in the way that I would have done it but there would be other methods also.
I started by drawing a rectangle at the size of the 'back'.
I then extruded the rectangle back 8mm to form the box shaped part of the back.
My next step was to extrude the same rectangle in the opposite direction with the required draft and distance. With the basic shape now done I set the workplane to the location and angle of the chamfer on the front and used slice by workplane to create the chamfer.
The last step was to 'shell' the solid to the 4mm thickness excluding the back face from the shell.
My work is attached.
I hope you can understand my method and that it helps you see one way of doing this.

John
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

Mike Pearson

Quote from: PCSteel on September 04, 2024, 04:42:55 PMI don't know if there is a way to do what you are trying to do with your sketch Mike, but someone may know.
I think I've done what you are hoping to do in the way that I would have done it but there would be other methods also.
I started by drawing a rectangle at the size of the 'back'.
I then extruded the rectangle back 8mm to form the box shaped part of the back.
My next step was to extrude the same rectangle in the opposite direction with the required draft and distance. With the basic shape now done I set the workplane to the location and angle of the chamfer on the front and used slice by workplane to create the chamfer.
The last step was to 'shell' the solid to the 4mm thickness excluding the back face from the shell.
My work is attached.
I hope you can understand my method and that it helps you see one way of doing this.

John

That is so much cleaner!

And I bet only took a few minutes whereas I struggled for 2 hours or so.

I follow the creation of the 8mm back box, but what tool did you use use for the draft setting?

I want to recreate how you did it.

Thank you for being so specific on your steps, it is definitely helpful.

Mike


Mike Pearson

Quote from: PCSteel on September 04, 2024, 04:42:55 PMI don't know if there is a way to do what you are trying to do with your sketch Mike, but someone may know.
I think I've done what you are hoping to do in the way that I would have done it but there would be other methods also.
I started by drawing a rectangle at the size of the 'back'.
I then extruded the rectangle back 8mm to form the box shaped part of the back.
My next step was to extrude the same rectangle in the opposite direction with the required draft and distance. With the basic shape now done I set the workplane to the location and angle of the chamfer on the front and used slice by workplane to create the chamfer.
The last step was to 'shell' the solid to the 4mm thickness excluding the back face from the shell.
My work is attached.
I hope you can understand my method and that it helps you see one way of doing this.

John

So I quickly did another test like you mentioned, but I created a back rectangle, and a front rectangle, lofted between the two, and then did the shell, and it worked! 

Literally 1 minute.

Obviously I missed a few profile parts like the back box, but I wanted to test the technique, you are amazing, and thank you for taking the time.

Mike

PCSteel

Quote from: Q1CS on September 04, 2024, 06:20:49 PMI follow the creation of the 8mm back box, but what tool did you use use for the draft setting?

 Yeah sorry, I didn't give enough detail there. I measured the draft angle from your sketch (3.652°) and used that to set the draft (as a negative) in the properties for the simple extrude.

You cannot view this attachment.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

PCSteel

Quote from: Q1CS on September 04, 2024, 06:43:39 PMSo I quickly did another test like you mentioned, but I created a back rectangle, and a front rectangle, lofted between the two, and then did the shell, and it worked! 

Literally 1 minute.

Yep, that's another method and probably easier than the way I did it. There's always plenty of options with TurboCAD.
Good to see you found it.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

Mike Pearson

Quote from: PCSteel on September 04, 2024, 07:04:02 PM
Quote from: Q1CS on September 04, 2024, 06:43:39 PMSo I quickly did another test like you mentioned, but I created a back rectangle, and a front rectangle, lofted between the two, and then did the shell, and it worked! 

Literally 1 minute.

Yep, that's another method and probably easier than the way I did it. There's always plenty of options with TurboCAD.
Good to see you found it.

Thank you again.

I spent 5 hours yesterday and ended up with a junk model, and then after your comment, I was able to completely draw the part in 45 minutes!


Jeff_in_90620

I do not understand how you could do it with two Rectangles.

I used Plane by 3 Points and created Rectangles #1 & #2, followed by duplicating #2 to the vertex as shown in the image to create Rectangle #3 (not labeled).
I then Lofted between Rectangles #2 & #3, followed by #1 & #3.
Then, the two solid pieces were 3D Added before the Shell Solid operation.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

PCSteel

Quote from: Jeff_in_90620 on September 04, 2024, 10:47:12 PMI do not understand how you could do it with two Rectangles.

I used Plane by 3 Points and created Rectangles #1 & #2, followed by duplicating #2 to the vertex as shown in the image to create Rectangle #3 (not labeled).
I then Lofted between Rectangles #2 & #3, followed by #1 & #3.
Then, the two solid pieces were 3D Added before the Shell Solid operation.


Jeff


And there's another method that's the simplest yet! Sorry Jeff, I didn't quote the whole of Mike's message. He added
"Obviously I missed a few profile parts like the back box, but I wanted to test the technique, you are amazing, and thank you for taking the time."
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3

Alvin Gregorio

I think the best/preferred-- quickest-- method depends on what's known (and one's preference).

>Let's say we were staring at a blank Modelspace in TurboCAD-- that we didn't have Q's original 3D line work to snap to and reference.
>The back rectangle-- we would probably know that.  We could switch to Front View, Workplane by View.
>Draw that back Rectangle.   Let's call this Rectangle-1.
>Then we would probably know what we want for the non-angled portion of the object.  So we would Extrude that Rectangle that height.
>Then-- What do we know (in our minds, as in this hypothetical, Q's line work does not exist) about that front face?-- the other end of the taper
>Let's say we know:  1)It's size, X & Y   2)How far down from the top of the just-Extruded object's top   3)That we want it centered left-to-right (X-to-Y) in relation to the Extrude object.  4)How far away from the front face of that Extrude object we want it to be.

>Hmmm  (thinking emoji here)

>I think I would select that first Rectangle I inserted-- the one I used for the Extrude.
>Activate the Selector Tool's Make Copy option.
>Relocate that Rectangle-1 to the front face of the Extrude.  With Make Copy active, it is actually a copy of Rectangle-1; let's refer to it as Rectangle-2.
>With Make Copy still active and Rectangle-2 still selected,
>Delta the Y the distance I want the overall depth of the object to be-- the intended front face of the eventual object. (deactivate Make Copy now)
>What is now selected is the copy of that Rectangle-2, out there on the intended front face of the overall object.  Let's think of that new-copy Rectangle as Rectangle-3.
>Tap the D key, to reset the location of its Reference Point
>Middle-Snap to the top segment of that Rectangle-3
>Tab into the Inspector Bar and enter its desired X,Y,Z sizes and Delta its Z in a negative direction, Tab-ing to get to each of the fields.
>Loft between Rectangle-2 and Rectangle-3
>3D Add the Extrude and the Loft
>Shell, a negative number for inwards
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)

Andy H

May as well add this method which I sometimes use for parts like this.  Draw top profile. Draw side profile. Extrude both.  3D Boolean intersect. 

Alvin Gregorio

Quote from: Andy H on September 05, 2024, 03:43:08 AMMay as well add this method which I sometimes use for parts like this.  Draw top profile. Draw side profile. Extrude both.  3D Boolean intersect. 
I just tried that Andy.
I did not get a result of an exact replica of Q's 3D-outline.
I think because I set my side Workpane-- for inserting the initial side profile Polyline-- to the left side of Q's collection of 3D Polylines.  The problem is the draft angle of the intended object.

If I would have first set my side Workplane to the center of Q's X-to-Y 3D_Polyline(s), and similarly when inserting the top-to-bottom profile (the middle of Q's 3D_Polylines being the Workplane), I think your method would have worked for me.
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)

Andy H

Quote from: Alvin Gregorio on September 05, 2024, 04:14:37 AMI just tried that Andy.
I did not get a result of an exact replica of Q's 3D-outline.

I probably should have mentioned in the post,  that I just used the standard workplanes,  Plan for top, and Right for side.

PCSteel

#22
Quote from: Andy H on September 05, 2024, 03:43:08 AMMay as well add this method which I sometimes use for parts like this.  Draw top profile. Draw side profile. Extrude both.  3D Boolean intersect. 

That's probably the easiest method I've seen Andy, worked perfectly. I never seem to use 'intersect' but that's the perfect use for it.
John@PC Steel

Core i7-6700 CPU
16GB Ram
64 Bit
Windows 10 Home
TurboCAD 2015 Pro Platinum 64 bit Build 90.0
TurboCAD 2023 Platinum 64 bit Build 63.3