sverchok icon indicating copy to clipboard operation
sverchok copied to clipboard

Custom normals for Duplicate along edges node

Open Durman opened this issue 4 years ago • 2 comments

There is interesting use-case of generating walls with the node which requires more accurate control over edge normals. It would be nice if the node could take extra input for edge normals. It's seen on the video that some windows look inside a building and some outside.

https://user-images.githubusercontent.com/28003269/103692727-a1f62180-4fb1-11eb-8cb0-c4362cc10944.mp4

test.zip

One more improvement could be adding extra output of a mapping between output matrixes and indexes of input edges. This data would help to build different walls from different blocks.

Durman avatar Jan 05 '21 20:01 Durman

Did you try to use Vector Sort "by connect" before adaptative edges?

vicdoval avatar Jan 05 '21 21:01 vicdoval

The node does not consider input edges as curves or polylines. Input edges can be connected any way with each other for the algorithm it does not matter. Probably if the node could understand that input is curves/polylines it would be the solution but to have input for custom normals should be more flexible.

Durman avatar Jan 06 '21 05:01 Durman