Mesh to Solid

AVC_MeshToSolid plugin 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 like 3Ds Max or SketchUp, then you have certainly noticed that the 3D models in these files are not 3D-solids, but polygonal meshes. Meshes are also created by some furniture programs/add-ons, for example SwissAllCad, ABF. Often, so-called Polyface Meshes or PolygonMeshes are found there, which have not been used in dwg for several decades. No commands work with these strange meshes. This wretched legacy of ancient times cannot be measured (snaps do not work), cannot be converted to something normal. You cannot even explode it. 

The same problem is presented by models imported from Acis or SAT files. In them, you will find objects of the "Body" type, 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 PolyFaceMesh /PolygonMesh and normal meshes. It will allow you to assemble a solid from mesh fragments or individual faces (3D Face). And if that doesn't work, then at least convert them into normal Mesh (sometimes called SubDMesh).

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 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, Polygon Meshes, regular Meshes (SubDMesh object) , 'Body'-objects, 3D Faces objects and some 2D-curves 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.

To convert a closed polyline or circle into a solid you must first set the Thickness property to greater or less than 0.

All Polyface and Polygon 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.

If you select blocks, the program will check if they contain meshes. Nested blocks are also checked. The program only works with explodable non-annotative blocks.

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, Polygon Meshes and regular Meshes on lines. The usual _Explode command does not work with Polyface and Polygon Meshes. 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.