Skip to content

[Bug] about vtkClipClosedSurface #3243

Open
@jinjilynn

Description

@jinjilynn

Bug description

When clipping a closed surface generated from a cylinder source along the X-axis, the surfaces along x-axis are not properly filled. However, clipping along the Y-axis or Z-axis works as expected.

Image

Image

Steps to reproduce

const cylinderSource = vtkCylinderSource.newInstance({
  height: 50,
  radius: 10,
  resolution: 100,
});

const planes = [];
const plane1 = vtkPlane.newInstance({
  origin: [1, 0, 0],
  normal: [-1, 0, 0],
});
planes.push(plane1);
const plane2 = vtkPlane.newInstance({
  origin: [-1, 0, 0],
  normal: [1, 0, 0],
});
planes.push(plane2);

Detailed Behavior

No response

Expected Behavior

filling all the surfaces

Environment

  • vtk.js version: 32.14.0
  • Browsers: 134.0.6998.205 extended (64 bit)
  • OS: window 11 (22621.5039)

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