• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] FredoTools::ThruPaint - v1.3a - 20 Oct 16

Scheduled Pinned Locked Moved Plugins
331 Posts 102 Posters 504.4k Views
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.
  • N Offline
    nomeradona
    last edited by 12 Apr 2012, 14:16

    another mind blowing plugin.. thank you Fredo...

    visit my blog: http://www.nomeradona.blogspot.com

    1 Reply Last reply Reply Quote 0
    • W Offline
      wolfy
      last edited by 12 Apr 2012, 15:44

      Fredo,
      @thomthom said:

      @unknownuser said:

      @wolfy said:

      I am getting a bugsplat every time when I try to apply a material to a newly created group.
      If I create a group and paint it with the native SU bucket, sample that with Thrupaint and apply it to a different group I don't get a bugsplat. Weird.
      Any ideas?

      Wolfy,

      Could you be more explicit.
      Are you on Mac or Windows?
      What do you mean by "newly created group"?

      Thanks

      Fredo

      That sounds like the material applied is from the Material Library and not In Model. The bugsplat I mentioned in my Materials article. Did you trap for that?

      Fredo and ThomThom,
      Thanks for the replies. I mean "newly created group" as in the first group I make when opening Sketchup, and yes I am picking the material from the materials library. Is that not the correct procedure? Does the material have to be in the model for use with Thrupaint?
      Can't wait to learn the ins and outs of the fantastic plugin Fredo! Your skills are amazing ☀

      1 Reply Last reply Reply Quote 0
      • F Offline
        fredo6
        last edited by 12 Apr 2012, 16:04

        @wolfy

        A few questions to help me spot the problem

        1. Is the material a color or a material with texture ?

        2. Does the crash happen when you paint or when you simply mouse over the model

        3. Do you use the options "Paint Faces and Edges"?

        4. Does it happen always, or randomly?

        5. Are you on Mac or Windows and which SU version ?

        6. Could you post the model (and the newly created group) in the forum so that I can see if I can reproduce it.

        Thanks

        Fredo

        1 Reply Last reply Reply Quote 0
        • O Offline
          Oxer
          last edited by 12 Apr 2012, 17:50

          Thanks you very much Fredo!! 👍
          I have translated the plugin to spanish language, if you want i send it you by private message.

          "The result is the end what is important is the process" by Oxer
          [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

          1 Reply Last reply Reply Quote 0
          • W Offline
            wolfy
            last edited by 12 Apr 2012, 18:06

            @unknownuser said:

            @wolfy

            A few questions to help me spot the problem

            1. Is the material a color or a material with texture ?

            2. Does the crash happen when you paint or when you simply mouse over the model

            3. Do you use the options "Paint Faces and Edges"?

            4. Does it happen always, or randomly?

            5. Are you on Mac or Windows and which SU version ?

            6. Could you post the model (and the newly created group) in the forum so that I can see if I can reproduce it.

            Thanks

            Fredo

            Hi Fredo,

            1. I've used both and it bugsplats in both cases.
            2. Crash only happens whilst painting.
            3. I've tried with same bugsplat result.
            4. It happens everytime I try to paint a newly created group. (the 1st one after opening a new model)
            5. Windows.
            6. I simply created a random shape each time to test/try the plugin, no materials in the model and picked material from materials library after I had invoked the plugin. Each random shape/model bugsplats when i try to apply a new material with the plugin.

            When I pick a material already in the model the plugin works fine, it's when I choose a new material from the material library that I get a bugsplat.

            Thanks for the feedback!

            1 Reply Last reply Reply Quote 0
            • L Offline
              leminilab
              last edited by 12 Apr 2012, 19:04

              I'm working with Curviloft and Thrupaint...

              I think I'm gonna vote for you to be the next president of France...

              • "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
              • F Offline
                fredo6
                last edited by 12 Apr 2012, 19:31

                @wolfi

                Just a few other questions, as I am unable to reproduce it (and apparently it does not happen for the first users of ThruPaint)

                1. Which version of SU

                2. After you use ThruPaint with a material in the model (so no bugsplat) and you try a material in the Library, do you still get a bugsplat?

                3. do you get a bugsplat if instead of a group, you paint a shape at top level of the model, or a true Component?

                Thanks

                Fredo

                1 Reply Last reply Reply Quote 0
                • W Offline
                  wolfy
                  last edited by 12 Apr 2012, 21:42

                  @unknownuser said:

                  @wolfi

                  Just a few other questions, as I am unable to reproduce it (and apparently it does not happen for the first users of ThruPaint)

                  1. Which version of SU

                  2. After you use ThruPaint with a material in the model (so no bugsplat) and you try a material in the Library, do you still get a bugsplat?

                  3. do you get a bugsplat if instead of a group, you paint a shape at top level of the model, or a true Component?

                  Thanks

                  Fredo

                  Fredo,

                  It seems to work beautifully on my work computer. ☀
                  I will reinstall again and hopefully eliminate this bugsplat deal.
                  Thank you for your responses and I'll be sure to post my reinstall status.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    d12dozr
                    last edited by 12 Apr 2012, 23:37

                    Awesome, no, AWESOME plugin Fredo! Thank you for all your hard work making Sketchup better!!

                    3D Printing with SketchUp Book
                    http://goo.gl/f7ooYh

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      charly2008
                      last edited by 13 Apr 2012, 11:56

                      It is wonderful that here in the forum are many talented Ruby programmers. Fredo, thanks a million for this additional excellent tool.

                      Charly

                      He who makes no mistakes, makes nothing

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Didier Bur
                        last edited by 13 Apr 2012, 13:07

                        @unknownuser said:

                        I think I'm gonna vote for you to be the next president of France...

                        And I'm candidate to be his prime minister 🤣

                        DB

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          fredo6
                          last edited by 14 Apr 2012, 17:43

                          NEW RELEASE: ThruPaint v1.0m - 14 Apr 12

                          This update fixes a few issues found in ThruPaint and integrate the translation to Spanish - Spain (Oxer), Spanish - Latin America (Defisto) and Chinese (guanjin)

                          See main post of this thread for more information on ThruPaint.

                          See main post of FredoTools thread for download of FredoTools, which includes the script.

                          Fredo

                          1 Reply Last reply Reply Quote 0
                          • U Offline
                            urgen
                            last edited by 14 Apr 2012, 19:36

                            ....O-O-O! ☀ thank you Fredo! 👍

                            --pupil forever...------

                            1 Reply Last reply Reply Quote 0
                            • W Offline
                              wolfy
                              last edited by 14 Apr 2012, 19:47

                              @wolfy said:

                              @unknownuser said:

                              @wolfi

                              Just a few other questions, as I am unable to reproduce it (and apparently it does not happen for the first users of ThruPaint)

                              1. Which version of SU

                              2. After you use ThruPaint with a material in the model (so no bugsplat) and you try a material in the Library, do you still get a bugsplat?

                              3. do you get a bugsplat if instead of a group, you paint a shape at top level of the model, or a true Component?

                              Thanks

                              Fredo

                              Fredo,

                              It seems to work beautifully on my work computer. ☀
                              I will reinstall again and hopefully eliminate this bugsplat deal.
                              Thank you for your responses and I'll be sure to post my reinstall status.

                              Hi Fredo,
                              Well the bugsplat continues on my laptop. I've installed the new version with the same result.
                              Again, if the material already lives in the model it works just great. Only when a new material is applied using the plugin do I get a bugsplat.
                              I've tried all types of shapes, groups, components, materails, you name it, all with the same result.
                              I'm using the latest version of SU Pro, Windows 7 64 bit if that helps, and all your other plugins run perfectly smooth.
                              Thanks again Fredo for your excellent work!

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                fredo6
                                last edited by 14 Apr 2012, 21:18

                                @wolfi,

                                It might be a conflict with another plugin, which you would not have in the PC at the office.
                                Do you have any plugins dealing with materials or UV mapping?

                                For this, ould you type in the Ruby Console Sketchup::Material.instance_methods.join("\n") and advise on what it returns.

                                Thanks

                                Fredo

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sadyo
                                  last edited by 15 Apr 2012, 09:24

                                  This is an Awesome Plugin Mr Fredo,
                                  Just wanna ask, how to get rid or fixing these Red area beside click the Esc button?

                                  http://photoserver.ws/images/30gI4f8a92aa048fa.jpg

                                  And one thing,
                                  If i'm using the Natural UV, material on the Top is look nice, but look a bit mesh at the back.

                                  http://photoserver.ws/images/X1Sv4f8a9608d00fc.jpg

                                  Is that something i should do ❓

                                  Thanks Mr. Fredo

                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    fredo6
                                    last edited by 15 Apr 2012, 10:16

                                    @sadyo

                                    In the case of your cushion, you could maybe split it in 2 symmetrical parts since the upper face and borders looks fine.

                                    The Mesh UV mode looks less adpated because the shape is not generated as a Quadface mesh but with random triangles. Visually, you could however make it a quad mesh if you guide the reconstruction of the mesh by marking diagonals.

                                    Keep in mind that ThruPaint is not at all an UV Mapping tool (you should use SketchUV for that). The natural mode just extend the UVs of the initial face to all adjacent faces with a few corrections. But it cannot solve the geometrical problem that it is not possible to warp an arbitray 3D Shape with a flat piece of paper.

                                    Fredo

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rv1974
                                      last edited by 15 Apr 2012, 11:19

                                      Fredo this is yet another pearl!
                                      A couple of questions\wishes:
                                      1/ How could I get back the native Alt-key eyedropper?
                                      2/ How to correct the UVW mapping on the surface #1 (see attached)?
                                      3/ If only the Thrupaint could bend the textures along selected curves (AB) (upon unquadrified surfaces (#2) it'd really amazing!

                                      Thank you for your efforts!


                                      asphalt.skp

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        fredo6
                                        last edited by 15 Apr 2012, 13:57

                                        @rv1974 said:

                                        1/ How could I get back the native Alt-key eyedropper?

                                        You can call the native Paint Tool from ThruPaint (key F9 or small button on the right of palette).
                                        SU Env native.png
                                        There is a sampler in ThruPaint (press Enter when you mouseover a face), but it is restricted to the model and does not detect projected textures, as this is not available from Ruby.
                                        Sampler ThruPaint.png

                                        @rv1974 said:

                                        2/ How to correct the UVW mapping on the surface #1 (see attached)?

                                        Unfortunately, this is not possible, because Sketchup uses only Perspective mapping, not bilinear mapping.
                                        Perspective mapping.png
                                        This perspective effect is attenuated if you grid the face into smaller cells (quads or triangles), for instance with Curviloft.
                                        Road ThruPaint.jpg

                                        @rv1974 said:

                                        3/ If only the Thrupaint could bend the textures along selected curves (AB) (upon unquadrified surfaces (#2) it'd really amazing!

                                        I will need to find or develop a small algorithm for quadifying a face nicely. Then you are back to case 2) above. But with a mesh which is dense enough it should work.

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          rv1974
                                          last edited by 15 Apr 2012, 17:06

                                          what a comprehensive support! Frankly I don't deserve it )
                                          The last sentence improvement would be a killer!
                                          Thank you so much!

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

                                          Advertisement