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.

Why did they change the box?

Started by MarkX, August 04, 2011, 06:21:40 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

MarkX

Hello!

I was following along the tutorial from v14 on how to make a floorplan and then how to make it 3D. I got to the part where you needed to add a header to a doorway, and started to get frustrated. The instructions explain how to make a cube (box) using 2 points and a cursor movement. After awhile, I looked up the box documentation in the help file, and discovered that the current way to make the cube is to specify only two opposite corners. This turned out to be much harder than the way it was done in the tutorial. There wasn't an opposing point to snap to. Eventually what I figured out was to turn the inside portion of the doorway into a work plane, then create a rectangle on that work plane to create a snapable point. It was a bit of a hassle, really.

The other thing is, that the cube wouldn't form unless I specified the 3D selector. The 3D selector, however, couldn't gravity snap correctly, or at least not in a way that makes sense to me. I had to use the other view points to determine when I was on the mark.

So I'm wondering (1) why the cube constructor was changed and (2) how most DC'rs would have handled this.

Finally, when I made the work plane, I specified 3 points (origin, x-axis, and orientation). But according to the help file, I should have also been able to specify which side of the wp is the front. But it didn't offer me that opportunity. Has this changed, or is there a special incantation?

Thanks!
Mark

Dr PR

Mark,

If I understand correctly you are having trouble creating a door in a wall in a 3D drawing. Specifically, you have extruded a 2D floorplan, leaving a gap where the door should be, and you want to fill in the header over the door - right? Here are several suggestions.

1. To create a box for the header, use the "Point Relative" (') function. Start the "Box" command and set the first point at the top of the door opening on one side. Then use the comma key (gravity snap without setting a point) to place the cursor at the top of the other side of the door opening, on the other side of the wall. Then use the "Point Relative" function to set the second point of the Box relative to the current cursor position, down (-Y) however far the header should extend.

2. A bit quicker way is to set the first point for the Box at one corner of the door opening and just use the "Point Relative" function to set the second point the appropriate X, Y and Z distances from the first point.

3. A better way to create the door would be to extrude the entire wall and then cut out the door opening. See the attached "door demo.jpg" image. The red wall was created with the "Wall" function (see below) using the black floor plan for a guide.

After creating the wall, make a box the size of the door opening and thicker than the wall, and use "Solids/Solid Subtract" to subtract the box from the wall. You can create the box as above using the "Point Relative" function. The green box is an example.

Caution: when using "Solid Subtract" it is a good idea to make the solid to be subtracted a bit oversized if necessary to ensure that the two solids do not have coplanar surfaces. If the solid to be subtracted has a surface in common with the solid to be subtracted from, the 2D plane the solids have in common may remain after the subtract operation. This plane will block the opening. In the image the green box has two surfaces coplanar with the red wall.

To be sure this vestigial plane does not remain, make the solid to be subtracted a bit oversized and position it so there are no common surfaces. In the case of the box for the door opening, be sure it extends a bit below the lower wall surface, and position the box so it extends beyond the wall surfaces on both sides of the wall. The blue box in the image extends below and to both sides of the red wall.

After using "Solid Subtract" you have a clear door opening with a header.

4. DesignCAD has a "Solids/Wall" ([) function that automatically adds thickness to a 3D wall solid. Just set the desired thickness and draw two points to create the wall. This is very useful for creating solids of a defined thickness at odd angles relative to the X, Y and Z axes. For example you can use it to create plates over openings in angled surfaces, etc.

Phil
DesignCAD user since 1987

Pearco

Phil

Nice explanation to the question.
Jim
User since ProDesign 1.5

MarkX

Hi Phil,

That is a very nice explanation of various approaches. I suddenly see the value of the gravity move, which was a bit unclear before. Cutting doors after extrusion makes sense too. Assuming its possible to extrude solids as well? Have to look into that.

The tutorial just did a plain extrusion of the floor plan, and so all the walls apparently are "grids" -- not solids and not planes.   Now I have a header part that I've copied and rotated from the other doorways, that doesn't quite reach across a hallway. The header is a real solid, having been formed using the box (cube) tool. I was thinking that I could edit the points on the cube and stretch the cube to the far wall. But there's nothing to gravity snap to on that wall. Looking through the other snaps, it appears that I could turn on orthogonal mode, and snap to a the wall as a plane. EXCEPT, that the wall is not a plane, its a grid.

Assuming that I don't know exact distances (because the tutorial took a very casual approach to door-cutting) how could I stretch the cube and/or create a new cube, when the final "anchor" for the far end of the cube is just a wall, made of a "grid" (not well defined in the help). In the morning light I see that I could probably snap to the corner of the other header, but knowing how to deal with a grid/plane is still useful.

And/or, is there a way to quickly convert a "grid" into a plane? Couldn't find anything in the conversion routines that seemed to work.

Thanks!
Mark



DrollTroll

Mark when you extrude a line, you get a grid. When you extrude a plane, you get a grid which is capped by a plane on both ends.

If you turn on DoubleLine mode,  you can use the Double Line toolbar to set your wall thicknesses, and if you choose the "Draw as Plane" option it will automatically create the walls as Planes when you draw them, so they're ready for extrusion.

A couple of things people sometimes overlook in 3D:
1) Are you in 2D Selection Mode or 3D Selection Mode? In 2D Selection Mode, gravity snap in the main view will almost always snap to the point that "looks" closest in that view; in 3D Selection Mode, it will snap to the point that's closest to the cursor's actual coordinates in 3D space. So if you've for example successfully snapped to the back end of a box that you're viewing almost head-on, then try to gravity snap to a point that *appears* very close on the front end, the results will depend on your selection mode. In 2D Selection Mode the snap will probably work as expected; in 3D Selection Mode, you may be scratching your head wondering why it snapped to the back end again. That's because the cursor's Z coordinate is still much closer to the back end than the front.

2) If you ARE in 3D Selection Mode, and have good reason to want to stay that way, remember you can use Ctrl_Shift as you move the cursor to move in or out along the depth axis in that view (typically Z in the main view, but depending on the rotation angles of the view). This can make it easier to snap to the point you are actually trying to reach. You'll need to check your cursor position in the 3 Ortho views as well but with practice you will quickly get used to it.
25 years with DesignCAD

magic

Hi Mark,

Go to point select mode and select your header, and you'll see little square at the corners. If you drag around the little squares that you want to move (stretch) you will select those, and now you can drag them by placing your cursor on top of them.

You can make the cursor move only along the X-axis by golding down the Shift key, while you move your mouse, hold down your Ctrl key to move the cursor along the Y-axis and both of them to move it along the Z-axis.
It's a kind of magic!




MarkX

Hi DT & magic,

DT: I can select the snaps correctly in 2D selection mode, but then it only wants to make a box (not a cube).  The snaps are a real pain in 3D mode, but then it allows me to make a cube.

magic: Once I have selected the points, how do I get them to just touch the "wall", which is actually a grid? I tried various techniques for welding the grid back into a plane, but that didn't work. The only thing I could see was either to draw a plane over the grid, or to draw a line or other marker to create a snappable point on the wall.

Thanks!
Mark

Rob S

#7

Normally, after drag selecting the four points you want to move, you would be able to pick the point which need to go to the top edge of the adjacent wall, and use a "K" snap to connect it to the edge.

I have not tried your actual drawing, but just thinking - what version are you using?

There are some issues in V21.0 with snapping to edges of planes, which has been resolved in an update not yet released.

User since forever

MarkX

Quote from: Rob S on August 05, 2011, 09:23:39 AM

Normally, after drag selecting the four points you want to move, you would be able to pick the point which need to go to the top edge of the adjacent wall, and use a "K" snap to connect it to the edge.

There are some issues in V21.0 with snapping to edges of planes, which has been resolved in an update not yet released.
Hi Rob,

I tried this approach, using the back point to click on before moving to the top line of the wall. It doesn't precisely hit the top of the wall. Would "K" always pick the closest point? Or is it any point on the line?

I am using v21 at the moment, so maybe that has something to do with it. But does the grid count as a plane, anyways? Or would "snap to plane" not treat the grid like a plane.

Thanks!
Mark

Rob S

Can you post your actual drawing file or at least this part of it for testing?

Use "additional options" below the compose window.
User since forever

MarkX


Rob S

What seems to work for me reliably is to select the header and then in point select mode drag-select the four points closest on the right end so the circles turn solid blue.

Then turn on ortho mode, click on the near top point, and snap to the top point of the long wall.  The header stretches exactly to the face of the wall.

I tried also K-snapping (nearest corner) to the top edge of the long wall nearside grid, and it first failed but then it worked, so you can try that also.

Another way that worked was to draw a line along the top edge of the header, extend it out to the long wall, and then as above move the corner point to the intersection of this line and the long wall.
User since forever

MarkX

Quote from: Rob S on August 05, 2011, 12:36:53 PM
Then turn on ortho mode, click on the near top point, and snap to the top point of the long wall.  The header stretches exactly to the face of the wall.

Hi Rob,

As I mentioned, in the morning light I realized I had one exact point to snap to. But if the wall were cut slightly differently, it wouldn't be there, which is why I'm still wondering about the snap-to-plane thing.

I wasn't able to get the K-snap to work correctly -- always a little off. Then I tried putting a line along the top as you suggested and extending it to the wall. Then I used the plane/line snap. This was very, very close -- but there's still a tiny gap. I suppose the two wall cuts might be a different size, or I didn't rotate the header copy in correctly, but I can't spot this inconsistency.

Thanks!
Mark

Rob S


If you wanted to meet up your header to an angled wall nearby you could do the following:

Draw a temporary "plane" against the face of your header big enough to extend past the adjacent wall surface by snapping to the two end points and two points a ways back using "K".

Select this temporary plane by clicking near one of its back corners, and move it ahead and snap it to the edge of the header til it intersects the "long wall"

Then use the "Draw, Line, Surface intersection" command to draw a line where the two surfaces intersect.  Then move the corner points of one face of the header individually to the ends of this line and do the same for the other face.

Result - a perfect mitre against a surface with no points nearby.

Magic, can you do us a movie!!!!
User since forever

Dr PR

To add to what Rob said, look at the attached image "point edit.jpg."

In part 1 you see a black wall and a red header box, with a gap between the header and the wall. You want to stretch the header so it joins the wall.

You can use the "Point/Line Snap" (K) function to set a point along a line or the edge of a plane. Or you can use the "Draw/Line/Perpendicular to a line" to do the same thing, but also generate a line. Note: the "Perpendicular to a line" function will not draw to the edge of a plane - you must create a temporary line along the edge of the plane.

This is what I did in part 2. I created the temporary green line and then drew the blue perpendicular line from a corner of the header box to the green line across the top edge of the wall. The end of the blue line is at the closest point (perpendicular) on the edge of the wall from the corner of the red header box.

In part 3 I selected the red header box in Point Select mode (CTRL 1 toggles PS mode on/off), and all of the corner points are shown with little squares around them. Then I dragged a selection box around the four points on the end of the red header box closest to the wall to select only these four points (they turn to solid blue squares).

In part four the selected points have been dragged to the wall to stretch the header box. To do this I moved the cursor over the selected point at the end of the blue line - the cursor changed to a cross-hair target. Then I gravity snapped (right click) to that point to select it, dragged the cursor/point to the other end of the blue line, and again gravity snapped. When the selected point moved it brought along the other three selected points with it to stretch the red box.

Point Select mode is a very powerful editing tool. You can move individual points or groups of points, add new points to lines, curves or planes or delete existing points from lines, curves or planes. As shown here, you can use Point Select mode to stretch parts of solids, move holes in solids, and a lot of other useful tricks.

Rob's suggestion of setting Ortho Mode (H) and using "Line Snap" (K) is a faster way to drag the points of the header box to the edge of the wall. If you don't use Ortho Mode the selected point may not be set at the closest point to the corner of the red header box. I prefer drawing the temporary lines so I can check to be sure the end point is in the right position before I edit the box in Point Select mode. After the job is done I need to delete the green and blue temporary lines.

Another useful function is "Point/Plane Snap" (F7 key). This snaps the cursor the the closest point on a plane. You can use it to draw lines perpendicular to the plane (or a solid surface). However, you must be sure the cursor is positioned over the surface of the plane (within the boundaries of the plane). If the cursor is off to one side of the plane F7 will snap to the closest point along the edge of the plane. The line will be perpendicular to the edge of the plane, but not to the surface of the plane. This is a reported bug, and we hope it will be fixed soon.

****

Here are some words about lines, planes, grids and solids. See the "grid and solid.jpg" image.

At the left bottom you see two rectangles, one red and the other green. In Wireframe View they look alike except for the color. Above them are objects made by extruding the rectangles vertically. Again, they appear similar in Wireframe View.

On the right are the same objects rendered in Shaded View (Gouraud with graphics acceleration enabled). You can see the results are quite different. The red objects are a simple four segment line forming the rectangle, and the grid that was produced by extruding the lines. The grid is hollow, and the sides are planes with zero thickness.

The green objects are a plane and the solid that was extruded from it. Note that the plane renders as a colored surface, and the solid is closed on the ends.

The solid will work with the solid Boolean operations like "Solid Add" or "Solid Subtract." The grid will not.

Solids have sides made of planes and grids. Grids are made up of planes. All functions that work with planes work with grids and solids.

You should always work with planes in 3D drawings, and be careful to not produce polygons with lines. When you use a 2D drawing as the basis for a 3D drawing, such as using a floor plan to create a 3D model, the 2D drawing will be nothing but lines. If you want to extrude parts of the floor plan it is a good idea to place the 2D drawing on one layer and lock the layer. Then trace over the 2D lines on another layer, using the "Plane" (P) function and gravity snapping to the ends of the lines in the 2D drawing. Make planes for all of the wall bottoms, and then extrude these planes to create solid walls. You can then use "Solid Subtract" to cut doors and window openings in the solid walls.

Phil
DesignCAD user since 1987