Skip to content

Instantly share code, notes, and snippets.

@Monniasza
Created February 19, 2024 09:53
Show Gist options
  • Save Monniasza/8cce959ca7d661030b4a5329b9eec068 to your computer and use it in GitHub Desktop.
Save Monniasza/8cce959ca7d661030b4a5329b9eec068 to your computer and use it in GitHub Desktop.
OpenSCAD drawer bug
OpenSCAD 2024.02.19.ai18569
https://www.openscad.org/
Copyright (C) 2009-2024 The OpenSCAD Developers
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Loaded design '/home/oskar/SynologyDrive/3D/gridfinity_extended_openscad/gridfinity_drawers.scad'.
Used file cache size: 4 files
Compiling design (CSG Tree generation)...
ECHO: drawerInnerHeights = [4, 4, 4], drawerCount = 3
ECHO: drawerInnerSizes = [[168, 126, 32.5], [168, 126, 32.5], [168, 126, 32.5]]
ECHO: drawerOuterSizes = [[172, 130, 34.5], [172, 130, 34.5], [172, 130, 34.5]]
WARNING: Ignoring unknown variable 'butterflyClipEnabled' in file gridfinity_baseplate.scad, line 191
WARNING: Ignoring unknown variable 'butterflyClipSize' in file gridfinity_baseplate.scad, line 192
WARNING: Ignoring unknown variable 'butterflyClipRadius' in file gridfinity_baseplate.scad, line 193
WARNING: Ignoring unknown variable 'filamentClipEnabled' in file gridfinity_baseplate.scad, line 194
WARNING: Ignoring unknown variable 'filamentClipDiameter' in file gridfinity_baseplate.scad, line 195
WARNING: Ignoring unknown variable 'filamentClipLength' in file gridfinity_baseplate.scad, line 196
ECHO: "holderCutouts", i = 0, innerbox = [172.5, 130.5, 35]
ECHO: "holderCutout", width = 172.5, depth = 130.51, height = 35
ECHO: "holderCutouts", i = 1, innerbox = [172.5, 130.5, 35]
ECHO: "holderCutout", width = 172.5, depth = 130.51, height = 35
ECHO: "holderCutouts", i = 2, innerbox = [172.5, 130.5, 35]
ECHO: "holderCutout", width = 172.5, depth = 130.51, height = 35
WARNING: variable sideRadius not specified as parameter in file gridfinity_drawers.scad, line 320
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 138
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 138
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 140
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 140
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
ECHO: "Bottom offset: ", 4.5
ECHO: "drawers", i = 0, StartH = 2, clearance = 0.25, height = 4, zpos = 2.5, drawerOuterz = [172, 130, 34.5], drawerInnerz = [168, 126, 32.5], [172, 130, 34.5]
WARNING: variable sideRadius not specified as parameter in file gridfinity_drawers.scad, line 169
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 138
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 138
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 140
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 140
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
ECHO: "drawerCutout", drawerbase = "default"
WARNING: variable sideRadius not specified as parameter in file gridfinity_drawers.scad, line 200
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 138
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 138
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 140
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 140
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Ignoring unknown variable 'butterflyClipEnabled' in file gridfinity_baseplate.scad, line 191
WARNING: Ignoring unknown variable 'butterflyClipSize' in file gridfinity_baseplate.scad, line 192
WARNING: Ignoring unknown variable 'butterflyClipRadius' in file gridfinity_baseplate.scad, line 193
WARNING: Ignoring unknown variable 'filamentClipEnabled' in file gridfinity_baseplate.scad, line 194
WARNING: Ignoring unknown variable 'filamentClipDiameter' in file gridfinity_baseplate.scad, line 195
WARNING: Ignoring unknown variable 'filamentClipLength' in file gridfinity_baseplate.scad, line 196
ECHO: "drawers", i = 1, StartH = 2, clearance = 0.25, height = 4, zpos = 39.5, drawerOuterz = [172, 130, 34.5], drawerInnerz = [168, 126, 32.5], [172, 130, 34.5]
WARNING: variable sideRadius not specified as parameter in file gridfinity_drawers.scad, line 169
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 138
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 138
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 140
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 140
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
ECHO: "drawerCutout", drawerbase = "default"
WARNING: variable sideRadius not specified as parameter in file gridfinity_drawers.scad, line 200
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 138
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 138
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 140
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 140
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Ignoring unknown variable 'butterflyClipEnabled' in file gridfinity_baseplate.scad, line 191
WARNING: Ignoring unknown variable 'butterflyClipSize' in file gridfinity_baseplate.scad, line 192
WARNING: Ignoring unknown variable 'butterflyClipRadius' in file gridfinity_baseplate.scad, line 193
WARNING: Ignoring unknown variable 'filamentClipEnabled' in file gridfinity_baseplate.scad, line 194
WARNING: Ignoring unknown variable 'filamentClipDiameter' in file gridfinity_baseplate.scad, line 195
WARNING: Ignoring unknown variable 'filamentClipLength' in file gridfinity_baseplate.scad, line 196
ECHO: "drawers", i = 2, StartH = 2, clearance = 0.25, height = 4, zpos = 76.5, drawerOuterz = [172, 130, 34.5], drawerInnerz = [168, 126, 32.5], [172, 130, 34.5]
WARNING: variable sideRadius not specified as parameter in file gridfinity_drawers.scad, line 169
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 138
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 138
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 140
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 140
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
ECHO: "drawerCutout", drawerbase = "default"
WARNING: variable sideRadius not specified as parameter in file gridfinity_drawers.scad, line 200
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 138
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 138
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 139
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 139
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 140
WARNING: max() parameter could not be converted: argument 0: expected number, found undefined (undef) in file modules/modules_utility.scad, line 140
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 146
WARNING: Unable to convert translate([undef, undef, undef]) parameter to a vec3 or vec2 of numbers in file modules/modules_utility.scad, line 148
WARNING: undefined operation (number - undefined) in file modules/modules_utility.scad, line 149
WARNING: Ignoring unknown variable 'butterflyClipEnabled' in file gridfinity_baseplate.scad, line 191
WARNING: Ignoring unknown variable 'butterflyClipSize' in file gridfinity_baseplate.scad, line 192
WARNING: Ignoring unknown variable 'butterflyClipRadius' in file gridfinity_baseplate.scad, line 193
WARNING: Ignoring unknown variable 'filamentClipEnabled' in file gridfinity_baseplate.scad, line 194
WARNING: Ignoring unknown variable 'filamentClipDiameter' in file gridfinity_baseplate.scad, line 195
WARNING: Ignoring unknown variable 'filamentClipLength' in file gridfinity_baseplate.scad, line 196
Compiling design (CSG Products generation)...
Geometries in cache: 47
Geometry cache size in bytes: 716192
CGAL Polyhedrons in cache: 35
CGAL cache size in bytes: 10909808
Compiling design (CSG Products normalization)...
Normalized tree has 209 elements!
Compile and preview finished.
Total rendering time: 0:00:14.864
Loaded design '/home/oskar/SynologyDrive/3D/gridfinity_extended_openscad/gridfinity_baseplate.scad'.
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
Geometries in cache: 48
Geometry cache size in bytes: 725488
CGAL Polyhedrons in cache: 41
CGAL cache size in bytes: 12216832
Compiling design (CSG Products normalization)...
Normalized tree has 5 elements!
Compile and preview finished.
Total rendering time: 0:00:00.188
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment