Description
Describe the bug
when i define 2 parameters for the customizer
ScalarRange1= 12; //[1:2:50]
VectorRange1=[12]; //[1:2:50]
notice that the scalar value is 13 and the vector item is at 12.
They should be the same, no?
i suspect the scalar value being 13 is due to the increment of 2 and the minimum of 1 adjusting to a valid value for the param.
i also notice that decrementing the scalar to the minimum, 1, and the incrementing it now jumps along the odd numbers, and that cant be right.
i have seen a few other oddities in the way customizer handles mismatch between default values and specifications but this, to me, is clearly a bug.
Environment and Version info (please complete the following information):
- OS: [e.g. Windows 10, macOS 12 Monterey, Ubuntu 22.04]
- System: [e.g. Intel PC 64-bit, Raspberry PI 4]
- OpenSCAD Version [e.g. 2021.01, 2023.04.16] and where it was installed from
Library & Graphics card information
OpenSCAD Version: 2025.03.31 (git 3c1f9e7)
System information: Microsoft Windows 11 (10.0.26100) x86_64 32 CPUs 31.77 GB RAM
User Agent: OpenSCAD/2025.03.31 (git 3c1f9e7) (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)
system info
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