#6165·openscad

Degenerated face with manifold back-end from simple geometry

Author: tturpinCreated Sep 5, 2025Updated Sep 27, 2026
LabelsType: BugTag: Manifold

I'm just starting to use the (not so) new manifold back-end, which seems much more robust and efficient than CGAL, but I found some errors in meshes generated from some models. Here is the simplest one, which I reduced as much as I could. It generates a mesh (3mf or stl) with a degenerated face (checked with FreeCad).

Here is the code:

module profile() rotate(45+2) {
  translate([0,-0.8-0.5]) square([15,0.8]);
  translate([4.6,-0.8-0.5]) rotate(-45) square([2,1]);
}

linear_extrude(40,center=true) profile();
mirror([0,0,1]) translate([0,0,-20]) linear_extrude(5) profile();

Tested with OpenSCAD-2025.09.02.ai27105-x86_64.AppImage on Ubuntu 24