SebKuzminsky / pycam

Other
338 stars 99 forks source link

Fixed get_scaled_model function + minor gui fix #167

Closed NikSays closed 4 years ago

NikSays commented 4 years ago

Ensured scaling to 0 is not possible, and axes with size 0 are ignored.

Also greyed out "Scale All" button if axis' size is 0. (Previously only "Scale Selected") was greyed out. Done this because while an axis with size 0 is selected, pressing "Scale all" automatically scaled all axes to 0.001, which can break models with short segments. (I don't know why, probably their size is being rounded to 0)

sumpfralle commented 4 years ago

That looks good to me - thank you!