CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 3818 

CAD tip CAD tip # 10229:

Question CAD 
 %  platform  category 
Q - question

How to find 3DFaces with degenerated vertices?

A - answer If you need to find 3D faces (3DFACE) with duplicate vertices in your DWG drawing - i.e. faces with overlapping vertex points 1/2/3 - you can use the LISP utility Sel3Face and its command SEL0FACE.

Download Sel3Face from, load the .LSP file with APPLOAD and run the command SEL0FACE. From the selected 3Dfaces, it leaves only those where it finds degenerated vertices - e.g. with equal first and third vertex (3dface degenerates to a line). The faces will stay grip-selected (e.g. for Delete), or you can use this command on the prompt "Select objects:" inside another command.

Similarly, the command SEL3FACE selects 3D faces without the fourth vertex, i.e. trilateral 3DFACEs.

You can set the tolerance for matching vertices using the FUZZ variable (setq).

The newer and more advanced utility SelFace (see can conveniently select also singular faces (1 vertex), horizontal faces or faces with zero elevation.

  • Trilateral - faces with three vertices, resp. with the 4th vertex = 3rd vertex
  • Quadrilateral - faces with four distinct vertices
  • Degenerate - faces with 2 matching vertices (from 3; =line)
  • Singular - faces with all matching vertices (=point)
  • Horizontal - horizontal level faces (same elevation of vertices)
  • Zerolevel - horizontal faces in Z=0
  • Cclockwise - faces with counter-clockwise vertices
100% *  CAD 
6.3.2015    4864×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 11311:Importing STL files directly into AutoCAD - STLin.
Tip 10682:Automatic classification of drawing objects by their properties.
Tip 9711:3DConstruct - converting a 3D mesh to a frame construct
Tip 9625:How to color 3D topo surface model by slope?
Tip 9063:Flip 3D faces (front/back) in AutoCAD.

Back   All CAD Tips All CAD tips&tricks

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.