Skip to content

split blocks #8

Description

@leorosa

Hi Nicolas,

Regarding the splitting of blocks, I've thinking in using the following algorithm:

  1. select an edge;
  2. find all parallel edges (which is already done when setting edge properties);
  3. find all related points (p0 and p1 of each edge);
  4. calculate the middle position;
  5. find all parallel blocks;
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions