News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

Subtracting from a grid

Started by Dr PR, July 12, 2011, 08:54:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

Sometimes you may want to "drill" a hole in a grid surface. You can do this by selecting the grid and using "Solids/Solid Define" to make the grid a solid. Then you can use "Solids/Solid Subtract" to subtract a "tool" solid from the grid.

For example, in "grid 1.jpg" I wanted to subtract the red solid from the blue grid.

However, as "grid 2.jpg" shows, when you do this subtraction the entire grid may explode into a huge number of triangles. When this happens file size will increase tremendously (lots of triangles instead of a single grid). Furthermore, this fragmented grid will no longer work if you want to drill another hole. This is a reported bug.

One other nasty problem is that some of the grid facets are moved to another layer, usually Layer 0 (zero) and the material of these wayward pieces is changed, usually to "Aluminum." Note the single black facet near the top of "grid 2.jpg" - this piece has been moved and transformed. When this happens, enable Layer 0, select the grid, and use the Info Box to put everything back where it belongs and change the material back to what it should be. This is a reported bug, and it will be fixed eventually.

My solution to the fractured grid problem is shown in the "grid 3.jpg" image. I used the original grid to create a new set of template lines for the "Surface Connect" function. Then I created four individual grids (red, green, blue and cyan) around the area of the hole. Then I created a fifth grid (black) over the surface to be "drilled." I then used "Solid Subtract" to subtract the tool solid from the black grid.

This actually created another fragmented grid around the hole, and I wanted to clean up this junk. I redrew all of the grid polygons on another layer, using the "Plane" (P) function and gravity snapping to the points around each grid facet. After I had redrawn all of the facets around the hole I deleted the fragmented grid and grouped all of the black polygons.

Finally, I moved all grids to the same layer and used "Solids/Solid Define" to lump them together as a single new surface. I then assigned a new color to the surface and used it to create a new solid, as shown in "grid 4.jpg."

Note: It is necessary to put all of the separate grids into one solid to get them to render as a single smooth surface.

Also, sometimes when you use "Solid Subtract" with actual solids (and not just surface grids) you may get similar results. If this happens you can explode the solid and create a new set of surface grids using the fragmented grid to draw new template lines for "Surface Connect." After you have all the desired surfaces you can combine them together again into a solid with "Solid Define."

It is unfortunate that we have to do this, but until the bugs are fixed this is a way to drill holes in grids and avoid all the complications.

Phil
DesignCAD user since 1987