Skip to content
s-leger edited this page Mar 3, 2017 · 78 revisions

Welcome to the blenderPolygons wiki!

What does it do ?

Detect polygons from unordered splines like in architectural 2d drawings within a single click. Fix precision issues filling small gaps between lines encountred when importing. Once detected, you are able to pick polygons with a select tool and extract curves from your selection.

Why ?

Cleaning dxf files or redrawing walls in worst cases is often a painfull task. This script does automagically fix most issues encountred in such cases (not well formed lines), and allow you to simply pick needed polygons and get a clean curve of polygons boundarys.

How does it do ?

Under the hood, i do write from scratch the cleaning code and intersection detection to handle precision and optimization issuees occuring on medium data sets using a spacial tree (rtree). Polygonization is only a wrapper arround shapely as it is realy powerfull and quick.

Installation:

Install shapely and rtree
Setup the plugin as usual

Find it under view3d -> Tools -> Polgons

Usage:

Select one or many curves, pick "Detect" Use "Select / union" and follow on screen instructions.

Report errors and general feedback:

Should you find an error or want to report success/issues ? Issues Tracker

Clone this wiki locally