Package: openscad
Version: 2021.01-6
Severity: important

Dear Maintainer,

When I open this SCAD source:

    difference() {
        cube([10, 10, 10], center = true);
        cube([5, 5, 10], center = true);
    }

the preview shows garbage in the "openings" created by the difference
operation. The display of the garbage changes as I rotate or zoom the
view.

To get rid of the garbage completely, I have to do a full render. That
is very time-consuming on a larger model, whereas the garbage effect makes
previewing almost useless, so I rated this severity "important".

The bug is independent of the objects being differenced.
It occurs when there is exact co-planarity of
a face of A and a face of B in
    difference() { A; B; }

-- Package-specific info:
Output of /usr/share/bug/openscad:
$ glxinfo |grep 'OpenGL .* string:'
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 5700 XT (navi10, LLVM 15.0.7, DRM 3.52, 
6.4.0-4-amd64)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.1.6-1
OpenGL core profile shading language version string: 4.60
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.6-1
OpenGL shading language version string: 4.60
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.6-1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-4-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openscad depends on:
ii  lib3mf1                                            1.8.1+ds-4
ii  libboost-filesystem1.74.0                          1.74.0+ds1-22
ii  libboost-program-options1.74.0                     1.74.0+ds1-22
ii  libboost-regex1.74.0 [libboost-regex1.74.0-icu72]  1.74.0+ds1-22
ii  libc6                                              2.37-7
ii  libcairo2                                          1.17.8-3
ii  libdouble-conversion3                              3.3.0-1
ii  libfontconfig1                                     2.14.2-5
ii  libfreetype6                                       2.13.2+dfsg-1
ii  libgcc-s1                                          13.2.0-2
ii  libgl1                                             1.6.0-1
ii  libglew2.2                                         2.2.0-4+b1
ii  libglib2.0-0                                       2.78.0-1
ii  libglu1-mesa [libglu1]                             9.0.2-1.1
ii  libgmp10                                           2:6.3.0+dfsg-2
ii  libharfbuzz0b                                      8.0.1-1
ii  libmpfr6                                           4.2.0-1
ii  libopencsg1                                        1.5.0-1+b1
ii  libqscintilla2-qt5-15                              2.14.1+dfsg-1
ii  libqt5core5a                                       5.15.10+dfsg-3
ii  libqt5dbus5                                        5.15.10+dfsg-3
ii  libqt5gamepad5                                     5.15.10-2
ii  libqt5gui5                                         5.15.10+dfsg-3
ii  libqt5multimedia5                                  5.15.10-2
ii  libqt5network5                                     5.15.10+dfsg-3
ii  libqt5widgets5                                     5.15.10+dfsg-3
ii  libspnav0                                          1.1-1
ii  libstdc++6                                         13.2.0-2
ii  libx11-6                                           2:1.8.6-1
ii  libxml2                                            2.9.14+dfsg-1.3
ii  libzip4                                            1.7.3-1+b1

Versions of packages openscad recommends:
ii  openscad-mcad  2019.05-1

Versions of packages openscad suggests:
pn  geomview          <none>
pn  librecad          <none>
pn  meshlab           <none>
pn  openscad-testing  <none>

-- no debconf information

Reply via email to