UPDATED - NO NEW FEATURES
Other authors were creating derivative extensions without differencing in a namespace wrapper of their own. This can cause clashing Ruby objects, ie classes. So ...
The following version preserves MJ Grundman's edition within a namespace module of MJG's own. Some general cleanup, a fix for the inputbox and some error handling for the command. Also made sure that no undo operation is left open as that emits warnings now (if an exception occurs before the operation can be committed.)
Packed up as a RBZ extension archive.
Again, ... NO NEW FEATURES, but you can now switch it on and off via SketchUp's Extension Manager or the SketchUcation PluginStore interface.
NOTE: Remember to delete (or move) the old "SPGears_mjg_v1.2.rb" file from your "Plugins" folder when running the update version.
` # v1.3 : 2021-10-26 by Dan Rathbun
- Properly namespace wrapped and packaged as a RBZ extension archive.
- General cleanup of indents, extra long lines and empty space lines.
- Corrected inputbox validation loop in SPGear::dialog().
* Was calling the same method recursively and not restoring the
users previous inputs.
* Was using bad index to validate Bevel Angle results which did
not cause the inputbox to redisplay allowing error in later code
when the angle was out of range.`
.