TIG Work Plane error report
-
Hi
Just tried using the Work Plane plugin for the first time and this error comes up on starting SU.
Plugin seems to still work okay though, unless I'm missing something.
I'm still running SU2018, and I have Notepad++ if you can suggest a fix.Thanks
Nick
-
The errors are from parametric_grid.rb, not from TIG Work Plane. It is ancient and hasn't been updated for newer versions of Ruby. I don't think TIG Work Plane uses parametric grid. Just to confirm, I tried installing TIG Work Plane, and didn't get these errors.
-
As said... my
WorkPlane
is not parametric.
And it has no connection with the unrelatedparametric_grid.rb
The error message you posted relates to that...I don't know this other plugin at all.
But it seems to be setting up ahash
- hence the{...}
But its key/value pairs are shown rather oddly...
They should be more likedefaults = {"dx"=>8.feet, "dy"=>8.feet,
etc...
Laterdefaults["dx"]
would be used to return the default length etc... -
Humble apologies TIG
The error only occurred after I had installed Workplane, which was a freaky coincidence. I thought I'd broken it somehow as I know your plugins are usually solid. That also explains why it still works.
Offending .rb now disabled=no more error
Thanks for your time.Just dug this out of the .rb file though. Seems to be calling up to parametric.rb?
Would this have anything to do with it? Can't understand where the error comes from
-
parametric_grid.rb does indeed require parametric.rb, but the error is in parametric_grid.rb, not parametric.rb. It has incorrect (obsolete?) syntax for initializing the defaults hash. TIG may have inserted that require statement, but that has nothing to do with Work Plane nor with the syntax error in parametric_grid.rb.
-
Great Thanks, although I still don't know why the error suddenly started. It is possible I accidentally re-enabled Parametric Grid from the plugin manager at the time I was trying out Workplane. That would account for the coincidental timing and me jumping to the wrong conclusion.
Is Parametric.rb still used for anything else? Unless its nested somewhere I don't seem to have it. -
It's a VERY old script from @Last
It's in the PluginStore - together with parametric_grid...
https://sketchucation.com/pluginstore?pln=parametricBy now they are really 'example' code...
And therefore unlikely to work perfectly in newer versions...
Advertisement