Skip to content

Last release 175 breaks all my ExtrudedGeometry top and bottom faces #30855

Closed as duplicate of#30819
@Kikedao

Description

@Kikedao

Description

Top and bottom faces of ExtrudedGeometry are not visible any more when updating to r175, all was fine in the previous versions.

I think this PR could have broken it but I can't be sure:
#30750

r174, all fine:

Image

r175, top and bottom missing:

Image

Reproduction steps

  1. Create a shape for example this rounded corner rectangle:
const shape = new THREE.Shape();
const angleStep = Math.PI * 0.5;
const size = 0.64;
const radius = 0.32;

shape.absarc(size / 2 - radius, size / 2 - radius, radius, angleStep * 0, angleStep * 1);
shape.absarc(-size / 2 + radius, size / 2 - radius, radius, angleStep * 1, angleStep * 2);
shape.absarc(-size / 2 + radius, -size / 2 + radius, radius, angleStep * 2, angleStep * 3);
shape.absarc(size / 2 - radius, -size / 2 + radius, radius, angleStep * 3, angleStep * 4);
  1. Extrude the shape using ExtrudeGeometry:
const geometry = new THREE.ExtrudeGeometry(shape, {
	depth: 0.2,
	bevelEnabled: false,
	bevelThickness: 0,
	bevelSize: 0,
	bevelSegments: 0,
	curveSegments: 6
})
  1. The top and bottom faces, the ones corresponding to the original shape, are missing.

Version

r175

Device

Desktop

Browser

Chrome

OS

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions