ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
[Plugin] Center of Gravity
-
@TIG said in [Plugin] Center of Gravity:
restart SketchUp and see if that helps...

Unfortunately it didn't help.
Robert
-
I missed some 'dp' variables [sorry]
line#393
changevolTxt = sprintf("%.#{dp}f", volume)to read
volTxt = sprintf("%.4f", volume)line#409
changeweight = (volume * @density).round(dp)to read
weight = (volume * @density.round)and line#417
changeweightTxt = sprintf("%.#{dp}f", weight)to read
weightTxt = sprintf("%.4f", weight)I think that's all of them !!
-

Works!
I am extremely grateful.
Thank you.Robert
Advertisement