#5980·openscad

Customizer spin-box widgets do not correctly follow specifications for their values

Author: bitbasherCreated Jun 16, 2025Updated Sep 27, 2026
LabelsStalledType: Bug

Describe the bug this code defines 3 simple parameters that will render as spin-boxes

// spinner xxx
xxx = 12;
// spinner yyy
yyy = 14; // [2]   
// spinner zzz
zzz = 14; // [-5:2:30]

these are the widgets in the customizer: Image

there are a few, related issues:

  1. the starting value for zzz should be the same as for yyy, that is 14
  2. the max value for zzz should be 30, but it is not possible spin larger than 29
  3. the range for yyy is limited to 0:14 when it should be negative max to max = 2
  4. the range for xxx is anything from negative max to positive max,

my system is OpenSCAD Version: 2025.03.31 (git 3c1f9e779) System information: Microsoft Windows 11 (10.0.26100) x86_64 32 CPUs 31.77 GB RAM User Agent: OpenSCAD/2025.03.31 (git 3c1f9e779) (Microsoft Windows 11 (10.0.26100) x86_64) Compiler: GCC "13.2.0" 64bit MinGW build: MingW64 Debug build: No Boost version: 1_81 Eigen version: 3.4.0 CGAL version, kernels: 5.5, Cartesian, Extended_cartesian, Epeck OpenCSG version: OpenCSG 1.5.0 Clipper2 version: 1.5.2 Manifold version: 3.0.1 Qt version: 5.15.11 QScintilla version: 2.11.2 InputDrivers: GLib version: 2.70.2 lodepng version: 20230410 libzip version: 1.5.2 fontconfig version: 2.14.2 freetype version: 2.13.2 harfbuzz version: 7.3.0 cairo version: 1.16.0 lib3mf version: 1.8.1 Features: roof*, input-driver-dbus, lazy-union, vertex-object-renderers-indexing, textmetrics*, import-function, predictible-output Application Path: C:/Program Files/OpenSCAD (Nightly) Documents Path: C:\Users\Jeff\Documents User Documents Path: C:\Users\Jeff\Documents Resource Path: C:/Program Files/OpenSCAD (Nightly) User Library Path: C:/Users/Jeff/Documents/OpenSCAD/libraries User Config Path: C:\Users\Jeff\AppData\Local/OpenSCAD Backup Path: C:/Users/Jeff/Documents/OpenSCAD/backups OPENSCADPATH: OpenSCAD library path: C:/Users/Jeff/Documents/OpenSCAD/libraries C:/Program Files/OpenSCAD (Nightly)\libraries

OPENSCAD_FONT_PATH: OpenSCAD font path: C:/WINDOWS/fonts C:/Users/Jeff/AppData/Local/Microsoft/Windows/Fonts C:/Users/Jeff/AppData/Roaming/fonts C:/usr/local/share/fonts C:/usr/share/fonts C:/usr/X11/lib/X11/fonts C:/System/Library/Fonts C:/Library/Fonts C:/Users/Jeff/Library/Fonts GLEW version: 2.1.0 OpenGL Version: 4.6.0 NVIDIA 576.02 GL Renderer: NVIDIA GeForce RTX 4080/PCIe/SSE2 GL Vendor: NVIDIA Corporation RGBA(8888), depth(24), stencil(8) GL_ARB_framebuffer_object: yes GL_EXT_framebuffer_object: yes GL_EXT_packed_depth_stencil: yes

Qt graphics widget: QOpenGLWidget QSurfaceFormat: RGBA(8888), depth(24), stencil(8)

hardware Device name sonequa Processor Intel(R) Core(TM) i9-14900K 3.20 GHz Installed RAM 32,0 GB (31,8 GB usable) Device ID 287FD8FA-86F8-4F21-83CA-3A4CE04FF4A1 Product ID 00330-53538-17717-AAOEM System type 64-bit operating system, x64-based processor Pen and touch No pen or touch input is available for this display

windows

Edition Windows 11 Pro Version 24H2 Installed on ‎18/‎05/‎2025 OS build 26100.4349 Experience Windows Feature Experience Pack 1000.26100.107.0