bpypolyskel icon indicating copy to clipboard operation
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.

Results 10 bpypolyskel issues
Sort by recently updated
recently updated
newest added

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. ![image](https://user-images.githubusercontent.com/613295/103299780-5d491400-4a0e-11eb-931b-50563999af22.png) ![image](https://user-images.githubusercontent.com/613295/103299715-35f24700-4a0e-11eb-8675-a2132545f603.png) 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 _α_. ![image](https://user-images.githubusercontent.com/613295/93465967-2aae5c00-f8f4-11ea-97af-576c680bb1ad.png) 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...