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:
Convert PolyfaceMesh to Mesh
Glue scattered pieces of meshes into one closed mesh
Convert closed meshes to 3D solid
Convert 'Body' object (Acis, SAT) to 3d solid
Transfer the colors and materials of meshes or individual polygons to the corresponding solid face (this option must be enabled in the settings).
Explode PolyfaceMesh and 3D Face on Lines
Meshes can be selected before calling commands
You can handle many meshes once.
Mesh properties (layer, color ...) are transferred to the new solid / lines
Commands do not require any configuration
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:
Annual license - 10 EUR.
Unlimited license - 50 EUR. Free updates for 1 year.
The trial period is 20 days.
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.
Acceptable mesh complexity - The number of polygons in the mesh, more than which the mesh will not be processed in AVC commands. The setting works in the MeshToSilid, MeshExplode and Flat commands. Too complex meshes will take hours to process, and the solids obtained from them are not suitable for further work. You can assign 0 so that all meshes are processed (and kill AutoCAD). Remember that you are working in a solid modeling program and it cannot handle the crazy meshes from the Internet and from 3DS Max.
Saving Face Materials - Find polygons on the mesh with your own color or material and try to assign these materials to solid faces. Finding matches between mesh polygons and solid faces is a very complex and time-consuming procedure. Therefore, enable this option only if you actually assign colors and materials to some polygons.
Optimize solids - Glue mesh polygons into one solid plane to simplify the solid structure. Without optimization, the NC Preparation program will not be able to correctly construct the contours of the part for CNC. But by default, the option is disabled, because when optimization is enabled, AutoCAD often refuses to convert the mesh to solid. And there have been cases of AutoCAD crashing fatally.