Mesh to Solid

Plugin AVC_MeshToSolid for AutoCAD and BricsCAD

Convert Polyface Meshes and regular Meshes to 3D Solids. Connecting of meshes. 

And command for explode the mesh on the line.

If you often come across dwg files exported from visualization programs such as 3Ds Max or SketchUp, then you certainly noticed that the 3d models in these files are not solid, but polygonal ones, consisting of meshes. Moreover, most often there are found the called Polyface Mesh, which have not been used in dwg for several decades. No command works with these meshes. This wretched legacy of ancient times can neither be measured (snaps don't work), nor transformed into something normal, nor even explode.

Models imported from Acis or SAT files present the same problem. In them you will find 'Body' objects, not solids. Nothing can be done with these objects either.

But now you have a tool that will solve this problem. The MeshToSolid command works with both ancient Polyface Mesh and normal Meshes (SubDMesh). It will allow you to collect a solid from the meshes. And if that doesn't work, then at least convert the PolyfaceMesh to Mesh. 

The program for creating new blocks from old ones, AsmNew, can call MeshToSolid. You can create dynamic blocks with meshes. Meshes, unlike solids, can be stretched in dynamic blocks. This way your wall sections, drawers, exhibition construction systems (Octanorm) can be easily customized with the parameters of dynamic blocks. But in order to further use details from these blocks in AVC plugins, you will need to convert all meshes into solids. The AsmNew command will do this conversion at the same time as creating a new assembly from the former dynamic block.

As a last resort, you now also have a mesh explosion program that converts any meshes into lines in one click. Now you can at least measure this architectural sketch normally in order to build a complete solid model.

Capabilities:

Meshes with more than 10,000 faces are not processed as this can obscure AutoCAD | BricsCAD. But this figure can be adjusted.


Read about downloading and installing the program here.

To run the plugin, you will have to register account and top up your account balance by making a donation or receiving bonuses.

Then you can activate one of the licenses:


The MeshToSolid and MeshExplode commands is included in the collections A>V>C> Kit and A>V>C> Pro.

MeshToSolid command

The command of converting Polyface Meshes, regular Meshes (SubDMesh object) and 'Body'-objects to 3D-Solids. AutoCAD | BricsCAD has a built-in ConvToSolid command, but it rarely works with Meshes and never works with Polyface meshes. A>V>C> MeshToSolid command works much more often and faster, but also not always. 

To convert a mesh to a solid, you need the mesh should completely enclose the volume, without holes or breaks.

All Polyface meshes are immediately converted to Mesh, even if they could not be converted to solid.

If many meshes are selected at once and some of them are not closed, then the program will try to combine these meshes into one and convert them into a solid.

You can select and transform multiple meshes at once. In this case, unsuccessful mehses (failed to make solid) will be colored red.

The number of received solids is displayed on the command line.

Meshes with more than 10,000 faces are not processed as this can obscure AutoCAD | BricsCAD. But this figure can be adjusted.

Optimization of the number of solid faces in this program is disabled by default. Therefore, rectangular faces will be composed of multiple triangles. You can enable optimization in the settings, but with optimization enabled the conversion often does not work. There have been cases where conversion with optimization has caused AutoCAD fatal errors.

The program can save the color and material of the meshes and their individual polygons and apply it to the solid faces. Finding face matches is a time-consuming process, so this feature is disabled by default.

MeshExplode command

Command to explode Polyface Meshes and regular Meshes on lines. The usual _Explode command does not work with PolyfaceMesh. You can also explode ordinary meshes and 3D-Face objects. You can select and explode many mehses at once. 

Meshes can be selected before calling the command or after. 

Mesh properties (layer, color ...) are transferred to the lines.

Meshes with more than 10,000 faces are not processed as this can obscure AutoCAD | BricsCAD. But this figure can be adjusted.

Setting up

To configure the program, open the AVC Settings Palette using the AVСOptions command and select the Mesh To Solid tab.