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

    [Plugin] AreaTextTag

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

      Hello TIG, thanks so much for such good work.
      You're right - I mean 'perimeter', not 'circumference'
      I tried your advice using a new-line marker and I got what I was looking for.
      A small drawback seems to be, that the editing-textbox is very small and one can`t see the hole text string.
      Another issue is that the 'perimeter' doesn't get updated if the area changes (which happens quite frequently).

      How could I help to recode this? - let me know if there way.

      Anyways, thanks a lot for your work
      I really appreciate
      Ulrich

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

        At the moment the Area ONLY update does the area ?

        The text-box is the width that SketchUp gives us...
        You can pick in it and drag left/right or use the arrow keys <- -> to get to the start/end ?

        I'll look at a tweak...

        TIG

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

          I rechecked everything.
          If I update a tag and its face's area has changed, then it does update the <> area. AND the || perimeter ???

          Can you provide an example where it fails ?

          TIG

          1 條回覆 最後回覆 回覆 引用 0
          • atelierpaarA 離線
            atelierpaar
            最後由 編輯

            Hello TIG, oh yes, the perimeter does work superb now
            I just didn't get it right the first time - my fault- I`am awfully sorry
            in Terms of changing the texblock it's not too much work either if one copy /paste the text string and then just change the names
            [highlight=#ffff40:22w4wmcs]Entrance[/highlight:22w4wmcs]\n[highlight=#ffff00:22w4wmcs]Tile[/highlight:22w4wmcs]\n<>\n||

            using arrow keys to move inside the editing-textbox works fine

            thanks a lot for your great work and support
            Ulrich

            1 條回覆 最後回覆 回覆 引用 0
            • B 離線
              Ben Ritter
              最後由 編輯

              TIG,

              Thank you so much for your work in writing this and sharing.

              Is there a way to update the text to an new text height, or would I have to re-do each one with new text height settings?

              Thanks.

              1 條回覆 最後回覆 回覆 引用 0
              • srxS 離線
                srx
                最後由 編輯

                Thanks for the another useful plugin. My question would be - Is it possible not to hide lines? What to change? My problem is that Scalp section style "doesn't see" tags.

                www.saurus.rs

                1 條回覆 最後回覆 回覆 引用 0
                • OxerO 離線
                  Oxer
                  最後由 編輯

                  When I try to make the Report it appears this message in Ruby Console:

                  Error; #<NameError; undefined local variable or method `area2ever' for TIG;;AreaTextTag;Module>
                  /Users/Oxer/Library/Application Support/SketchUp 2017/SketchUp/Plugins/TIG-AreaTextTag/TIG-AreaTextTag.rb;1537;in `report'
                  /Users/Oxer/Library/Application Support/SketchUp 2017/SketchUp/Plugins/TIG-AreaTextTag/TIG-AreaTextTag.rb;254;in `block in <module;AreaTextTag>'
                  SketchUp;1;in `call'
                  

                  OSX 10.11.6 & Sketchup 2017

                  "The result is the end what is important is the process" by Oxer
                  [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

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

                    @Oxer
                    Thanks for the error report.
                    Seems that that variable 'area2ever' was declared inside a {} block and not accessible later on in several circumstances !
                    So it was an error waiting for a disaster for ~six years ! ...
                    Anyway here is a corrected version 4.0
                    http://sketchucation.com/pluginstore?pln=TIG_AreaTextTag
                    PS: @srx
                    Also added an extra option in the Settings to hide the Tag's text's edges [Yes|No]: defaults Yes - choosing No will show the edges [remember that if there are any existing Tags you will to use Update...]. That new Setting is remembered with each model...

                    TIG

                    1 條回覆 最後回覆 回覆 引用 0
                    • srxS 離線
                      srx
                      最後由 編輯

                      Thank you very much TIG. 😄

                      www.saurus.rs

                      1 條回覆 最後回覆 回覆 引用 0
                      • BarbaraDB 離線
                        BarbaraD
                        最後由 編輯

                        Thank you so much TIG, it makes me beleave in SU again.
                        Great job.

                        1 條回覆 最後回覆 回覆 引用 0
                        • M 離線
                          mills690624
                          最後由 編輯

                          Hello TIG

                          Can you help me add a Area units: "pyeong"?
                          1(pyeong)=3.305785(m²)

                          thanks so much

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

                            You'll need to do some editing of the RB file in the subfolder TIG-AreaTextTag.rb
                            Use a plain-text editor like Notepad++ or TextWrangler, with line-numbering displayed...

                            Note that this will break the signing hash, so it will only load in newer SketchUp versions if the Extension Loading Policy is set to be Unrestricted.

                            Here are the changes...
                            #nnn is the line number after which you add the new code, remember that it will change as you insert lines !
                            The @units checks assume you insert new lines of code after the "m2" ones...
                            I assume that dividing the m² value by 3.305785 turns it into 'pyeongs' ?
                            If I am wrong, then just swap the / for a *

                            #444 insert:
                            when "pyeong" area=area*0.00064516 / 3.305785 perim=perim*0.0254 punit="m"
                            You might want to change the meter perimeter too ?

                            #732 + 4 ? insert:
                            when "pyeong" area=area*0.00064516 / 3.305785 perim=perim*0.0254 punit="m"
                            You might want to change the meter perimeter too ?

                            #881 + 8 ? insert:
                            "pyeong",

                            #1079 + 9 ? insert:
                            when "pyeong" area=area*0.00064516 / 3.305785 perim=perim*0.0254 punit="m"
                            You might want to change the meter perimeter too ?

                            #1295 + 13 ? insert:
                            when "pyeong" area=area*0.00064516 / 3.305785 perim=perim*0.0254 punit="m"
                            You might want to change the meter perimeter too ?

                            #1510+ 17 ? insert:
                            when "pyeong" area=area*0.00064516 / 3.305785 perim=perim*0.0254 punit="m"
                            You might want to change the meter perimeter too ?

                            TIG

                            1 條回覆 最後回覆 回覆 引用 0
                            • S 離線
                              Sjors Verhaar
                              最後由 編輯

                              Hi Tig,

                              Thank you for this great plugin. It works fantastic.
                              Only when I use it in a slightly bigger appartmentbuilding it becomes really slow.
                              Do you have any suggestions what might be the problem?

                              Thnx

                              1 條回覆 最後回覆 回覆 引用 0
                              • B 離線
                                barsaglini
                                最後由 編輯

                                tig, the fact that the plugin does not report objects within groups leaves the report unused, since in sketchup we have the group of everything, imagine creating a floor report, with each room having a group.
                                That value used by the plugin to write the area, can you put it in a variable in the component? So it would be possible to create a report of everything.

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

                                  I think that Fredo has a similar tool in FredoTools - start here https://sketchucation.com/forums/viewtopic.php?p=653927#p653927

                                  TIG

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • H 離線
                                    Hopper69
                                    最後由 編輯

                                    Hi Tig.

                                    I am looking to add a dynamic area text in a 2d layout

                                    I have tested the tagging on a surfaces of a 3D model but on a flat 2d surface i get a message " Pic a face in the active entries"

                                    If i raise the surface are it works.

                                    I did look at your 2d Tools but can't see a txt to enter area size.

                                    Can you help ?

                                    thanks

                                    P

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

                                      An area-text-tag has to be added into the same entities context as the face - you pick the face.

                                      It's telling you that.

                                      Edit the group/component containing the face[s] and add the area-text-tag[s] while you are in that edit-context...

                                      It should then work OK...

                                      TIG

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • 1
                                      • 2
                                      • 3
                                      • 4
                                      • 5
                                      • 5 / 5
                                      • 第一個貼文
                                        最後的貼文
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement