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

    Unfold.rb script: useful for UV-mapping?

    Scheduled Pinned Locked Moved Developers' Forum
    61 Posts 23 Posters 14.6k Views 23 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.
    • RichardR Offline
      Richard
      last edited by

      @unknownuser said:

      Very interesting thread!!! I have some physical models I need to build for an exhibition, so this would be very useful but I can't get the unfold script to work on Vista, any ideas?

      mate youi could do a search on the net for paper arch models. I know once there was a thread on the PPB about these and there was a link to an application that could output a flat plan unfold to produce a paper model from digital models....

      [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

      1 Reply Last reply Reply Quote 0
      • jenujacobJ Offline
        jenujacob
        last edited by

        @richard said:

        @unknownuser said:

        Very interesting thread!!! I have some physical models I need to build for an exhibition, so this would be very useful but I can't get the unfold script to work on Vista, any ideas?

        mate youi could do a search on the net for paper arch models. I know once there was a thread on the PPB about these and there was a link to an application that could output a flat plan unfold to produce a paper model from digital models....

        that would be Pepakura i suppose???
        http://www.tamasoft.co.jp/pepakura-en/

        1 Reply Last reply Reply Quote 0
        • RichardR Offline
          Richard
          last edited by

          Thats the one mate!!!!

          [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

          1 Reply Last reply Reply Quote 0
          • L Offline
            linea
            last edited by

            Yes I have the free version of Pepakura and it's not bad, I made a fairly good Gherkin model with it("gherkin" is the nickname of a building in London called St Mary's Axe). But on more complicated geometry it doesn't do as well.

            1 Reply Last reply Reply Quote 0
            • romboutR Offline
              rombout
              last edited by

              @solo said:

              Make a cone shape and then project the texture attached below to the cone from above view, notice it will map the shape of the cone perfectly without distortion.

              How did you do this trick, with PS think but how did came up with the idea.
              Ive got this mapping problem with this mesh. also trying to learn blender right know so i can use the UVmapping abbility


              Afbeelding 45.png

              1 Reply Last reply Reply Quote 0
              • GaieusG Offline
                Gaieus
                last edited by

                Hi Rombout,

                See this post in the other topic you posted the same problem.

                Gai...

                1 Reply Last reply Reply Quote 0
                • RichardR Offline
                  Richard
                  last edited by

                  Bump, bump bump!!

                  [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jim
                    last edited by

                    I added preliminary support for refolding to my unfold tool.

                    Maybe someone would like to try it?

                    Download tip.zip from bitcucket.

                    You can undo and redo the refold, but activating the Tool wipes out the history.

                    I am not going to ty tyo make it work inside Groups or Components this day. Just works on loose geometry at the moment.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      xrok1
                      last edited by

                      @jim said:

                      I added preliminary support for refolding to my unfold tool.

                      Maybe someone would like to try it?

                      Download tip.zip from bitcucket.

                      You can undo and redo the refold, but activating the Tool wipes out the history.

                      ❓

                      “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                      http://www.Twilightrender.com try it!

                      1 Reply Last reply Reply Quote 0
                      • RichardR Offline
                        Richard
                        last edited by

                        Wow thanks jim! I'll take it for a run!

                        I guess the simplest (considering your earlier point about not understanding UV mapping), would be that possibly a temp file be created that records the unfold steps and recalls them in reverse after the user has painted a map to the unfolded geometry!

                        Cheers mate! Richard

                        [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          Jim
                          last edited by

                          Yeah, that's about it - it's all in-memory but a temp file is an option. It could become quite complex if I need to allow for interrupted unfolding (if that makes sense.)

                          As I said, you will probably only get one go at it because re-activating the Unfold tool wipes out the history.

                          Let me know how it goes.

                          Hi

                          1 Reply Last reply Reply Quote 0
                          • RichardR Offline
                            Richard
                            last edited by

                            Jim mate well done!!!!!

                            I just made a hex base and followed up a few bent lines > unfolded > mapped the surface > refold and bang all done with mapping perfect!!!!! Wow!

                            The big issue obviously is that complex models would need to be naved during the unfold and this seems to break the actual unfold itself.

                            Though at this point it will already make many mapping issues easy to complete!

                            Thank you thank you thank you!

                            BTW have never done this - hold does one install the button image?

                            [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jim
                              last edited by

                              You know, this might be much easier. Instead of keeping a history of each step, it should be possible to go through and save the positions of each face one-time at the start. Then you can unfold however you like, in as many ways as you like; and the refold operation can go through and put things back where they were originally. Maybe. I think.

                              Hi

                              1 Reply Last reply Reply Quote 0
                              • RichardR Offline
                                Richard
                                last edited by

                                Hmmm?

                                I've been playing some more and yeah its hard to get a well developed map without the option of breaking the unfold operation to view and understand the unwrap as one is doing it.

                                The form I've been playing with is a little like a tree trunk, the problem is one would want a unwrap out from one continuous common run of face with each unwrap around the trunk out from the common.

                                Dam good work though Jim!

                                [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  Jim
                                  last edited by

                                  As a temporary work-around, added a prompt:

                                  068.png

                                  This will allow you to leave the unfold tool and resume when re-activated - but moving the geometry (including using Undo) will invalidate the history and the re-fold will fail.

                                  Download from http://bitbucket.org/jimfoltz/sketchup-unfold-tool/get/tip.zip

                                  Hi

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

                                  Advertisement