bpypolyskel
bpypolyskel copied to clipboard
A port of Botffy/polyskel library for Blender that outputs polygons formed by a straight skeleton. 'pip install mathutils' to use it as a general purpose library independent of Blender.
I would ideally like to get rid of the `mathutils` dependency at some point, so I've just replaced the call to `mathutils.geometry.intersect_point_line` with a simple Python function called `_intersect_point_line`. I've...
For consistency, the library shall use _numpy_ arrays instead of _mathutils.Vector_. The development is moved to the branch _dev_numpy_.
Sometimes it's desirable to prevent wave propagation for some edges. Below are a couple of examples.   The red color is used mark the edges with no wave propagation.
I am going to introduce automated tests. That will require some changes in python scripts located in the _debug_ or _tests_ directories.
I just have commited a first version of the bpypolyskel modules. The demo-module requires the mathutils library to be installed in your interpreter using 'pip install mathutils'. A demo running...
This issue shall be used to discuss propositions for optimizations of the project.
The first part is [here](https://github.com/prochitecture/polyskel/issues/4) ```python bpypolyskel.polygonize(verts, firstVertIndex, numVerts, numVertsHoles=None, height=0., tan=0., faces=None, unitVectors=None) ``` ### verts A list of vertices. Vertices that define the polygon and possibly its holes...
Suppose the straight skeleton has been calculated for a polygon. A maximum hipped roof height _roofHeight_ is given. All roof faces have the same pitch _α_.  So we have...
Some time ago I prepared the formulas to calculate the edge event. In our case h1 = h2 = h3 = distance = "time of edge event" Also for the...