Hi Nicolas,
Regarding the splitting of blocks, I've thinking in using the following algorithm:
- select an edge;
- find all parallel edges (which is already done when setting edge properties);
- find all related points (p0 and p1 of each edge);
- calculate the middle position;
- find all parallel blocks;
- for each block,
6.1 create two new blocks, and
6.2 remove the original;
What do you think about these steps? I'm wondering, if a toolbox is needed, to inform a distance/ratio, or some other parameter. I intend to read more of the code, to reuse something already done. Probably step 5 will be tricky.
Best regards,
Leonardo Rosa
Hi Nicolas,
Regarding the splitting of blocks, I've thinking in using the following algorithm:
6.1 create two new blocks, and
6.2 remove the original;
What do you think about these steps? I'm wondering, if a toolbox is needed, to inform a distance/ratio, or some other parameter. I intend to read more of the code, to reuse something already done. Probably step 5 will be tricky.
Best regards,
Leonardo Rosa