sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin][$] 3D Tree Maker - New version 1.10.14

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

      @driven said:

      PM Chris Fullmer re the scaling, I think he may have an answer...

      Tis True! This is a known bug introduced in 7.1. Scaling globally by applying a scale factor to the 16th matrix position is bugged. So instead of

      t = Geom::Transformation.scaling(scale_factor)

      Do this:

      t = Geom::Transformation.scaling(scale_factor,scale_factor,scale_factor)

      That way it won't write the scale value to the 16th position, but will in fact do the math and distribute it across the entire matrix.

      If you need a code snippet to reset the scale of a component to a bug-free transformation matrix, I could post that as well.

      Besides the fact that some renderer's don't take this global scale feature into account, a lot of video cards also do not. We've had reports that fog will not work correctly on components with the global scale, and face-me components also do not account for it. So if the leaves are set to face-me, it can cause a lot of craziness 😄

      I guess we can take this discussion over to the developers forum if you want to talk more about it. Looks like an awesome plugin!

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 條回覆 最後回覆 回覆 引用 0
      • ppoublanP 離線
        ppoublan
        最後由 編輯

        @solo said:

        @pixero said:

        @solo said:

        This is awesome, sure there are a few small things but wow! this is going to be a zinger of a plugin.

        Anyway to get a console/applet for modifying the parameters and an update button?

        If you rightclick on the tree you can change parameters. Is that what you wanted?

        I saw that, what I'd like is a console/applet where I can do all the changes and update without clicking out to see results then right clicking to make more changes.

        I think I understand this request. I was myself really disappointed when I wanted to add more input parameters with the poor input types that can be used with UI class.
        It will take some time to build it as I'm really a beginner with html and applets. Does someone could confirm SU 2013 has or not better features to build user input data interfaces ? Or should I go any way with Applets and html code ?

        Yours
        Pascal

        1 條回覆 最後回覆 回覆 引用 0
        • KrisidiousK 離線
          Krisidious
          最後由 編輯

          everything seems to be in it's rightful place.

          Capturetreemaker.JPG

          By: Kristoff Rand
          Home DesignerUnique House Plans

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

            Do you have FULL security permissions to the Plugins folder AND all of its contents - files and subfolders...
            v2013 will be installed with the defaults, not how you might have adjusted the settings for v8 Plugins...
            I'm wondering if you don't have permission to 'read' from the subfolder in v2013... 😕

            Another possibility is that the subfolder/files are NOT actually where you think they are - the dreaded 'VirtualStore' issue... Windows over zealously protecting you from yourself without telling you what it's done...
            Look in C:/Users/UserName/AppData/Local/VirtualStore
            If there are any subfolders matching the SketchUp 2013 Plugins folder, then your security permissions are definitely skewed... 😒

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • ppoublanP 離線
              ppoublan
              最後由 編輯

              @driven said:

              hi

              One request I would have is to allow loading from other Folders/Directories, it appears to be hard coded to Plugins Folder.

              john

              Hi John,
              Could you explain what do you means by "allow loading from other Folders/Directories". Is it to be able to save and load tree templates from other dirs ? I'm building my "todo" list but for this feature I do not know how to manage PC and Mac files and directories from the same code. This is easy with builtin sketchup plugin directories. Will have a look.

              1 條回覆 最後回覆 回覆 引用 0
              • KrisidiousK 離線
                Krisidious
                最後由 編輯

                @tig said:

                Do you have FULL security permissions to the Plugins folder AND all of its contents - files and subfolders...
                v2013 will be installed with the defaults, not how you might have adjusted the settings for v8 Plugins...
                I'm wondering if you don't have permission to 'read' from the subfolder in v2013... 😕

                Another possibility is that the subfolder/files are NOT actually where you think they are - the dreaded 'VirtualStore' issue... Windows over zealously protecting you from yourself without telling you what it's done...
                Look in C:/Users/UserName/AppData/Local/VirtualStore
                If there are any subfolders matching the SketchUp 2013 Plugins folder, then your security permissions are definitely skewed... 😒

                that virtual folder did exist and there were file from Version 8 in it... some en files, a template and some appliance components. but no files from 2013.

                as for permissions... CREATOR/OWNER has none, and when I try to set them it just re-sets to blank. User and Trusted installer, has all permissions, administrators has them all checked and greyed out.

                By: Kristoff Rand
                Home DesignerUnique House Plans

                1 條回覆 最後回覆 回覆 引用 0
                • ppoublanP 離線
                  ppoublan
                  最後由 編輯

                  @krisidious said:

                  @tig said:

                  Do you have FULL security permissions to the Plugins folder AND all of its contents - files and subfolders...
                  v2013 will be installed with the defaults, not how you might have adjusted the settings for v8 Plugins...
                  I'm wondering if you don't have permission to 'read' from the subfolder in v2013... 😕

                  Another possibility is that the subfolder/files are NOT actually where you think they are - the dreaded 'VirtualStore' issue... Windows over zealously protecting you from yourself without telling you what it's done...
                  Look in C:/Users/UserName/AppData/Local/VirtualStore
                  If there are any subfolders matching the SketchUp 2013 Plugins folder, then your security permissions are definitely skewed... 😒

                  that virtual folder did exist and there were file from Version 8 in it... some en files, a template and some appliance components. but no files from 2013.

                  as for permissions... CREATOR/OWNER has none, and when I try to set them it just re-sets to blank. User and Trusted installer, has all permissions, administrators has them all checked and greyed out.

                  To be sure if it has to do with folder rights and virtual store, try starting Sketchup with admin rights (right click on sketchup icon and choose run as admin..."), and see if the error still occurs.

                  1 條回覆 最後回覆 回覆 引用 0
                  • KrisidiousK 離線
                    Krisidious
                    最後由 編輯

                    @unknownuser said:

                    starting Sketchup with admin rights (right click on sketchup icon and choose run as admin..."), and see if the error still occurs.

                    Tried and still the same error.

                    By: Kristoff Rand
                    Home DesignerUnique House Plans

                    1 條回覆 最後回覆 回覆 引用 0
                    • pilouP 離線
                      pilou
                      最後由 編輯

                      Can be apply other things than trunck ? (as textures/material or as components)
                      Can be apply other things than branch ? (as textures/material or as components)
                      Can be apply other things than leaf ? (as textures/material or as components)

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

                      1 條回覆 最後回覆 回覆 引用 0
                      • ppoublanP 離線
                        ppoublan
                        最後由 編輯

                        @unknownuser said:

                        Can be apply other things than trunck ? (as textures or as components)
                        Can be apply other things than branch ? (as textures or as components)
                        Can be apply other things than leaf ? (as textures or as components)

                        Hi Pilou,
                        If your question is how to add your own textures and leaves/flowers types, here is how it works now :

                        • textures available are all "*.jpg" files that exists in the 3darcstudio plugin dir.
                        • leaves/flowers components are all "*.skp" files that exists in the 3Darcstudio plugin dir.
                          So you can easily add your own by copying your files into this dir.
                          Be careful when defining your own components to make the origin of the component at the beginning of the leaf, and the leaf pointing to the sky (z direction), with size arrong 10 cms long.
                        1 條回覆 最後回覆 回覆 引用 0
                        • ppoublanP 離線
                          ppoublan
                          最後由 編輯

                          Tried and still the same error.[/quote]

                          Arghh...! do not understand why. Maybe try to delete files and copy them again to be sure file has not been corrupted. Does it work with SU8 ?

                          1 條回覆 最後回覆 回覆 引用 0
                          • KrisidiousK 離線
                            Krisidious
                            最後由 編輯

                            No, it doesn't work on either 8 or 13... Tried deleting. nothing changes.

                            Just my luck.

                            By: Kristoff Rand
                            Home DesignerUnique House Plans

                            1 條回覆 最後回覆 回覆 引用 0
                            • pilouP 離線
                              pilou
                              最後由 編輯

                              @unknownuser said:

                              So you can easily add your own by copying your files into this dir.

                              Cool! ☀

                              😉

                              http://www.web-libre.org/medias/img/articles/a501bebf79d570651ff601788ea9d16d-2.jpg

                              Frenchy Pilou
                              Is beautiful that please without concept!
                              My Little site :)

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

                                Let's try some testing with the Ruby Console...
                                Copy paste these lines + <enter>
                                path='C:/Program Files (x86)/Sketchup/Sketchup 2013/Plugins/3darcstudio/3darcstudiotree.rbs'
                                Then this
                                File.exist?(path)
                                which will return 'true' or 'false'...
                                If 'false' that's plain weird as you can 'see' it !?
                                Check the exact spellings, compared to the error messages etc the 'loader text is '3darcstudio/3darcstudiotree.rbs'
                                If it's 'true' then try...
                                load path
                                which will return 'true' or 'false'...
                                If it's 'true', then the code in the rbs file has loaded and the menu/toolbar etc should be available, as if the Extension had been loaded and activated...
                                What happens ?

                                TIG

                                1 條回覆 最後回覆 回覆 引用 0
                                • KrisidiousK 離線
                                  Krisidious
                                  最後由 編輯

                                  @tig said:

                                  Let's try some testing with the Ruby Console...
                                  Copy paste these lines + <enter>
                                  path='C:/Program Files (x86)/Sketchup/Sketchup 2013/Plugins/3darcstudio/3darcstudiotree.rbs'
                                  Then this
                                  File.exist?(path)
                                  which will return 'true' or 'false'...

                                  True

                                  @tig said:

                                  If it's 'true' then try...
                                  load path
                                  which will return 'true' or 'false'...

                                  I get. on Load Path

                                  Error: #<SyntaxError: (eval):155:in load': C:/Program Files (x86)/Sketchup/Sketchup 2013/Plugins/3darcstudio/3darcstudiotree.rbs:1: no .<digit> floating literal anymore; put 0 before dot RBS1.0... ^ C:/Program Files (x86)/Sketchup/Sketchup 2013/Plugins/3darcstudio/3darcstudiotree.rbs:1: syntax error, unexpected tINTEGER RBS1.0... ^ C:/Program Files (x86)/Sketchup/Sketchup 2013/Plugins/3darcstudio/3darcstudiotree.rbs:1: Invalid char \010' in expression>
                                  (eval):155
                                  (eval):155

                                  By: Kristoff Rand
                                  Home DesignerUnique House Plans

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • ppoublanP 離線
                                    ppoublan
                                    最後由 編輯

                                    @kaas said:

                                    Hello Pascal,

                                    Just had a go with the plugin. It works really fine already!

                                    My 2 cts:

                                    1. if I right-click and adjust any part of a tree it also generates new elements for every other part of the tree. I understand changing the branches should also change the position of the leaves but changing the leaves atm also changes the trunk, not really what you want if you're fine tuning a tree

                                    2. i might be a nice feature if one could control the size / length of the branches (size decrease or increase by x %) depending on the position on the tree (higher up the tree = make branches less long by 50% etc).

                                    3. ditto for the leaves - for instance smaller leaves near the end of a branch.

                                    edit: 4. adjusting a tree reloads all materials and textures. If you-re fine-tuning a tree and already edited one of your materials you have to do that again and again.

                                    Greetings,

                                    Max

                                    The tree is entirely rebuilt each time a single parameter is changed (as almost all parameters have impacts on others"). Something I do not know how to fix.
                                    But the lenght of the brenches in fact are varying based on their position on the tree as you are asking for. This is managed by the "tree shape" parameter (pyramidal, spherical, ...) . See the pdf doc for this parameter.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • K 離線
                                      kaas
                                      最後由 編輯

                                      Hello Pascal,

                                      Just had a go with the plugin. It works really fine already!

                                      My 2 cts:

                                      1. if I right-click and adjust any part of a tree it also generates new elements for every other part of the tree. I understand changing the branches should also change the position of the leaves but changing the leaves atm also changes the trunk, not really what you want if you're fine tuning a tree

                                      2. i might be a nice feature if one could control the size / length of the branches (size decrease or increase by x %) depending on the position on the tree (higher up the tree = make branches less long by 50% etc).

                                      3. ditto for the leaves - for instance smaller leaves near the end of a branch.

                                      edit: 4. adjusting a tree reloads all materials and textures. If you-re fine-tuning a tree and already edited one of your materials you have to do that again and again.

                                      edit: 5. the textures for the bark must be located in the 3d arcstudio directory. The same for the models of the leaves. Many people have all their content on (shared and backupped) network drives. It would be great if one could make a redirection to external folders for the textures and a different one for the leaf-models.

                                      Greetings,

                                      Max

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • ppoublanP 離線
                                        ppoublan
                                        最後由 編輯

                                        @krisidious said:

                                        I get. on Load Path

                                        Error: #<SyntaxError: (eval):155:in load': C:/Program Files (x86)/Sketchup/Sketchup 2013/Plugins/3darcstudio/3darcstudiotree.rbs:1: no .<digit> floating literal anymore; put 0 before dot RBS1.0... ^ C:/Program Files (x86)/Sketchup/Sketchup 2013/Plugins/3darcstudio/3darcstudiotree.rbs:1: syntax error, unexpected tINTEGER RBS1.0... ^ C:/Program Files (x86)/Sketchup/Sketchup 2013/Plugins/3darcstudio/3darcstudiotree.rbs:1: Invalid char \010' in expression>
                                        (eval):155
                                        (eval):155

                                        Strange. Really seams the file is corrupted. Could you try deleting all local files from 3darcstudio, and downloading it again after emptying your browser cache from the web site (http://www.3darcstudio.com)

                                        Looks like Sketchup unable to read/interpret source code rbs file :

                                        • the script start with : =begin and =end remarks lines so they should be ignored
                                        • no "." dot character used without the number 0 before, maybe wrong interpretation of the decimal point

                                        exact size of rbs file on my computer is 193 410 octets

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • KrisidiousK 離線
                                          Krisidious
                                          最後由 編輯

                                          no, that didn't work either...
                                          file.
                                          size - 188 KB (193,410 bytes)
                                          size on disk - 192 KB (196,608 bytes)

                                          By: Kristoff Rand
                                          Home DesignerUnique House Plans

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • K 離線
                                            kaas
                                            最後由 編輯

                                            @ppoublan said:

                                            But the lenght of the brenches in fact are varying based on their position on the tree as you are asking for. This is managed by the "tree shape" parameter (pyramidal, spherical, ...) . See the pdf doc for this parameter.

                                            As always, I did not spend enough time reading the manual. I will read it.

                                            I ran into another small issue: I made my own leaf-component and textured both front and backside of the faces. If I run the tree plugin the mapping coordinates of the backfaces of those leafs get messed up.

                                            It's easy to fix by right clicking on a component and reload the original leaf-file but a bit strange.

                                            Still, compliments on the plugin! Having great fun with it the last couple of hours 👍 👍 👍

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 17 / 17
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement