Skip to content

[Bug] Contour logical operator subtract does not create a whole when a fully embedded contour is subtracted from its containing contour #2358

@jbocce

Description

@jbocce

Describe the Bug

This video demonstrates the bug well.

subraction.mp4

Steps to Reproduce

  1. Run the Logical Operations example.
  2. On Drawing Segment 1 draw the containing contour. Make it significantly big.
  3. On Drawing Segment 2 draw a smaller contour completely contained within the one drawn above.
  4. Select to subtract segment 2 from segment 1.
  5. Select segment 3 as the output segment.
  6. Click the Apply operation button.

The current behavior

The resulting segment does NOT contain a hole as what would be expected.

The expected behavior

Segment 3 in precisely segment 1 with segment 2 removed from segment 1 to form a hole.

System Information

Windows 11
Chrome 140.0.7339.208
Node 23.9.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions