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

    Pic2Shape - Converting Images to 2D objects

    Scheduled Pinned Locked Moved Plugins
    20 Posts 6 Posters 8.7k Views 6 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.
    • fredo6F Offline
      fredo6
      last edited by

      Could you leave the Ruby Console opened, to see if there are error messages displayed.

      EDIT: I processed a few other trees, and it seems that they are too detailed (lot of holes and small branches), so that the algorithm does not complete the contouring in a reasonable amount of time. I will see if I can do something about it.

      EDIT 2: I can do the contouring by reducing the resolution of the image by a factor 4 or 5 (here from 1726x2500 to 347x503)

      Sapin.png

      1 Reply Last reply Reply Quote 0
      • fredo6F Offline
        fredo6
        last edited by

        Did you install the latest version of LibFredo6?

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dekorte
          last edited by

          @fredo6 said:

          Did you install the latest version of LibFredo6?

          Yes latest version LibFredo6 is installed.
          I think you've found the sollution !
          Images are to big and have to much detail;
          when you resize them in Photoshop with a factor of 5, the extension works perfectly.
          However when you resize this much, a lot of detail is lost in the image.
          Is there a way to fix this problem you think ?

          Many thanks !

          1 Reply Last reply Reply Quote 0
          • fredo6F Offline
            fredo6
            last edited by

            Depending on the tree, a reduction by 30% to 50% should be OK.

            Do you still get the errors in the Ruby console?

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dekorte
              last edited by

              @fredo6 said:

              Depending on the tree, a reduction by 30% to 50% should be OK.

              Do you still get the errors in the Ruby console?

              Yes, the ruby console still shows errors.
              But only when I'm starting the plugin, not when i'm generating boundaries.
              I think it has something to do with this :

              When i start the plugin (see image 1) ,
              at first i don't see the tree in the plugin-window (white "canvas")

              This is the moment when ruby console starts showing script

              After i click on the "x" (clear all filters in the plugin), the tree shows up at my plugin window (image 2)

              Downsizing 30-50 % realy works, all the trees i'm testing so far are working via this method.
              Only downside is the quality of the tree , that's a petty.
              Maybe it's an idea to make the time for generating a boundary a bit longer ?


              1.png


              2.png

              1 Reply Last reply Reply Quote 0
              • Didier BurD Offline
                Didier Bur
                last edited by

                Hi all,

                Where can I download this new gem ?
                I cannot find it in the Plugin Store...

                DB

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

                  It's a new tool - it's still under development.
                  This is its 'Preview' thread...
                  Knowing Fredo it won't be long before a version becomes available...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • andybotA Offline
                    andybot
                    last edited by

                    Glad to see this plugin get redeveloped, thanks Fredo6!

                    @dekorte said:

                    Downsizing 30-50 % realy works, all the trees i'm testing so far are working via this method.
                    Only downside is the quality of the tree , that's a petty.
                    Maybe it's an idea to make the time for generating a boundary a bit longer ?

                    Couldn't you just re-link the original full res image after generating the contours? I would think one wouldn't want an outline that has too many segments, this being SketchUp and all.

                    http://charlottesvillearchitecturalrendering.com/

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      Dekorte
                      last edited by

                      @andybot said:

                      Glad to see this plugin get redeveloped, thanks Fredo6!

                      @dekorte said:

                      Downsizing 30-50 % realy works, all the trees i'm testing so far are working via this method.
                      Only downside is the quality of the tree , that's a petty.
                      Maybe it's an idea to make the time for generating a boundary a bit longer ?

                      Couldn't you just re-link the original full res image after generating the contours? I would think one wouldn't want an outline that has too many segments, this being SketchUp and all.

                      Yes, ofcourse. But that's again an extra step (not trying to be lazy, just stating the facts)
                      Anyhow, i tried this and it worked.
                      So I used the plugin to trace the edge of the low resolution tree
                      Afterwards, I put the high resolition png of the same tree as a texture on the created face.
                      Just out of curiousity, I don't think this is the best way to do it.
                      How would you "re-link" the original full res image after generating the contours ?

                      Like I said, not trying to be lazy. All I'm trying to say is that it would be great if the plugin could also trace high res png's.

                      Boris

                      1 Reply Last reply Reply Quote 0
                      • andybotA Offline
                        andybot
                        last edited by

                        True, it would be a nice feature if the plugin had a way to resize the image to an optimal size "behind the scenes" to use just for the tracing, while leaving the original intact.

                        http://charlottesvillearchitecturalrendering.com/

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement