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

    [Plugin] Simple Shell (scaled copy)

    Scheduled Pinned Locked Moved Plugins
    38 Posts 12 Posters 41.1k Views 12 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.
    • Dave RD Offline
      Dave R
      last edited by

      Actually, I'd rather not have the inner shell made as a group at all. I'd rather it be part of the selected group, or better in my case, component. Better, it could be an option to have it made into a separate component/group and if the selected thing is a component, make a component. If it is a group, make a group.

      Here's a quick example of where it would be nice to have the shell be part of the selected C/G.


      http://farm6.static.flickr.com/5122/5241235096_75ab1c76be.jpg

      I made a simple sphere to test the plugin. After getting the shell, I decide to cut it open to make a sort of bowl. I had to explode the shell and then cut and paste in place the shell into the Sphere group before slicing off the top with a cutting surface. If the shell geometry was loose inside the selected G/C, there'd be no need to explode, cut and paste in place because the shell would be part of the selected component definition.

      Not that it makes any difference but I used the circle from the Follow Me path as the cutting plane and didn't delete the edge of the circle.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

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

        Ah, version 6 compatibility - should be fixed now.

        First Post

        Hi

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          Yes I have the Menu JF Simple Shell πŸ˜‰

          Here the code in Ruby Console after I select the group and call the plug by the Menu
          and enter some measures in the Dialog box
          (same result with the direct Ruby console commands)

          Error; #<ArgumentError; wrong number of arguments(2 for 1)>
          C;/Program Files/Google/Google SketchUp 6/Plugins/jf_simple_shell.rb;30;in `start_operation'
          C;/Program Files/Google/Google SketchUp 6/Plugins/jf_simple_shell.rb;30;in `simple_shell'
          C;/Program Files/Google/Google SketchUp 6/Plugins/jf_simple_shell.rb;2
          C;/Program Files/Google/Google SketchUp 6/Plugins/jf_simple_shell.rb;2;in `call'
          

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • pilouP Offline
            pilou
            last edited by

            Works fine now in the V6 😎
            You rocks! πŸ‘
            I don't retry with the V8 and V7 πŸ’š
            shell.jpg

            Edit : works also with the V7 πŸ˜‰

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

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

              @Dave, I would like to keep the created shell as a Group. This is so the operator can make sure the shell does not intersect with anything else before moving on. There may be scaling or other adjustments (snoothing, reverse faces) that should be done, too. This allows the operator the most choices on the next action.

              One small thing I will have the plugin do is to select the created shell Group as the last step. Then at least it is ready to explode if you want.

              For shelling a Component, right now you could open the Component, select all, make it a Group, shell it, then explode again. I know it's not optimal, but is one way to do it.

              It's possible to make the plugin work on a selected surface as well as a selected Group, so then you could open the Component, make the selection, and generate the shell; which is fewer steps. This is something I want the script to do, so it'll be available soon either way.

              Hi

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

                Hi Jim
                FYI: ?
                I get this error loading SU 7.1 free with the script installed per your first thread posted.
                Error Loading File jf_simple_shell.rb
                C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:1: syntax error
                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                ^
                C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:2: syntax error
                <html xmlns="http://www.w3.org/1999/xhtml">
                ^
                C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:3: syntax error
                <head>
                ^
                C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:5: syntax error
                <title xmlns="http://www.google.com/ns/jotspot">Download Attachment</title>
                ^
                C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:6: syntax error
                <style xmlns="http://www.google.com/ns/jotspot">
                ^
                C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:19: syntax error
                content: ".";
                ^
                C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:70: syntax error
                <body xmlns="http://www.google.com/ns/jotspot">
                ^
                dtr

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

                  dtrarch,

                  That looks like a HTML file.

                  Try right-clicking this link, then select Save Link As (or Save Target As) to download the file.

                  Hi

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

                    Updated to create a shell from selected surface, in addition to a selected Group.

                    See First Post.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • pilouP Offline
                      pilou
                      last edited by

                      Cool! But the same with scale from a opposite point will be also useful πŸ˜‰

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

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

                        Jim

                        Somehow I did download the html. 😳
                        Your link worked perfect and thank you so much 😍
                        OK for SU V8 pro too.
                        Very handy tool. πŸ‘ πŸ‘

                        Dave #2

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sahi
                          last edited by

                          Hi,
                          Cool. It reminds me my old Object πŸ˜’
                          here: http://forums.sketchucation.com/viewtopic.php?f=180&t=11677

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

                            Thanks sahi,

                            Yes, my plugin is almost exactly the same as yours - I may not have written another if I knew one already existed.

                            One reason it couldn't be found is the topic lacks the [Plugin] text that is used by the Plugins Index, and so is not listed. I have requested the mods add the tag so the plugin will be listed.

                            Hi

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sahi
                              last edited by

                              @jim said:

                              One reason it couldn't be found is the topic lacks the [Plugin]

                              That's my fault. I have not posted it here. (But that was long ago 2008)

                              1 Reply Last reply Reply Quote 0
                              • McGyverM Offline
                                McGyver
                                last edited by

                                Thank you very much! I can see many uses for this plugin!!

                                [Visit My ShareCG Freebie Gallery](http://www.ShareCG.com/pf/full_uploads.php?pf_user_name)

                                1 Reply Last reply Reply Quote 0
                                • U Offline
                                  unclex
                                  last edited by

                                  Group Many times,but can;t work……
                                  at last
                                  it works on the component……
                                  why。。。。。。。。。

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

                                    @sahi: Your Scale to_cm plugin is now listed inthe Index.

                                    @unclex: I need more information. Open the Ruby Console Window, then use the plugin. Are there any errors displayed in the Ruby Console?

                                    Hi

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      Yesterday I start fiddling around with a small test project that thickens a surface. I've not uploaded it here at SCF yet, but it's available at BitBucket if you should be interested.
                                      https://bitbucket.org/thomthom/shell/

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

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

                                        It works well on the simple stuff I just tried it on. Very cool, thanks. (Now, I make a request about Solid Inspector...)

                                        Hi

                                        1 Reply Last reply Reply Quote 0
                                        • thomthomT Offline
                                          thomthom
                                          last edited by

                                          Let me know of cases where it is not working so wwell. I have also trief only with simple stuff.

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

                                          1 Reply Last reply Reply Quote 0
                                          • thomthomT Offline
                                            thomthom
                                            last edited by

                                            Updated the Shell plugin with a tool. Also available for users here at SCF: http://forums.sketchucation.com/viewtopic.php?f=323&t=39308

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

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

                                            Advertisement