sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Center of Gravity

    已排程 已置頂 已鎖定 已移動 Plugins
    183 貼文 41 Posters 297.6k 瀏覽 41 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • robertWanR 離線
      robertWan @TIG
      最後由 編輯

      @TIG said in [Plugin] Center of Gravity:

      restart SketchUp and see if that helps...

      CoG1.png

      Unfortunately it didn't help.

      Robert

      TIGT 1 條回覆 最後回覆 回覆 引用 0
      • TIGT 離線
        TIG Moderator @robertWan
        最後由 編輯

        @robertWan

        I missed some 'dp' variables [sorry]

        line#393
        change

        volTxt = sprintf("%.#{dp}f", volume)
        

        to read

        volTxt = sprintf("%.4f", volume)
        

        line#409
        change

        weight = (volume * @density).round(dp)
        

        to read

        weight = (volume * @density.round)
        

        and line#417
        change

        weightTxt = sprintf("%.#{dp}f", weight)
        

        to read

        weightTxt = sprintf("%.4f", weight)
        

        I think that's all of them !!

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • robertWanR 離線
          robertWan
          最後由 編輯

          CoG2.png
          Works!
          I am extremely grateful.
          Thank you.

          Robert

          1 條回覆 最後回覆 回覆 引用 0
          • 1
          • 2
          • 6
          • 7
          • 8
          • 9
          • 10
          • 10 / 10
          • 第一個貼文
            最後的貼文
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement