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

[Plugin] Shell

Scheduled Pinned Locked Moved Plugins
93 Posts 33 Posters 59.1k 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.
  • R Offline
    robert111
    last edited by 11 Nov 2011, 13:07

    mr TIG, thanks you for your reponse but i dont know how to make any form to solid form with sketchup, can you make video tutorial for this plugin plzzz

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 11 Nov 2011, 13:43

      @robert111 said:

      mr TIG, thanks you for your reponse but i dont know how to make any form to solid form with sketchup, can you make video tutorial for this plugin plzzz

      See the responses on the previous page since your last visit: http://forums.sketchucation.com/viewtopic.php?f=323&t=39308&start=15#p365385

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 11 Nov 2011, 13:45

        No.
        If you do not grasp the concept of what a solid is how would showing you help?
        Most simple forms made by Sketchup like boxes and cylinders are 'solids'.
        When you add them together they can make internal partitions etc which need removing before it's considered to be a solid.
        Try my SolidSolver tool which attempts to turn non-solid groups into solids...
        However, your example of a 4 sided box could never be made a solid unless you add more faces/edge etc...

        TIG

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 11 Nov 2011, 13:51

          But he doesn't need a solid at all. He simply confused the "Outer Shell" menu item for my "Shell" menu item.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • R Offline
            robert111
            last edited by 11 Nov 2011, 15:06

            thanks
            i confused the out shell with shell
            your plugin work perfect now

            thanks thomthom and thanks TIG too

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 11 Nov 2011, 15:27

              👍 👍

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • C Offline
                chango70
                last edited by 6 Jan 2012, 05:45

                Great plugin, already works well for 0.2!

                1 Reply Last reply Reply Quote 0
                • B Offline
                  boilingsnow
                  last edited by 19 Jan 2012, 23:09

                  This is really useful.
                  Thank you so much.

                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    Oxer
                    last edited by 28 Jan 2012, 16:17

                    Thanks, i'm looking for something like this. 👍 👍

                    "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
                    • K Offline
                      krath
                      last edited by 16 Mar 2012, 12:04

                      Thanks Thomas, this plugin is very useful!
                      However, I don't seem to be able to commit after typing a thickness.
                      The shell is generated, but neither double-clicking or Return finishes off the process.
                      The space tab brings me back to the selection tool, but the already generated shell is lost.
                      Ruby console reads:

                      Error: #<ArgumentError: Cannot convert argument to Sketchup::Point3d>
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:401:in add_face' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:401:in add_border_face'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:381:in shell' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:374:in each'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:374:in shell' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:362:in each'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:362:in shell' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:321:in offset_mesh'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:319:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:319:in offset_mesh'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:188:in `onLButtonDoubleClick'
                      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_shell.rb:328

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 16 Mar 2012, 12:25

                        Got a sample model?

                        The plugin is a very early experiment - so very prone to errors.

                        Thomas Thomassen — SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          krath
                          last edited by 16 Mar 2012, 17:49

                          Thomas, my apologies for having bothered you without testing more thoroughly beforehand!
                          Although the error is reproducable, it is limited to geometry that has rounded corners in combination with an offset of the shell, that is close to or greater than the offset of the rounded corners.
                          I have attached a sample model with some tests - the red shape produces the error.


                          shell_test.skp

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 17 Mar 2012, 22:41

                            @krath said:

                            Thomas, my apologies for having bothered you without testing more thoroughly beforehand!
                            Although the error is reproducable, it is limited to geometry that has rounded corners in combination with an offset of the shell, that is close to or greater than the offset of the rounded corners.
                            I have attached a sample model with some tests - the red shape produces the error.

                            Thanks for the sample file. It helps me when testing the plugin. It'd not first up on the priority list at the moment to be honest - I got some other updates lined up. But I'll be getting back to it.

                            In case you haven't tried it, Fredo's Join Push Pull is more mature and does a better job.

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 18 Mar 2012, 10:57

                              This issue is the same as the 2d offset when you get reversed edges in the internal offset loop on tight corners or narrow peninsulas.

                              I have an unpublished version of some 'smart_offset' code that spots this issue and offsets in 2d 'truly', ignoring these glitches... I might dust that off...

                              In the 3d equivalent - like 'shell' - we need a similar 'reversed faces' catcher.
                              Perhaps we make the internal 'shell' faces, then intersect everything in its group with its entities, to 'split-off' any 'crossovers', then we erase any faces that when raytested from their center by their normal hit the parent object's entities, finally erasing all single faced edges that are left over and any unfaced edges left after that...

                              Just some ideas... 💭

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • KrisidiousK Offline
                                Krisidious
                                last edited by 1 Apr 2012, 04:01

                                I pull and click or enter the distance and click but it never completes... allows me to choose again and again.

                                works on simpler mesh though. like box and sphere. wondering if it's my mesh that's the problem.

                                it shows me the preview of what will be made. never makes it. I wonder if there is another way to complete other than double click?

                                By: Kristoff Rand
                                Home DesignerUnique House Plans

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thomthom
                                  last edited by 1 Apr 2012, 10:57

                                  Got a sample model?

                                  Does the Ruby Console display any error.

                                  It it quite likely to be bugged - it's a very early experimental version.

                                  Thomas Thomassen — SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply Reply Quote 0
                                  • KrisidiousK Offline
                                    Krisidious
                                    last edited by 2 Apr 2012, 01:08

                                    sent

                                    By: Kristoff Rand
                                    Home DesignerUnique House Plans

                                    1 Reply Last reply Reply Quote 0
                                    • JQLJ Offline
                                      JQL
                                      last edited by 3 Apr 2012, 03:21

                                      What a bomb "shell" Thomthom. Thank you very much for this beta that is already a great plugin.

                                      I've been long waiting in the shadows, looking for a way to make myself useful around here. And if you don't mind, as I'm no coder I offer myself as a crash test dummie. I made some observations too and I hope you may be able to take some conclusions from them.

                                      1 - As was already mentioned before, I noticed that with some geometry the preview is being shown but the shell isn't created with double click or enter. In my case It usually happens when the preview draws extra faces that intersect the original group/component's faces, getting outside. Besides that the preview is accurate. (If there was already a way to force the previewed geometry to become real geometry, this could be an awesome plugin.)

                                      2 - This preview geometry thing is more prone to happening with closed or revolved shapes. Sometimes It works but creates strange intersections inside. If those faces are open and the shell isn't too deep, it works just fine and it's also very fast. When it does work it is flawless with all faces parallel and at the same distance from each other! I made some (almost) manual shells, just to compare and they were always perfect matches.

                                      3 - I also tried negative shelling just to test if I could get the same shape back. When tt_shell works, the negative shell also works. I also noticed that once I inserted the negative value, SU remembered that direction as being positive. So if I wanted to make a "regular" shell after, I had to input a negative value again.

                                      4 - In the file below there is an example of an object that did not create a shell but got some interesting results:
                                      a) I tried creating a 30cm shell and it failed.
                                      b) I created the shell above using Normal Push Pull and the usual intersect faces method. I got the resulting 30cm shell I wanted.
                                      c) From this resulting shape I tried using the plugin to create a second 30cm shell and it worked, wich I found strange.
                                      d) So I tried to make a negative shell wich would grow the shape back 30cm. This again worked and I was back with the shape I got in b).
                                      e) I picked back the smallest shell from c) and I tried to make it grow 60cm so I could have the initial shape in a). It failed to do so.
                                      f) I tried again, but with a 59cm value and it worked.
                                      g) I noticed that there were some edges that were very small and that if I would have tried to reuse the 60cm value that I did before, they would become vertices.

                                      What this suggests me is that maybe the plugin isn't able to manage edges that shrink until they become vertices. The reverse should also be true and that means the plugin also can't handle vertices that must grow into edges. Of course I'm not absolutely sure but probably there's something down this line.

                                      This is all illustrated in the scenes from the attached file.

                                      If it is ok I'll keep testing the plugin until I find some more examples of this.

                                      I really hope I made a small contribution and thank you again for all the hard work. It's much appreciated.


                                      shell_test.skp

                                      www.casca.pt
                                      Visit us on facebook!

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        thomthom
                                        last edited by 3 Apr 2012, 11:09

                                        Joint Push Pull does a much better job at making a "shell". And it's not beta. I will probably take some time before I do more work on this plugin. (Though it is a part of another plugin I'm working on - so eventually.)

                                        Thomas Thomassen — SketchUp Monkey & Coding addict
                                        List of my plugins and link to the CookieWare fund

                                        1 Reply Last reply Reply Quote 0
                                        • JQLJ Offline
                                          JQL
                                          last edited by 5 Apr 2012, 18:07

                                          Thomthom,

                                          I'm sorry if you don't go further with this plugin. I have been using JPP but, sometimes and on certain shapes, (the ones i usually work on) it creates a shell whose faces are not all parallel to each other. I was going to comment on the JPP topic but gave up when I read the manual. In there Fredo clearly states that JPP was designed in a way that those unparallel faces are supposed to happen sometimes.

                                          Your shell, with those same shapes makes them always parallalel (at least in the preview). It really works well in the rest of the time and the only "flaws" I noticed were the ones I pointed. If only those previews could be materialized in "real" lines and faces...

                                          If you give it a second thought, I do think it's worth putting just a bit more effort on this.

                                          I don't want to sound ungrateful though, because in its current state, this is already one of my favourite plugins.

                                          Best regards and thank you.

                                          www.casca.pt
                                          Visit us on facebook!

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

                                          Advertisement