SketchUcation Plugin Store

 

 

[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.

www.youtube.com Video from : www.youtube.com



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
Please, register (free) to access all the attachments on the forums.
Last edited by a4chitect on Thu Nov 05, 2009 10:28 pm, edited 12 times in total.
a4chitect
 
Posts: 152
Joined: Sat Nov 17, 2007 5:10 pm

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
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6762
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

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
DIEGO-RODRIGUEZ
Banned
 
Posts: 272
Joined: Sat Jan 10, 2009 6:20 pm
Location: Argentina - Mar del plata
Name: diego

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.
Ecuadorian
 
Posts: 1626
Joined: Thu Jan 15, 2009 10:20 pm
Location: Ecuador
Name: Miguel
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Intermediate

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:
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1936
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
User avatar
Mike Lucey
Mayor
 
Posts: 7293
Joined: Mon Oct 22, 2007 1:22 pm
Location: Co. Clare, Ireland
Name: Mike Lucey
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
gavvy
 
Posts: 48
Joined: Sat May 17, 2008 3:34 am

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

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

Brilliant. Thank you.
Bill Maher on the French: "They invented sex during the day, lingerie and the tongue."
TomDC
 
Posts: 2941
Joined: Mon Nov 12, 2007 1:16 pm
Location: Behind you.

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

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

Sweet! :thumb:
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17925
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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

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

nice and smarty. thank you.
publied
 
Posts: 40
Joined: Sat Apr 19, 2008 9:26 am
Location: Bolzano, South Tyrol, Italy
Name: Paolo

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

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

That is a definite winner, thanks :thumb:
Dylan
 
Posts: 1932
Joined: Mon Oct 22, 2007 1:41 pm
Location: Royston (Herts), UK
Name: Dylan Morton

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)
rv1974
 
Posts: 548
Joined: Tue Nov 13, 2007 11:38 am
Name: rv1974
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
cather009
 
Posts: 2
Joined: Tue Sep 29, 2009 11:01 am
Name: john

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?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17925
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17925
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
a4chitect
 
Posts: 152
Joined: Sat Nov 17, 2007 5:10 pm

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.
kwistenbiebel
 
Posts: 2681
Joined: Thu Nov 22, 2007 6:13 pm

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.
User avatar
plot-paris
 
Posts: 1559
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
j_forrester
 
Posts: 70
Joined: Mon Dec 10, 2007 3:32 pm

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.
j_forrester
 
Posts: 70
Joined: Mon Dec 10, 2007 3:32 pm

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.
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1936
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
rv1974
 
Posts: 548
Joined: Tue Nov 13, 2007 11:38 am
Name: rv1974
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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) :)
User avatar
plot-paris
 
Posts: 1559
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
User avatar
erikB
 
Posts: 86
Joined: Mon Dec 03, 2007 5:22 pm
Location: Belgium
Name: Erik Bosquet

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
If I make it look easy. . .rest assured--it probably is.
User avatar
David_H
Top SketchUcator
 
Posts: 2292
Joined: Wed Nov 28, 2007 9:31 pm
Location: Salt Lake City, UT
Name: David Hunter

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
La Connaissance n'a de valeur que partagée
MALAISE
 
Posts: 620
Joined: Sun Apr 20, 2008 1:23 pm
Location: Cergy Pontoise FRANCE
Name: Pierre

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
matteo
 
Posts: 211
Joined: Tue Feb 19, 2008 10:43 am
Location: merano, south tyrol, italy
Name: matteo bignozzi
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
User avatar
EscapeArtist
Top SketchUcator
 
Posts: 1308
Joined: Sun Aug 03, 2008 7:36 pm
Location: Northeast US
Name: Jeff
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: hobby
Level of SketchUp: Intermediate

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
dtrarch
Premium Member
Premium Member
 
Posts: 343
Joined: Tue Nov 13, 2007 8:03 pm

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!
CADAddict
 
Posts: 14
Joined: Sun Feb 22, 2009 7:45 pm

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Are you a Premium Member? Get your freebies here. Are you not a Premium Member yet? Upgrade your account to grab these freebies instantly.

Ad Machine
Robot
 
Posts: 2012

Next

Return to Plugins

Who is online

Users browsing this forum: awhite344, kestans, OSN58 and 10 guests