[Plugin] AutoSmooth

[Plugin] AutoSmooth

Postby thomthom » Tue Feb 19, 2013 11:17 pm

Overview
Automatically softens and smooths autofolded edges created by the native Move, Rotate and Scale tools in SketchUp.



Access
Plugin > AutoSmooth
View > Toolbars > AutoSmooth

Requirements
  • SketchUp 8 or newer (Preferably M4 or newer)
  • TT_Lib2 (v2.7.0)


Guide: How to install RBZ Files

Download



Footprint
<Sketchup>/Plugins/
+-
tt_autosmooth.rb

2
Last edited by thomthom on Sat Jan 18, 2014 12:49 pm, edited 1 time in total.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby Rich O Brien » Tue Feb 19, 2013 11:26 pm

246
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby pilou » Wed Feb 20, 2013 12:24 am

Very tricky for the aspect of a volume :enlight:

but an headache for refind and correct the coplanar faces! :)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby Rich O Brien » Wed Feb 20, 2013 12:46 am

That's probably my most sought after tool ever....now if someone could write an exporter to obj that picked up these pseudo-quads and exported as a quad it'd be pretty sweet.

Cookie sent
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Wed Feb 20, 2013 1:15 am

Pilou wrote:Very tricky for the aspect of a volume :enlight:

but an headache for refind and correct the coplanar faces! :)


Say what? :? :?:
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby pilou » Wed Feb 20, 2013 1:17 am

No problem! ;)

It's just when you see the volume you think that is right, but some "hidden" faces are no coplanars :)

So there is a problem somewhere! A point is not at the correct x,y,z value! But witch ? :mrgreen:

Right but false.jpg
0
Last edited by pilou on Wed Feb 20, 2013 1:29 am, edited 3 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Wed Feb 20, 2013 1:19 am

Rich O Brien wrote:That's probably my most sought after tool ever....now if someone could write an exporter to obj that picked up these pseudo-quads and exported as a quad it'd be pretty sweet.

Cookie sent

Thanks for the cookie!
It might not be so much work to make such an exporter of could take an free one that was open for redistribution and combine it into QuadFace Tools.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby pilou » Wed Feb 20, 2013 1:27 am

Does this more clear with my image above ? :)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby Rich O Brien » Wed Feb 20, 2013 2:02 am

If I could make a suggestion....

If somehow you could disable inferencing on ALT down it'd be great. :thumb:
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Wed Feb 20, 2013 9:37 am

Pilou wrote:Does this more clear with my image above ? :)

I'm afraid no. I don't understand what happens there and what are you expecting?

Rich O Brien wrote:If somehow you could disable inferencing on ALT down it'd be great. :thumb:

Unfortunately no, only way would be to recreate the native tools.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby Rich O Brien » Wed Feb 20, 2013 9:39 am

Ok, still an awesome tool.
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Wed Feb 20, 2013 9:52 am

Saying that though, I'm currently recreating Move, Rotate and Scale for BezierSurface. Might spawn them off as a separate thing at some point.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby pilou » Wed Feb 20, 2013 10:25 am

I'm afraid no. I don't understand what happens there and what are you expecting?


Happen nothing special: it's correct Plugin function :)

Expecting nothing special : Maybe I don't understand the "smooth" in general? :oops:

Does it allow to see a perfect volume in hidde some edges
Does it allow to see a perfect volume in hidde some edges even some faces are not coplanar
...
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Wed Feb 20, 2013 10:31 am

Volumes? Are you thinking of solids? This plugin isn't related to solids - it works on any geometry.

Pilou wrote:Expecting nothing special : Maybe I don't understand the "smooth" in general? :oops:


You know when you modify some geometry and SketchUp triangulates the face because it's not planar any more? This plugin makes these edges Soft+Smooth - like when you Ctrl+Erase, or enable the Soft and Smooth checkboxes in the Entity Info.

I'm afraid I still do not understand what you are asking... :? :( :oops:
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby Rich O Brien » Wed Feb 20, 2013 10:47 am

I think Pilou thinks that if you move a point to make a non planar face that the resulting skin will be correct. As in a type of make planar but Pilouified

This tool does not smooth a face it smooths the harsh edge that the default move tool creates.




.
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby pilou » Wed Feb 20, 2013 10:55 am

This plugin makes these edges Soft+Smooth - like when you Ctrl+Erase, or enable the Soft and Smooth checkboxes in the Entity Info.

This tool does not smooth a face it smooths the harsh edge that the default move tool creates.


Ok we are agree! :enlight:
My image above show the same!
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Wed Feb 20, 2013 11:08 am

Right, yes, this plugin doesn't make a face planar.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Thu Feb 21, 2013 1:25 pm

Rich O Brien wrote:now if someone could write an exporter to obj that picked up these pseudo-quads and exported as a quad it'd be pretty sweet.

Rich, does the OBJ format support non-planar quads?

Are you trying to exchange data between SketchUp and Blender?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby Rich O Brien » Thu Feb 21, 2013 2:04 pm

thomthom wrote:Rich, does the OBJ format support non-planar quads?


Yes. But Blender will export a nonplanar quad as 4 tris, well that's how SU imports a untriangulated blender .obj export.

thomthom wrote:Are you trying to exchange data between SketchUp and Blender?


Not just Blender. Most apps I use exchange nonplanar obj quads

Why?
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Thu Feb 21, 2013 2:08 pm

Four triangles?

Can Blender import this mesh and the quads are restored as quads - or are they now triangles?

And you provide a small sample OBJ file?
I could write an export utility into QuadFace Tools.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby Rich O Brien » Thu Feb 21, 2013 2:11 pm

What you want?

Blender .obj export

SU .obj import saved as .skp?
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Thu Feb 21, 2013 2:14 pm

OBJ file from Blender with non-planar quads. I'd like to see how Blender generates them.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby shawnkelly » Sun Mar 03, 2013 4:34 am

I would be interested as well, simply because I am not so sure that it does such a thing.
0

shawnkelly 
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Sun Mar 03, 2013 10:41 am

It does - Blender exports non-planar quads. :) I already got an exporter in the making.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby Rich O Brien » Sun Mar 03, 2013 10:50 am

Thom,

I notice that if I have the move tool selected and then activate auto-smooth it fails to smooth.

You may have mentioned that in the video but I missed it...
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] AutoSmooth (1.0.0) — 19 February 2013

Postby thomthom » Sun Mar 03, 2013 11:10 am

Ah. That world be a bug. As I always tap Space and activates the Select tool, so I didn't test the scenario of having one of Move, Rotate or Scale already activated.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth

Postby Rich O Brien » Sun Jan 18, 2015 11:29 pm

copying a mesh with CTRL+Move will make the mesh edges soft/smooth as in this .gif....

auto-smooth.gif
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] AutoSmooth

Postby thomthom » Mon Jan 19, 2015 11:25 am

Doh! Hmm... that's be tricky to catch...
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AutoSmooth

Postby Ahmed0007 » Sat Apr 02, 2016 11:51 pm

not work with TGI Move :(
0

Ahmed0007 
 

Re: [Plugin] AutoSmooth

Postby Ahmed0007 » Sat Apr 02, 2016 11:59 pm

not work tgi move any advice?
0

Ahmed0007 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Google Bot, jls006 and 8 guests

Visit our sponsors: