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

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

    Scheduled Pinned Locked Moved Plugins
    322 Posts 79 Posters 149.5k Views 79 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ppoublanP Offline
      ppoublan
      last edited by

      @krisidious said:

      On SU 2013 Win, I'm getting this error on startup.

      no such file to load -- 3darcstudio/3darcstudiotree.rbs
      Error Loading File 3darcstudiotreeloader.rb
      no such file to load -- 3darcstudio/3darcstudiotree.rbs

      The file is in the location specified.

      Hi,
      I just downloaded and installed SU 2013 Make on Windows 7. And copied the 3darcstudio zip content to the plugin directory.
      Seems to work fine.
      Are you really sure you copied the subdirectory "3darcstudio" into the SU 2013 Plugins (not the Google old one)?


      su2013.JPG

      1 Reply Last reply Reply Quote 0
      • ppoublanP Offline
        ppoublan
        last edited by

        @chris fullmer said:

        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.

        Chris

        Thanks Chris, I will change the code according to your sample.

        1 Reply Last reply Reply Quote 0
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          @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 Reply Last reply Reply Quote 0
          • ppoublanP Offline
            ppoublan
            last edited by

            @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 Reply Last reply Reply Quote 0
            • KrisidiousK Offline
              Krisidious
              last edited by

              everything seems to be in it's rightful place.

              Capturetreemaker.JPG

              By: Kristoff Rand
              Home DesignerUnique House Plans

              1 Reply Last reply Reply Quote 0
              • TIGT Online
                TIG Moderator
                last edited by

                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 Reply Last reply Reply Quote 0
                • ppoublanP Offline
                  ppoublan
                  last edited by

                  @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 Reply Last reply Reply Quote 0
                  • KrisidiousK Offline
                    Krisidious
                    last edited by

                    @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 Reply Last reply Reply Quote 0
                    • ppoublanP Offline
                      ppoublan
                      last edited by

                      @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 Reply Last reply Reply Quote 0
                      • KrisidiousK Offline
                        Krisidious
                        last edited by

                        @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 Reply Last reply Reply Quote 0
                        • pilouP Offline
                          pilou
                          last edited by

                          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 Reply Last reply Reply Quote 0
                          • ppoublanP Offline
                            ppoublan
                            last edited by

                            @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 Reply Last reply Reply Quote 0
                            • ppoublanP Offline
                              ppoublan
                              last edited by

                              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 Reply Last reply Reply Quote 0
                              • KrisidiousK Offline
                                Krisidious
                                last edited by

                                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 Reply Last reply Reply Quote 0
                                • pilouP Offline
                                  pilou
                                  last edited by

                                  @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 Reply Last reply Reply Quote 0
                                  • TIGT Online
                                    TIG Moderator
                                    last edited by

                                    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 Reply Last reply Reply Quote 0
                                    • KrisidiousK Offline
                                      Krisidious
                                      last edited by

                                      @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 Reply Last reply Reply Quote 0
                                      • ppoublanP Offline
                                        ppoublan
                                        last edited by

                                        @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 Reply Last reply Reply Quote 0
                                        • K Offline
                                          kaas
                                          last edited by

                                          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 Reply Last reply Reply Quote 0
                                          • ppoublanP Offline
                                            ppoublan
                                            last edited by

                                            @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 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 16
                                            • 17
                                            • 3 / 17
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement