[Plugin] SmartPushPull v0.26 (05 nov)

[Plugin] SmartPushPull v0.26 (05 nov)

Postby a4chitect » Thu Nov 05, 2009 12:12 am

I have always wanted this feature, and since it didn't appear as of now, I have decided to dedicate few hours to it. It is far from perfect but works in many cases.




v0.26 (05 nov)
5. Tab key toggles between normal Push/Pull and Smart Push/Pull behavior

v0.25 (05 nov)
ADDED:
2.vcb (aka "Measurements") shows the offset distance and typing custom value sets the offset
6.easier to set the distance with the mouse
7.single click confirmation
8.works inside unopen groups

v0.11 (05 nov)
very minor update - it makes the push/pull in more cases then 0.1 but still fails to create non planar side faces in those v0.1 problematic scenarios

v0.1 (04 nov)

Available/In-progress/Missing functionality LIST:
0.Push/Pull faces in their natural shape and mesh context
1.ability to toggle between additive push-pull (similar to sketchup push/pull + ctrl), normal push-pull and target face only (great for solid subdivision)
2.ability to control offset via the VCB
3.nicer and better algorithm (to clean unnecessary original lines, to correctly offset all scenarios)
4.toolbar with icon and cursor icon
5.ability to toggle the standard push/pull behavior
6.better dynamic offset interface - at the moment it doesn't work right and you have to change camera position to allow for setting the offset (ecuadorian)
7.simple click to confirm the action instead of the doubleclick (thomthom)
8.work inside unopen groups
9.code cleanup!!! and commenting

any help with the above is appreciated

HUGE THANKS TO FREDO6 for leaving his code unencrypted, most of the dynamic offset code is from him
16
Last edited by a4chitect on Thu Nov 05, 2009 10:28 pm, edited 12 times in total.

a4chitect 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby Chris Fullmer » Thu Nov 05, 2009 12:14 am

That's great, I'll try to check it out later. Thanks!

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby DIEGO-RODRIGUEZ » Thu Nov 05, 2009 12:26 am

incredible. excellent tool, thank you very much for sharing
0

DIEGO-RODRIGUEZ 
Banned
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby Ecuadorian » Thu Nov 05, 2009 12:27 am

Getting rid of the extra material is a lot easier than trying to do this manually, thank you! :D I see that to clearly define the direction of the push/pull, you need to orbit your view a little bit.
0

Ecuadorian 
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby utiler » Thu Nov 05, 2009 1:01 am

WOW!!! I can't wait to try this.....! :berserk:

love it mate, very cool!!!!! :bounce: :bounce:
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby Mike Lucey » Thu Nov 05, 2009 2:20 am

Thanks a4chitect for the script also for the very clear explanatory graphic.

Mike
0
User avatar
Mike Lucey 
Mayor
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby gavvy » Thu Nov 05, 2009 2:30 am

a4chitect
:thumb:
your plugins always give me a :o shock
0

gavvy 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby Stinkie » Thu Nov 05, 2009 7:33 am

Brilliant. Thank you.
1
'Nobody knew health care could be so complicated.' -D. Trump
User avatar
Stinkie 
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby thomthom » Thu Nov 05, 2009 8:33 am

Sweet! :thumb:
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] SmartPushPull v0.1 (04 nov)

Postby publied » Thu Nov 05, 2009 8:48 am

nice and smarty. thank you.
0

publied 
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby dylan » Thu Nov 05, 2009 9:06 am

That is a definite winner, thanks :thumb:
0

dylan 
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby rv1974 » Thu Nov 05, 2009 9:10 am

Finally! Shiny!
Dear ruby coders please help arc4tect to refine this tool (long awaited and really usefull- a real pearl in the ruby
slag)
0

rv1974 
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby cather009 » Thu Nov 05, 2009 9:13 am

Hi Everyone,

How can i use this plugin? i already download it.

Thanks
0

cather009 
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby thomthom » Thu Nov 05, 2009 9:22 am

cather009 wrote:Hi Everyone,

How can i use this plugin? i already download it.

Thanks

Tools->SmartPP
Extrude the face and doubleclick to finish.


btw, a4chitect: why do you have to doubleclick? Why not normal click like the regular PP?
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] SmartPushPull v0.1 (04 nov)

Postby thomthom » Thu Nov 05, 2009 9:25 am

I really like this plugin. Really looking forward to see how it develops.

I tried it on some simple shape and it worked most of the time. But occasionally it doesn't - not sure why, can't tell the different between what works and what doesn't.

Code: Select all
Error: #<ArgumentError: Points are not planar>
C:/Programfiler/Google/Google SketchUp 7/Plugins/A4_smartpushpull.rb:205:in `add_face'
C:/Programfiler/Google/Google SketchUp 7/Plugins/A4_smartpushpull.rb:205:in `smartPP'
C:/Programfiler/Google/Google SketchUp 7/Plugins/A4_smartpushpull.rb:184:in `each'
C:/Programfiler/Google/Google SketchUp 7/Plugins/A4_smartpushpull.rb:184:in `smartPP'
C:/Programfiler/Google/Google SketchUp 7/Plugins/A4_smartpushpull.rb:79:in `onLButtonDoubleClick'
C:/Programfiler/Google/Google SketchUp 7/Plugins/A4_smartpushpull.rb:184


I've attached a sample model which caused the error. I was trying to SPP the face I highlighted orange.
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] SmartPushPull v0.1 (04 nov)

Postby a4chitect » Thu Nov 05, 2009 10:15 am

thanks for all the cheers! will look into all the requests but please be patient. I'm not abandoning the development :)

thomthom: I'm aware of this bug - it is all due to almost no exception-catching code
0

a4chitect 
PluginStore Author
PluginStore Author
 

Re: [Plugin] SmartPushPull v0.11 (05 nov)

Postby kwistenbiebel » Thu Nov 05, 2009 11:15 am

Wow, thank you a4chitect. :thumb:

You know, I never use the default scale tool anymore as Fredo's scale (and taper) tool is much better.
Your 'smart push pull' concept has the same potential to knock the old default Sketchup PushPull out of business.
Wonderful concept man!

I hope you will keep on working on it as this can become a life saving gem.
Thanks again.
0

kwistenbiebel 
 

Re: [Plugin] SmartPushPull v0.11 (05 nov)

Postby plot-paris » Thu Nov 05, 2009 11:34 am

kwistenbiebel wrote:Your 'smart push pull' concept has the same potential to knock the old default Sketchup PushPull out of business.

1+ absolutely fabulous tool, a4chitect. thanks a lot.
0
User avatar
plot-paris 
 

Re: [Plugin] SmartPushPull v0.11 (05 nov)

Postby j_forrester » Thu Nov 05, 2009 11:59 am

Great tool. Just one idea maybe, when you select the face you want to extrude, you get the option of deleting the original lines to clean it up. Would be a nice addition. but still a great plugin nether the less.
0

j_forrester 
 

Re: [Plugin] SmartPushPull v0.11 (05 nov)

Postby j_forrester » Thu Nov 05, 2009 11:59 am

Great tool. Just one idea maybe, when you select the face you want to extrude, you get the option of deleting the original lines to clean it up. Would be a nice addition. but still a great plugin nether the less.
0

j_forrester 
 

Re: [Plugin] SmartPushPull v0.1 (04 nov)

Postby utiler » Thu Nov 05, 2009 12:11 pm

thomthom wrote:btw, a4chitect: why do you have to doubleclick? Why not normal click like the regular PP?


I thought the same thing, TT.
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] SmartPushPull v0.11 (05 nov)

Postby rv1974 » Thu Nov 05, 2009 1:08 pm

Hi ar4itect I think your 'to do' list misses multiple adjasent\non adjacent faces push-pull.
It'd be special case of Fredo's JPP. BTW While ago I asked him to implement it but unfortunatly it didn't happen.
0

rv1974 
 

Re: [Plugin] SmartPushPull v0.11 (05 nov)

Postby plot-paris » Thu Nov 05, 2009 1:20 pm

oh, and to make it the almighty super tool, you could enalbe push/pull of more than one selected face simulaneously, making it a lot faster to do extrude several faces with the sam distance (something that I always wanted the push/pull tool to be capable of) :)
0
User avatar
plot-paris 
 

Re: [Plugin] SmartPushPull v0.11 (05 nov)

Postby erikB » Thu Nov 05, 2009 4:06 pm

a4chitect,
very usefull ruby, well done !
For me the possibilty to control the offset by means of the VCB is the one thing that is missing to make it a true replacement for the 'standard' push pull tool. (But it is already in the to do list !! ;) )
Thanks for sharing,
erikB
0
User avatar
erikB 
 

Re: [Plugin] SmartPushPull v0.11 (05 nov)

Postby david_h » Thu Nov 05, 2009 4:31 pm

okay . .this is total awesomenicity. Any possible way it could be written to be accessed from a right-click like JPP? That would just be cherry.


THx,

D
0
If I make it look easy. . .then it probably is.
User avatar
david_h 
Top SketchUcator
 

Re: [Plugin] SmartPushPull v0.11 (05 nov)

Postby MALAISE » Thu Nov 05, 2009 5:55 pm

Yeee! Thanks a lot for this plugin :thumb:

MALAISE
0
La Connaissance n'a de valeur que partagée
User avatar
MALAISE 
 

Re: [Plugin] SmartPushPull v0.26 (05 nov)

Postby matteo » Fri Nov 06, 2009 1:24 am

oooh!

“The one fact about the future of which we can be certain is that it will be utterly fantastic” – Arthur C Clarke

“The one fact about ruby coders of which we can be certain is that next ruby plugin will be utterly fantastic” – Matteo Bignozzi


thank you a lot arc4tect
1

matteo 
 

Re: [Plugin] SmartPushPull v0.26 (05 nov)

Postby EscapeArtist » Fri Nov 06, 2009 4:05 pm

Fantastic tool. I've been wishing for something like this for a while.

Nice job, I'm looking forward to any improvements you make.
0
User avatar
EscapeArtist 
Top SketchUcator
 

Re: [Plugin] SmartPushPull v0.26 (05 nov)

Postby dtrarch » Fri Nov 06, 2009 4:54 pm

a4
Simply just a :berserk: WOW :berserk:
Thank you

dtr
0

dtrarch 
Premium Member
Premium Member
 

Re: [Plugin] SmartPushPull v0.26 (05 nov)

Postby CADAddict » Fri Nov 06, 2009 6:40 pm

Very nice,
I noticed the original lines remain, hahe you though of using smething like "remove cplanar edges" to eliminate thos elines after the push/pull operation?
Great job anyways!
0

CADAddict 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: facer and 2 guests

Visit our sponsors: