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.
    • L Offline
      leminilab
      last edited by

      @cadfather said:

      yes

      Thanks! 😄

      • "Live every day as if it were your last and then some day you'll be right."
      • "ThomThom rules!!!"
      1 Reply Last reply Reply Quote 0
      • ppoublanP Offline
        ppoublan
        last edited by

        Dear all,
        I’m really impressed by the number of interesting comments and feedbacks received on this plugin. And I really like the olive tree variations of Massimo. (Encourage everyone to publish their preferred trees made with the plugin).
        Thanks to all of you. I will do my best to improve it in future releases, but as the plugin is free and not my job please be patient. I will need to learn more on dev.
        Here are few bug corrections that include :

        • Reversed faces for the trunk and branches in order for face normals to point outward
        • Changed the scaling function of flowers to be correctly handled by Thea (and other renders)
        • Removed the ruby console
          Version available on http://3darcstudio.com/en/downloads-files/sketchup-plugins/206-3d-tree-maker-sketchup-plugin
          I carefully read all other comments and I’m looking how to integrate them in other devs.
          Yours
          Pascal

        PS: script will be published into the Sketchucation Store, but not ready yet.

        1 Reply Last reply Reply Quote 0
        • KrisidiousK Offline
          Krisidious
          last edited by

          Don't feel rushed Pascal... This is an incredible contribution to the community. Very exciting.

          By: Kristoff Rand
          Home DesignerUnique House Plans

          1 Reply Last reply Reply Quote 0
          • massimoM Offline
            massimo Moderator
            last edited by

            Thanks for the very quick fix Pascal. 👍

            1 Reply Last reply Reply Quote 0
            • A Offline
              archigrafix
              last edited by

              Doesnt seem to work with sketchup 7???

              Agir comme un homme de pensée, et penser comme un homme d'action...

              1 Reply Last reply Reply Quote 0
              • KrisidiousK Offline
                Krisidious
                last edited by

                @archigrafix said:

                Doesnt seem to work with sketchup 7???

                What's happening Arch? error? nothing at all?

                By: Kristoff Rand
                Home DesignerUnique House Plans

                1 Reply Last reply Reply Quote 0
                • A Offline
                  archigrafix
                  last edited by

                  Yes Kris nothing happens at all...just frustration 😲

                  Agir comme un homme de pensée, et penser comme un homme d'action...

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

                    @archigrafix said:

                    Yes Kris nothing happens at all...just frustration 😲

                    Hi Kris,
                    Sorry for that but I only tested it on SU8 as dev started after SU8 was available. Do not know what functions are not correctly supported by previous versions.
                    Do you get at least the menu in plugins ?
                    I you activate the Ruby console, do you get some messages in the console ?
                    Yours
                    Pascal

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      versus
                      last edited by

                      I found the problem, perhaps due to a misspelling between lines = begin and = end, this is due only to a point out of place, just before = end, in my case, I have many plugins installed and thought it was due to one that caused the conflict, I tried an installation of SU 8 without additional plugins and charge well, it might be the WXP vs windows vista, in windows vista remove the point of the last sentence of the load file header specifically as follows:

                      original
                      AND FITNESS FOR A PARTICULAR PURPOSE.
                      = end
                      new
                      AND FITNESS FOR A PARTICULAR PURPOSE
                      = end

                      in windows vista files are not loaded when I was at the end point of the line before = end, but in windows xp there was no problem loading the plugin

                      another thing I did was copy the contents of the folder directly in the plugins folder of SU 8

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        archigrafix
                        last edited by

                        @ppoublan said:

                        @archigrafix said:

                        Yes Kris nothing happens at all...just frustration 😲

                        Hi Kris,
                        Sorry for that but I only tested it on SU8 as dev started after SU8 was available. Do not know what functions are not correctly supported by previous versions.
                        Do you get at least the menu in plugins ?
                        I you activate the Ruby console, do you get some messages in the console ?
                        Yours
                        Pascal

                        Yes the menu is there...When I choice "Make tree" it returns:

                        Error: #<RuntimeError: Can't insert empty component.>
                        (eval):1050:in load' (eval):1050:in initialize'
                        (eval):1042:in each' (eval):1042:in initialize'
                        (eval):1217:in new' (eval):1217:in initialize'
                        (eval):653:in new' (eval):653:in f3das_loadconfiguration'
                        (eval):651:in each' (eval):651:in f3das_loadconfiguration'
                        (eval):4443:in require' (eval):4443:in call'

                        Hope you can help

                        Agir comme un homme de pensée, et penser comme un homme d'action...

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

                          @archgrafix

                          Are you sure that the specified component SKP exists in the tool's subfolder?

                          If so can you open it in SketchUp?

                          If it is getting found, then the 'empty component' error suggest that is either 'empty' [i.e. it contains no entities] or most likely it's been saved as a SketchUp version newer that the version that your current Model is opened in ??
                          So for example, if the SKPs are v2013 and you try to use them in v8 it'll fail, or
                          if the SKPs are v8 and you try to use them in v7 it'll fail and so on... Older version SKPs can be used with newer versions of SketchUp, but not vice versa...
                          The tool's SKPs seem to ship as v8.
                          Have you edited them in v2013, or trying to use them in SketchUp v7 ?

                          So, if you open/edit any component SKP - like those in the tool's subfolder - then be sure to use 'Save_as' on it to put it back as being for an earlier version of SketchUp: so that it is then compatible when inserted as a component in earlier versions that it has just been edited in...

                          PS: Please update your User-Profile to show your OS, Version etc...
                          It helps us to help you...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • Alan FraserA Offline
                            Alan Fraser
                            last edited by

                            Brilliant plugin, Pascal...and very configurable...both during and post production. 👍 👍 👍
                            The tree on the left is a default Olive...but with simplified leaf geometry (down to 3 faces per leaf). It is now down to only 21,000 faces.
                            The tree on the right is another default Olive, but with even simpler leaves (1 face) but double the number of leaves; and minus all the small twigs. This is down to only 12,000 faces. It was only 7000 before I doubled the leaf count (by simply selecting the foliage group, duplicating and rotating it.)


                            olive.jpg

                            3D Figures
                            Were you required to walk 500 miles? Were you advised to walk 500 more?
                            You could be entitled to compensation. Call the Pro Claimers now!

                            1 Reply Last reply Reply Quote 0
                            • KrisidiousK Offline
                              Krisidious
                              last edited by

                              @tig said:

                              PS: Please update your User-Profile to show your OS, Version etc...
                              It helps us to help you...

                              You might want to just add that to you signature and save some time.

                              By: Kristoff Rand
                              Home DesignerUnique House Plans

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

                                @archigrafix said:

                                @ppoublan said:

                                @archigrafix said:

                                Yes Kris nothing happens at all...just frustration 😲

                                Hi Kris,
                                Sorry for that but I only tested it on SU8 as dev started after SU8 was available. Do not know what functions are not correctly supported by previous versions.
                                Do you get at least the menu in plugins ?
                                I you activate the Ruby console, do you get some messages in the console ?
                                Yours
                                Pascal

                                Yes the menu is there...When I choice "Make tree" it returns:

                                Error: #<RuntimeError: Can't insert empty component.>
                                (eval):1050:in load' (eval):1050:in initialize'
                                (eval):1042:in each' (eval):1042:in initialize'
                                (eval):1217:in new' (eval):1217:in initialize'
                                (eval):653:in new' (eval):653:in f3das_loadconfiguration'
                                (eval):651:in each' (eval):651:in f3das_loadconfiguration'
                                (eval):4443:in require' (eval):4443:in call'

                                Hope you can help

                                This part of code is loading skp files as components. It seems that these files are not read by SU7. The solution may be to load them wiht SU8 and save them as SU7 skp format.

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  archigrafix
                                  last edited by

                                  Thanx to help TIG

                                  I have saved all leaves components in version 7 and now I get it to start...
                                  Anyway it creates the trunk but no leaves and I get this error message from ruby console:

                                  Error: #<NoMethodError: undefined method hue2rgb' for #<SketchupExtension::M3darcstudiotree::Cf3das_Colorset:0xf8a1cf0>> (eval):1774:in hsltorgb'
                                  (eval):1648:in initialize' (eval):1628:in each'
                                  (eval):1628:in initialize' (eval):2559:in new'
                                  (eval):2559:in drawstems' (eval):2394:in draw'
                                  (eval):667:in f3das_loadconfiguration' (eval):4443:in require'
                                  (eval):4443:in `call'

                                  Agir comme un homme de pensée, et penser comme un homme d'action...

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

                                    @archigrafix said:

                                    Thanx to help TIG

                                    I have saved all leaves components in version 7 and now I get it to start...
                                    Anyway it creates the trunk but no leaves and I get this error message from ruby console:

                                    Error: #<NoMethodError: undefined method hue2rgb' for #<SketchupExtension::M3darcstudiotree::Cf3das_Colorset:0xf8a1cf0>> (eval):1774:in hsltorgb'
                                    (eval):1648:in initialize' (eval):1628:in each'
                                    (eval):1628:in initialize' (eval):2559:in new'
                                    (eval):2559:in drawstems' (eval):2394:in draw'
                                    (eval):667:in f3das_loadconfiguration' (eval):4443:in require'
                                    (eval):4443:in `call'

                                    I need to debug with SU7. Seems SU7 interprets differently the ruby code. hue2rgb is a local definition within another one (hsltorgb). Should not be a method of the class. (is not with SU8).

                                    Here is the code that is working for SU8 and not SU7 if someone has an idea

                                    def hsltorgb(h, s, l)
                                    		if h<0.0
                                    			h=h+1.0
                                    		end
                                    		if h>1.0
                                    			h=h-1.0
                                    		end
                                    		if s<0.01
                                    			s=0.01
                                    		end
                                    		if s>0.99
                                    			s=0.99
                                    		end
                                    		if l<0.01
                                    			l=0.01
                                    		end
                                    		if l>0.99
                                    			l=0.99
                                    		end
                                    		if(s == 0)
                                    			r = g = b = l
                                    		else
                                    			def hue2rgb(p, q, t)
                                    				if(t < 0)
                                    					t = t + 1.0
                                    				end
                                    				if(t > 1)
                                    					t = t - 1.0
                                    				end
                                    				if(t < 1.0/6.0)
                                    					return p + (q - p) * 6.0 * t
                                    				end
                                    				if(t < 1.0/2.0)
                                    					return q
                                    				end
                                    				if(t < 2.0/3.0)
                                    					return p + (q - p) * (2.0/3.0 - t) * 6.0
                                    				end
                                    				return p
                                    			end
                                    			q = l < 0.5 ? l * (1.0 + s) ; l + s - l * s
                                    			p = 2.0 * l - q
                                    			r = hue2rgb(p, q, h + 1.0/3.0)
                                    			g = hue2rgb(p, q, h)
                                    			b = hue2rgb(p, q, h - 1.0/3.0)
                                    		end
                                    		return [r * 255, g * 255, b * 255]
                                    	end
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • ppoublanP Offline
                                      ppoublan
                                      last edited by

                                      ok I got it.
                                      Need to publish new version.
                                      Really strange that ruby code (without SU calls) not interpreted the same way.
                                      Will fix this today.
                                      Yours
                                      Pascal

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        archigrafix
                                        last edited by

                                        @ppoublan said:

                                        ok I got it.
                                        Need to publish new version.
                                        Really strange that ruby code (without SU calls) not interpreted the same way.
                                        Will fix this today.
                                        Yours
                                        Pascal

                                        Thanx to help Pascal
                                        I will wait for it 😉

                                        Agir comme un homme de pensée, et penser comme un homme d'action...

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          kaas
                                          last edited by

                                          @alan fraser said:

                                          Brilliant plugin, Pascal...and very configurable.... 👍 👍 👍

                                          Brilliant indeed!

                                          The plugin is also very good at making 'low' polygon count trees. The picture is a tree made of nearly 3k faces and 6k edges (mostly the trunk and 3d branches), the leaf size is maximum with a branch texture applied to it.


                                          treeMaker02.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • KrisidiousK Offline
                                            Krisidious
                                            last edited by

                                            You guys are killin me... I want mine to work.

                                            By: Kristoff Rand
                                            Home DesignerUnique House Plans

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 16
                                            • 17
                                            • 4 / 17
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement