NonManifoldTopology / Topologic

Topologic is a software modelling library enabling hierarchical and topological representations of architectural spaces, buildings and artefacts through non-manifold topology.
GNU Affero General Public License v3.0
74 stars 19 forks source link

Upward navigation may (still) return duplicate shapes #2

Open non-manifold opened 6 years ago

non-manifold commented 6 years ago

Expected Behavior

Edge::Wires() should not return duplicate wires.

Current Behavior

It returns duplicate wires. It seems like a wire is added to the global cluster discreetly.

Possible Solution

Steps to Reproduce (for bugs)

  1. Create a face
  2. Get one of the edges
  3. Get the wires from the edge

image

Context

This may affect other methods e.g. creating an aperture.

Your Environment

non-manifold commented 6 years ago

This is because the following two wires are added to the global cluster.

  1. The intermediate wire created in the face construction
  2. The wire inside the final face.

They both may be separate entities, but containing the same set of wires.