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

    [Plugin] Flattery papercraft tools

    Scheduled Pinned Locked Moved Plugins
    91 Posts 41 Posters 85.9k Views 41 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.
    • B Offline
      biagiodicarlo
      last edited by

      @pumpkin pirate said:

      Hello everyone!
      A while ago, I made a plugin for designing papercraft patterns. It allows you to unfold models into flat patterns, add tabs, and export them as SVGs. Just recently, I finally got around to polishing it up and putting it online. I call it Flattery, and you can get it here.

      It's got three main tools for designing patterns.

      The Unfold tool unfolds models into flat patterns:

      http://www.pumpkinpirate.info/static/flattery/img/unfold.gif

      the Reunite Edges tool lets you adjust the layout of the patterns:

      http://www.pumpkinpirate.info/static/flattery/img/reunite.gif

      and the Add Tabs tool makes glue tabs:

      http://www.pumpkinpirate.info/static/flattery/img/tabs.gif

      It's also got an SVG export button so you can export your pattern to a program like Illustrator or Inkscape to color and print it.

      Please, where I can find FLATTERY for a mac using SU2013?!

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        You copied and pasted the link in your post. πŸ˜’

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

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

          Your one line question is at the end of you pasted post. πŸ˜’
          "Flattery" ought to work on MACs too - did you read the instructions on its page it refers to MAC Plugins folders etc.
          The examples given for its installation are for v8... BUT v2013 should also work using the equivalent folders.
          In the Ruby Console: Sketchup.find_support_file('Plugins') will return the path to your v2013 Plugins folder [in v2013 it changes to the ../User/.. one?].
          Then you can extract and install the contents of any ZIP you download.
          To see that folder you will need the 'Show Lib' option checking in the Finder...
          BUT remember that you can convert a ZIP into a .RBZ simply by changing its file suffix.
          Then the Preferences > Extensions > Install... button will auto-install it for you anyway !
          This auto-installation works in v2013 and the newer v8 SketchUp too...

          TIG

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

            Does not work on 2014

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

              @shafir_am said:

              Does not work on 2014
              Have you told the author directly ?
              If not, then it might never be corrected... πŸ˜•

              TIG

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

                Hi Tig
                His e-mail is not working
                Do you know any other plugin like flattery

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

                  @jbb

                  You have a typo in the update.
                  It no longer works in <v14
                  You have added
                  vertecies = Set.new --> vertecies = Set.new
                  when it should be
                  vertecies = Set.new --> RUBY_VERSION.to_i < 2 ? vertecies = Set.new : vertecies = Sketchup::Set.new

                  I'll correct it and add it to the PluginStore later...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • jiminy-billy-bobJ Offline
                    jiminy-billy-bob
                    last edited by

                    Oh? Sorry, I must have mixed up the files...

                    25% off Skatter for SketchUcation Premium Members

                    1 Reply Last reply Reply Quote 0
                    • jiminy-billy-bobJ Offline
                      jiminy-billy-bob
                      last edited by

                      As there seem to be no way to contact the author and the copyright allows it, I modified the plugin to make it work in SU2014. It should still work fine in older versions. Here it is:

                      ****Working version for SketchUp 2014:

                      EDIT : Download in the pluginstore: http://sketchucation.com/pluginstore?pln=Flattery

                      Maybe an admin can replace it in the pluginstore?

                      Modifications:
                      tabtool.rb line 238: if @active_edge: > if @active_edge
                      tabtool.rb line 276: if @active_edge && @dragging: > if @active_edge && @dragging
                      tabtool.rb line 287: if @active_edge: > if @active_edge
                      reunitetool.rb line 76: vertecies = Set.new > RUBY_VERSION.to_i < 2 ? vertecies = Set.new : vertecies = Sketchup::Set.new

                      25% off Skatter for SketchUcation Premium Members

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

                        I've just added v1.0.2 files to the PluginStore [previously it had linked to the author's site where the incompatible file still resides].
                        If the original author [who still has full credit] wants to remove it let us know.
                        He is also free to take the corrected version and use it on his own site if he wishes...
                        Under the clear terms of the (c) notice at the top of each of his files, he allows changes and reissue, provided his (c) is kept intact - which it is...

                        TIG

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

                          Thank you jiminy...
                          It's working now (-:

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            mcgully
                            last edited by

                            Can anyone please help me? On my old laptop flattery worked just fine. Now WIN8 , SU2013 version and installed flattery, all worked correctly but I just can't export the drawing. I click save but it wont appear in the folder. Also tried SU8 but didn't work neither.

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

                              A working version for 2014 is in the Plugin Store:

                              Link Preview Image
                              SketchUp Plugins | PluginStore | SketchUcation

                              SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

                              favicon

                              (sketchucation.com)

                              Hi

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                mcgully
                                last edited by

                                Thank you very much, in 2014 all works alright

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  magna2
                                  last edited by

                                  I copyed the file into the extension folder, but it doesn't show up on the menu bar on SU2014. Anyone could help me out?
                                  Thanks!

                                  kind regards,
                                  Magnar Totland

                                  1 Reply Last reply Reply Quote 0
                                  • Dave RD Offline
                                    Dave R
                                    last edited by

                                    What do you mean you "copyed [sic] the file into the extension folder"?

                                    Did you just download the .rbz file and copy it? And what extension folder? Did you place the .rbz file into the Plugins folder? If so, that's not the correct way to install plugins/extensions. Find the .rbz file and remove it back to Downloads or the desktop. Open SketchUp and go to Window>Preferences>Extensions. click on Install Extension, navigate to where you put the file, select it and choose Open. Continue with the installation. You should then see the toolbar for it under View>Toolbars.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      magna2
                                      last edited by

                                      Thank you! πŸ˜„

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

                                        Please complete your SCF User Profile, we don't know your OS or SUp version.
                                        We can offer more targeted advice if you had...

                                        Most Plugins are available in the PluginStore:
                                        http://sketchucation.com/pluginstore?pln=Flattery
                                        The RBZ archive can be automatically installed with any SketchUp >= v8 using Preferences > Extensions > Install.... button...

                                        If you installed the RBZ version of the SketchUcation PluginStore toolset, then you'll be able to AutoInstall from the PluginStore without even worrying about the RBZ download - every step is doe automatically...

                                        Don't forget that most Plugins are 'free', so carping on about inadequacies is not constructive...
                                        Perhaps the author is a code whizz who can't explain himself well?... but you as an erudite chap could help by sharing knowledge and make the work a better place - rather that making people feel bad.
                                        Post a useful tip, like, "Flattery Tip: After selecting and indexing, you'll need to deselect and reselect before 'unfolding'..."

                                        TIG

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

                                          I need some help;I've tried installing this plugin and cant seem to get it to work. (Sketchup (Make) 2014, Win8). following the procedure: Window>Preferences>Extensions. click on Install Extension, navigate to where you put the file, select it and choose Open. the toolbar doesn't show up and upon closing/reopening Sketchup I get the error dialog:
                                          Error Loading File C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/flattery/toolbar.rb
                                          Error: #<SyntaxError: C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/flattery/tabtool.rb:238: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
                                          C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/flattery/tabtool.rb:276: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
                                          C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/flattery/tabtool.rb:287: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
                                          C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/flattery/tabtool.rb:291: syntax error, unexpected keyword_end, expecting end-of-input>
                                          C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
                                          C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/flattery/toolbar.rb:24:in <top (required)>' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require'
                                          C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in load' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/flattery.rb:28:in register_extension'
                                          C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/flattery.rb:28:in `<top (required)>'

                                          1 Reply Last reply Reply Quote 0
                                          • Dave RD Offline
                                            Dave R
                                            last edited by

                                            Where did you get the version of Flattery that you downloaded? It shouldn't be installed in the Tools folder but from the error messages, it appears it has been installed there. It would appear you have an outdated version. You should first navigate to the tools folder and delete any all files related to Flattery and start from scratch with a fresh copy. The correct version is in the Plugin Store. Use it to auto-install the plugin correctly.

                                            Etaoin Shrdlu

                                            %

                                            (THERE'S NO PLACE LIKE)

                                            G28 X0.0 Y0.0 Z0.0

                                            M30

                                            %

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

                                            Advertisement