[Plugin] Flattery papercraft tools
-
@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:
the Reunite Edges tool lets you adjust the layout of the patterns:
and the Add Tabs tool makes glue tabs:
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?!
-
You copied and pasted the link in your post.
-
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... -
Does not work on 2014
-
@shafir_am said:
Does not work on 2014
Have you told the author directly ?
If not, then it might never be corrected... -
Hi Tig
His e-mail is not working
Do you know any other plugin like flattery -
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...
-
Oh? Sorry, I must have mixed up the files...
-
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
-
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... -
Thank you jiminy...
It's working now (-: -
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.
-
A working version for 2014 is in the Plugin Store:
-
Thank you very much, in 2014 all works alright
-
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 -
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.
-
Thank you!
-
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'..." -
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:inrequire' 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:inload' 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)>' -
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.
Advertisement