diff --git a/CHANGELOG.md b/CHANGELOG.md index 378593f4..7cb74b1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ CHANGELOG for FlatCAM beta - yet another fix for Shapely 2.0 deprecation warnings - updated the `join_geometry` and `join_excellon` Tcl commands format to follow the format of other commands - updated the `isolate`, `cutout` and `geocutout` Tcl commands and now they yield multigeo Geometry objects +- fixed an issue in `panelize` Tcl command where the some parameters (`spacing_columns` and `spacing_rows` where forced into integers where correct was to keep them as floats) 30.01.2022 diff --git a/tclCommands/TclCommandPanelize.py b/tclCommands/TclCommandPanelize.py index 5e98109d..0d1c768c 100644 --- a/tclCommands/TclCommandPanelize.py +++ b/tclCommands/TclCommandPanelize.py @@ -135,12 +135,12 @@ class TclCommandPanelize(TclCommand): threaded = False if 'spacing_columns' in args: - spacing_columns = int(args['spacing_columns']) + spacing_columns = float(args['spacing_columns']) else: spacing_columns = 5 if 'spacing_rows' in args: - spacing_rows = int(args['spacing_rows']) + spacing_rows = float(args['spacing_rows']) else: spacing_rows = 5