CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 4455

CAD tip CAD tip # 14017:

   
Question CAD 
 %  platform  category 
Q - question

Voronoi diagrams in AutoCAD.

A - answer In mathematics, a Voronoi (Thiessen) diagram, sometimes also called Voronoi tessellation, decomposition or Dirichlet tessellation, is a way of partitioning space determined by the distances to a given set of objects in space, for example a set of points. An example is a partitioning of a plane that assigns a region to each point P, such that all points in the region that are closer to the point P than to any other point in the initial set.

These diagrams have many applications in geometry, natural sciences, sociology, hydrology, architecture, chemistry, arts, etc. Among other things, they are used for optimal partitioning of plots, generation of cell structures, lattice structures for 3D printing, art, football, etc.

If you want to generate Voronoi structures in AutoCAD (from a given set of points), you can use the Voronoi LISP utility available on Download. After loading (APPLOAD), enter the VORONOI command and specify a set of initial, so-called seed points (you can generate these with the GENPTS command). Optionally, you can also generate hatched fills for individual cells of the diagram (Voronoi cells). And then color them randomly, e.g. using the Scatter utility.

See an example:

See also Wikipedia

ACADADTPlantACADMCivilMapACLT
100% *  CAD 
2.2.2024    107319×  

See also:
Tip 13583:Evaluate math expressions in AutoCAD DWG texts.
Tip 11914:Maze generator for AutoCAD.
Tip 9042:Random scatter of AutoCAD drawing objects - SCATTER.
Tip 7811:Nature doesn't use right angles.
Tip 7147:Create AutoCAD complex linetypes on the fly - LTfly.


Back   All CAD Tips



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   



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


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