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.

Removing a subtracted solid

Started by pnb, December 10, 2019, 08:13:17 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

pnb

I am trying to correct a dimensional mistake in a solid.
If I explode the solid, delete the lines that are incorrect, the vertical slot in the attached, will that cause complications further on when I create a new slot 6mm away from it?
Peter
DesignCad 3D Max 2021, 64bit

Rob S

My first thought, assuming the required slot is similar to the existing, merely moved sideways by 6mm, would be to use stretch commands or point-move commands to relocate the existing slot rather than trying to delete and redo.

The difficulty with deleting it is that you need to replace the broken sides with single continuous new sides from end to end, which might be hard to do correctly.

Using point-select mode, you select the entire panel, all points are shown with open circles, highlight by drag select all of the points you need to relocate they become solid blue dots, and then left click one of the highlighted points and set a new point for the relocation.

It is often a good idea to draw a temporary line from one of the points in the direction and distance you want to move, that makes it easier to set the final point on the end of the temporary line.

Using stretch, you need to be able to draw a 3D box around the section to be relocated by setting two points in opposite corners, and then set two points to establish direction and distance.  Unfortunately that way it does not visually show you what has been enclosed for the stretch.

You can always practice on a copy of your drawing til you get it working.
User since forever

Dr PR

#2
Rob's suggestion of moving points in Point Select mode ("CTRL 1" toggles Point Select mode on/off) would be the easiest way to make the change.

See the attached picture. I selected all of the points in all surfaces around the top end of the slot and repeated this for the bottom end of the slot. After selecting some of the points you can add to the selection by holding down the "Shift" key and dragging a selection box around more points. Then I moved them all X distance to the right.

The "Modified slot" image shows the results. Note that I changed the color to red (I normally draw with the Default material and red color). This makes it much easier to visualize the surfaces in shaded mode than the dark gray. I sometimes use cyan and green for different parts. After I have created the object that I need I change the color/material to what I want for the finished part.

Also, notice that you have a small cylinder in the center of the circular opening. Is this intentional?

This technique is sort of a "poor man's" parametric method. It allows you to resize some existing elements of the drawing without redrawing them.

****

When you make your point selection be careful that you don't accidentally select points that aren't part of the slot. This could happen if you tried to do the selection from the "top" view. Check to be sure that the selected points (blue circles) are all that you need to move the slot and not any of the other points.

One thing to be VERY careful about is that you can accidentally move points out of the plane of the surfaces they are in. This will pretty much ruin the drawing! Rob's suggestion of drawing a reference line, with one end where you want to move the selected selected point, is a very good idea. This will allow you to check to be sure this position is correct (same plane) relative to the other points in each surface. Then, when you are sure it is correct, make the move(s) and then delete the reference lines.

Phil
DesignCAD user since 1987

pnb

Thanks Rob.
I have to move the horizontal slot of the 'H' in the panel. The vertical parts of the 'H' are correct, it is just the horizontal is placed 6 mm incorrectly. :-[
Thinking about it perhaps the cleanest way to do it is:
Explode the solid
Add a temporary line to the corner of the H slot
Delete all of the H slot
Draw and extrude a new H slot and then subtract it from the panel at the temporary point
Remove the temporary line
Define the solid again.
Peter
DesignCad 3D Max 2021, 64bit

pnb

Thanks Phil, very impressive manipulation!
:-[ I posted the wrong drawing! You must have been wondering what I was talking about with H slots. Sorry.
I am now back to using version 25 as the stray lines with the trial 2019 was driving mad. It is a bit of a challenge as I can't scale the Icons with this version and everything is very, very small.
Completed the alterations as per my last post and it looks ok, attached.

Peter
DesignCad 3D Max 2021, 64bit

Lar

Quote from: Rob S on December 10, 2019, 09:02:42 AM
Using stretch, you need to be able to draw a 3D box around the section to be relocated by setting two points in opposite corners,

In 3D mode when using the Stretch Command you can turn off "Use 3D Selection Box" to draw just a 2D rectangle when setting the first 2 points. This will work in any view angle but it's normally best to use an ortho view to draw the 2D rectangle in.


Lar

pnb

Thanks everyone.
Phil, I left the small hole in the centre of the large hole thinking it would give the centre reference for future manipulation.
It doesn't help!
I now want to move the group of holes a small amount and have struggled to find the centre of them.
Is there an easy way?
Peter
DesignCad 3D Max 2021, 64bit

Dr PR

The way I do it (and many other Forum members) is to draw a three point circle, snapping the points to the circumference at one end of the hole (or cylinder). Then when you select the new circle the center will be the primary handle and will appear as a large blue dot.

Then, with the circle selected, I usually start the Line (V) function and gravity snap to the circle's center and then set a second point somewhere else. This gives a reference to the center of the end of the hole (or cylinder). You can delete the circle so it doesn't interfere with further selections, or accumulate as garbage in the drawing.

I often place the circle and line on another unused (reference) layer. This can be disabled to get the circle and line out of the way, but you can enable the reference layer again if you decide you need to know the original position of the hole/cylinder.

Phil
DesignCAD user since 1987

pnb

Thanks Phil. I had forgotten about the 3 point circle, that makes it an easy process.
I am back using V25 as the demo version has expired.
I notice that when I use MOVE with the group of holes and its centre handle, the transparent box I am moving is a very elongated box, nothing like what I would expect the 'volume' my group of holes to be. Is that normal?
Peter
DesignCad 3D Max 2021, 64bit

Dr PR

pnb,

I don't understand what you are describing. What "transparent box?"

First, what view are you using? Shaded, Wireframe, 2D or 3D cursor??

When I drag the cursor to make a selection I see a rectangular outline of the selection area on the screen. But after I release the mouse button this "box" disappears and the selected items are highlighted. If I then start the Move (M) command I see the selected objects move with the cursor but I do not see an enclosing "box."

Phil
DesignCAD user since 1987

pnb

Sorry a poor description.
3D, Wireframe, Main window, version 25.
I was moving a solid by selecting its handle, M for move and the entity is then turned into my "transparent box" as I move it.
The soli was roughly 10 x 10 x 2 cm but the box looked like it was  50 x 10 x 10.
Peter
DesignCad 3D Max 2021, 64bit

Adrian 2.0

As Phil said - I don't see the bounding box when I'm dragging an object, I see the actual object being moved.
I suspect you have 'Use bounding box for view and drag' checked in the options/view menu.
I have however experienced weird oversize bounding boxes when I copy & paste. They are usually caused when your object has hidden elements that are misplaced from the original solid. If for instance you had a stray line in your solid that was on a hidden layer and you then selected the object and dragged the selected points to a new position, the stray line would stay in the original place but not be visible but would be included in the bounding box.

Adrian

Dr PR

pnb,

I experimented with V25.2 with "Use bounding box for view and drag" enabled and disabled, and all I saw was the outline of the original solid.

Adrian has a good point. Is the object you are moving a simple solid, like a box (cube) or is it something you have constructed through several operations and then combined the parts with "Solid Define.?"

If by chance you combine an arc with other objects into a solid or group, the center of that arc will be invisible, but when you select the group/solid the bounding box will stretch to include the invisible center.

****

Another potential hidden feature is the "container" for a nested group. The "container" is invisible and is not a real drawing object. It does not have to be on a layer with any real drawing objects. It is essentially an invisible point somewhere in the drawing, and you have no control over where it may be. Initially it will be within the bounds of the objects that were combined into the nested group. But you can move those objects without moving the container (this isn't supposed to happen but I have done it several times without realizing it). The consequence is the invisible "container" point being somewhere away from any other part of the drawing on a separate layer from any other part of the drawing. It is absolutely the worst and most senseless way to create nested groups that I have seen in any program!

There is no way for you to correct this. The only way to solve this problem is to not use nested groups. To me they are anathema. I always disable nested groups, but the damned program sometimes enables them again. So every time I create a group I 1) select the objects and then 2) use "Recursive explode" to eliminate any groups and nested groups. Then 3)  I use "Shift P" (Edit/Select Previous) to reselect all of the objects and then 4) group them. This ensures that all inadvertent nested groups are exterminated.

****

Another way to get peculiar bounding box results is to have a group or solid with parts on multiple layers. If one of the layers is disabled you cannot select or move the group/solid. However, if you open the Layers dialog and select "Unlock All" it will free up the invisible parts of the solid/group so you can move then even though they are hidden.

Although it may sound like a bug, being able to unlock all layers, even hidden ones, is essential! Sometimes DesignCAD screws up during Solid Boolean operations and places some of the parts of the new solid on unused and locked layers (a real bug) - normally layer 0 (zero). For this reason I never put anything on layer 0. If anything shows up there it is due to a DesignCAD screwup - and this happens all too frequently. In addition, the parts of a solid that end up on layer 0 are also changed to material 0 (Aluminum). If you view the solid in OpenGL Gouraud shading the wayward facets will appear to be black.

I also think earlier versions of the program may have occasionally scrambled solids with gthe wayward parts on other layers than layer 0. I think I found them on layer 255 once, but I haven't seen this in years. Both errors (0 and 255 [-1]) are common math errors, using the wrong compliment process. This is a common programming error.

In any case, when solids are scattered between layers, and the layers are invisible or locked, you can no longer select the solids. The solution is to use "Unlock All" in the Layers dialog. Then select the part of the solid that you can see and use the Layers tool bar A+ button (Apply Layer to Selection) to move all parts of the solid to the current layer. Next, open the Info Box (CTRL I) and redefine the material and color you want for the entire solid.

Personally, I think of solids as single objects, and it should not be possible to create solids with parts on multiple layers. Groups are multiple objects, and it should be possible to create groups (and nested groups) of objects on multiple layers.

Phil
DesignCAD user since 1987

Rob S

Having parts of a solid on different layers might seem an odd concept, but it can be sort of handy to look inside complex solids by turning off the layer containing the front part.

This does require advance planning, or can be achieved by exploding, changing layer of desired portion, and then re-solidifying.
User since forever

pnb

Thanks folks.
Adrian. Yes the Options/View bounding box switch was set, the item shape returned when I turned it off. The item was also copied and pasted but that was done by gravity snapping it as a single solid so I don't think there were additional bits. Strangely the bounding box did appear the correct size on subsequent moves?
Phil. I haven't got into Groups so I will have to try to return to your comments/procedure if I do. Hope I get in to DC that far!
So far I have resisted using layers in 3D except for temporary construction lines and points. Maybe I will investigate it when I get more practised. I used to use it all the time in 2D and found it extremely useful. I can see that working in 3D has different requirements, especially if it is going to be the source for 3D printing.
 
Peter
DesignCad 3D Max 2021, 64bit