kennetek / gridfinity-rebuilt-openscad

A ground-up rebuild of the stock gridfinity bins in OpenSCAD
Other
1.27k stars 186 forks source link

Fit to drawer gives error #119

Open victoroos opened 1 year ago

victoroos commented 1 year ago

hi all,

I tried to use the base scad with the drawer dimensions. When making the amount of bins 0 and the drawer dimension 37 and 33, i get this error: DEPRECATED: Using ranges of the form [begin:end] with begin value greater than the end value is deprecated in file gridfinity-rebuilt-utility.scad, line 428

what troubleshooting steps should I take? poenscad is up to date and tried with the newest one as well.

cheers Vic

Ruudjhuu commented 1 year ago

What do you mean with "amount of bins"? afaik there is no amount of bins.

Ruudjhuu commented 1 year ago

do you by any chance mean gridx and gridy? Those do not have anything to do with the bins.

gridx -> the number of blocks in the x direction. gridy -> the number of blocks in the y direction.

check https://kennetek.github.io/gridfinity-rebuilt-openscad/baseplates/ for how to use.

37 and 33 for the fit to drawer is also a questionable input. 1 block is already bigger than 42, so the feature won't do anything.

We can definitely improve in giving an usable message when 0 is filled in where it should not be possible.