DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Steps for extrusion

Started by pnb, November 12, 2019, 12:14:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pnb

Some guidance for a newbie to 3D please!
I am finding it hard to get the desired extrusions for my panels. These are the steps I am trying.
1. Combine lines for each of the planes to be extruded. NB. The only way I have found to do this for irregular shapes is to go back to 2D, exaggerate the line width, select shift/select lines and Combine. Return to original line widths and 3D.
2. Select entity to extrude, Select Extrude Icon, Select entity (again), Select Point relative, Enter extrusion height/depth, select OK.
It sometimes works, but not always, what am I doing wrong!
I have attached the file I am working on. The panel with the red speaker hole is the one I am currently trying to extrude.
I think I have done some of the simpler panels and 'joined' them. Do they look OK?
All comments welcome!
Peter
DesignCad 3D Max 2021, 64bit

Rob S


You seem to be on the right track, but as with anything at first you sometimes miss a step and think its not working.  You just have to practice a bit more to get it right every time.  Following are a few hints, some may require further explanation if so let me know.

To extrude, you need a selected object with a Handle, a start point and an endpoint for the extrusion.  Oddly, the objects handle  extrudes parallel to the path you set, not along it.   

I think you've got this but it is important.  A combined line or perimeter will extrude into a surface or grid.   A plane will extrude into a solid.   Converting a surface to a solid does not close in its ends, so you really need to make sure you have a plane to start with if you want a solid.

Best way to check is to turn on open-gl shading always or periodically so you can see what each object looks like when it has been extruded.  You can turn or spin your drawing on-screen using the set-view-by-view-centre command and dragging on the main screen,  esc (or window, designcad tile) to return to original view.

You can also of course create solid cubes directly in 3D by using the box command and point-relative to set one point at say the front top left and another point at the bottom right rear (any two opposite corners.)

To create moulded shapes, draw the cross-section as you have been in 2D, convert to plane, and then extrude along line or curve.  This gives you mitred or curved corners.

Another trick once the drawing gets more complex is to create parts in separate drawings, and then copy/paste them into your main drawing.   Easy if you are drawing to fixed dimensions.   Also allows you to modify and re-use parts.

Complex parts are often created by starting with blocks of "raw material"  and subtracting the bits you don't want.   

If you want to make holes by subtracting say a tube from a solid, (like drilling) make sure the tube projects past the solid on both ends before subtracting, otherwise sometimes you end up with skin over the hole and you can't see it.   This might work better for your speaker hole.

When you come from 2D, it takes a bit to start thinking in terms of objects or parts, and stop thinking in terms of lines and shapes.
User since forever

Dr PR

When I want to extrude an object I first set a handle on the object. Then I set the first extrusion point on the handle and the second to where I want the handle to move. For some reason I started doing this decades ago, and it avoids confusion as to where the handle will end up.

However, having said that, sometimes you may have an existing line and do not want the extrusion along that line, but parallel to it. In this case set the handle on the thing to be extruded and move the object (by the handle) to the appropriate distance from the line. Then set the two extrusion points on the line. The object will extrude parallel to the line but some distance from it.

You can set the second extrusion point with Point Relative from the first. But I have the habit of constructing reference line to establish and verify the geometry, and then use these lines for the extrusions. After that the reference lines are deleted. It is more work, but you can check the geometry before extruding.

It's all a matter of personal preference.

****

Unless it is absolutely necessary, avoid the "Extrude Along A Curve" function when working in 3D! It is extremely unpredictable in most cases. The extrusion will spiral around the curve in strange ways, and there is no way to control this. However, it does work OK for circular plane extrusions where the center of the plane is on one end of the curve. The resulting solid will be spiraled around the curve, but the shaded result will look like a bent rod.

Phil
DesignCAD user since 1987

pnb

Thanks Phil for your full reply, I think it will take me some time to digest it all.
Quote from: Dr PR on November 12, 2019, 08:57:40 PM
When I want to extrude an object I first set a handle on the object. Then I set the first extrusion point on the handle and the second to where I want the handle to move. For some reason I started doing this decades ago, and it avoids confusion as to where the handle will end up.
I think this the same as my description in point 2. as I have been using Point Relative, in one of the perpendicular views.
However some of the resultant extrusions appear to have unexpected diagonal lines and missing faces/corners. Could this be because I have not made the combined points a plane, before extruding?

Is it possible to make a finished extrusion a single entity with Group?
Peter
DesignCad 3D Max 2021, 64bit

Rob S

You can confirm that you have a plane object by turning on the shading, it will display as a surface.

Creating a group will not fix broken extrusion.

I was wondering how some of those diagonal lines came to be in your drawing.
User since forever

Bob P

Since many of your objects are already drawn (albeit as grids or planes rather than solids), I would switch to a new layer and color and copy "over" the current entities using real solids (using the right bracket key). Once everything is over-"written", hide the new layer and delete the old entities. Then move the new layer into the original one. That should take only a few minutes.

pnb

#6
Thanks again for your reply, sorry to keep pursuing this, I am grateful for your patience

Shading is a bit hit and miss on my computer, could be because of the screen res' issue.
I was thinking of Grouping to make a complete part, like a Top or Side for my box, not for fixing breaks. Then I could take the box apart and put it back together as needed.
I have found that the diagonals appear if I extrude in one direction, but didn't in the opposite! Eg a plane extruded with a -ve z value compared with a +ve z. Sometimes of course I don't have a choice of direction.

I thought I would start a part again,following your suggestion, by extruding the base panel section.
Now I am stumped on how to complete it! I need to add the flanges on the other two edges and then the 6 mm groove across it. (see attached). Should I just draw the flanges pieces and attach them?
I can also draw on the grooves and extrude them into the plane but not certain if they would be grooves!

Peter
DesignCad 3D Max 2021, 64bit

pnb

Thanks Bob, that's a interesting idea. I will give it a go.
Peter
DesignCad 3D Max 2021, 64bit

Rob S

Looking at your latest drawing in shaded format, I can see that the object bottom left is just a surface and not a complete solid.   ie I think it was created by extruding a perimeter line, not a plane.

I think I might try creating the slots by solid subtract, and the tongues created separately and then using solid add, or by extruding the tongue shape along the face, and then using solid add to combine it.
User since forever

pnb

 >:( Yes you are right, I hadn't converted the 2D cross section into a plane before extruding !! I have now done that.
Solid Add/Subtract: Is there a way of getting the exact final dimension? The manual suggests overlapping.
I thought of setting the joining point 1 mm within the first solid and making the second solid 1 mm too big.
Peter
DesignCad 3D Max 2021, 64bit

Dr PR

#10
Here are a few tricks to keep in mind when creating and working with solids.

Rather than grouping objects to get them to behave as a single object, use "Solids/Solid Define." This is similar to grouping but it gives the collection of objects the properties of a single solid object and allows you to use the solid Boolean functions (Solid Add, Solid Subtract, etc.).

If you create a solid by lumping together several objects with "Solid Define" you can end up with internal surfaces, multiple surfaces in a plane, etc. The program has no function to clean up these things, but there is a very simple way to do it. Draw a simple solid (cube, cylinder, etc.) off to the side so it does not overlap your original "messy" solid. Then use "Solid Subtract" to delete the new cube/cylinder from the original solid. Of course, since the two solids do not overlap, there is nothing to subtract and you new cube/cylinder just disappears. But this forces the program to reevaluate the original solid, and in the process it will eliminate internal surfaces and combine multiple co-planar surfaces into a single planar surface.

If you need to create a solid with holes in it it is better to create a planar surface and extrude it first, and then punch holes in it by creating "tool" solids and subtracting them with "Solid Subtract."

If you need to punch multiple holes through a solid, create all the "tool" solids first, select them all and use "Solid Define" to make them all one solid - this works even if the multiple "tools" have no volume in common. Then use "Solid Subtract" to punch all the holes at once. This is a bit faster than subtracting each tool one at a time, but the real virtue is that the program will create a much "cleaner" solid with fewer surface facets. And, if you punch a lot of holes in a solid you might reach the internal limit to the number of facets/planes/parts that a solid can have. Doing all of the subtractions in a single operation reduces the possibility of this happening.

Here is something that was said before, but needs emphasizing. For solid subtractions, be careful that the "tool" solid to be subtracted does not have any co-planar surfaces with the existing "work" solid. For example, if you create a cylinder "tool" to be used to punch a hole through another solid, do not position the cylinder so the an end plane is in the same plane as a side of the "tool" solid. This can confuse the program. Think about it - planes are two dimensional - they have zero thickness. So what do you get when you subtract zero from zero? Sometimes the program just divides the surface into a circular plane surrounded by another plane. This leaves the zero thickness circular plane "plugging" the hole. The object shades as of there is no hole on that side. To avoid this and get a clean hole all the way through always be sure the "tool" passes all the way through the "work" solid and the ends of the tool can be seen to project through the "work" solid. Then "Solid Subtract" will produce a clean hole all the way through.

Phil
DesignCAD user since 1987

Rob S

About this time is where you might start wondering if it is all worthwhile.

Most who have survived these doubts soon find themselves wondering what the problem was, and amazed at what they can do.

So don't give up on us.
User since forever

pnb

 :) So much information! Thanks everyone, I do feel I am getting there, wherever there is!
It is a different way of thinking and planning a drawing and many of my 2D tricks are not as useful as they once were.
I am glad I am starting with a relatively simple rectilinear shape.
Quote from: Dr PR on November 13, 2019, 03:09:27 PM
If you create a solid by lumping together several objects with "Solid Define" you can end up with internal surfaces, multiple surfaces in a plane, etc. The program has no function to clean up these things, but there is a very simple way to do it. Draw a simple solid (cube, cylinder, etc.) off to the side so it does not overlap your original "messy" solid. Then use "Solid Subtract" to delete the new cube/cylinder from the original solid. Of course, since the two solids do not overlap, there is nothing to subtract and you new cube/cylinder just disappears. But this forces the program to reevaluate the original solid, and in the process it will eliminate internal surfaces and combine multiple co-planar surfaces into a single planar surface.
This sounds like something that could be coded as "Solid Clean" in a future release ;D

I will battle on.
Peter
DesignCad 3D Max 2021, 64bit

Bob P

When making solids in DC, the most reliable method is to start with solid primitives from the Solids menu drop-down. Making solids from lines or areas is the most difficult and unreliable path. If you use construction lines, use a special layer so they can be isolated and deleted if required.

Dr PR

To amplify what Bob said, there are two basic ways to create a solid.

1. Additive. Draw a bunch of planes or grids, select them and use "Solid Define" to bless them and make them a solid. It's like gluing pieces together.

The main problem here is that the program doesn't "fill in the blanks." If you have gaps (leaks) between your surfaces the solid will have holes in it. You may also have internal surfaces and multiple segments for planar surfaces. If you try the solid Boolean operations on then the results can be unpredictable. Such solids also may display strangely in shaded images.

Solids with leaks cannot be printed in 3D.

2. Subtractive. This works like machining a piece on a milling machine. First you create a true solid using one of the solid primitive commands like "Box" or "Cylinder." This will be your "work" piece.

Then you create a series of "tool" solids - cylinders, spheres, boxes, whatever - using the solid primitives.

Next you position the "tools" relative to the "work" solid, and use "Solid Subtract" to remove the tool solid from the work solid, cutting away the parts you don't want.

For example, to "drill" a hole in the work piece you create a cylinder of the desired diameter and length and subtract it from the work piece.

This method has the advantage that the work solid never has leaks or missing facets. Any spurious internal surfaces will be removed and multi-segment planar surfaces are combined into a single polygon.

But it can be quite a challenge figuring out how to make the properly shaped tool solid!

Phil
DesignCAD user since 1987