by 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 context1.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 VCB3.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 behavior6.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 groups9.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
by Chris Fullmer » Thu Nov 05, 2009 12:14 am
That's great, I'll try to check it out later. Thanks!
Chris
-

Chris Fullmer
- SketchUp Team
-
- Posts: 6680
- 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
-
by 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
-
by 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!  I see that to clearly define the direction of the push/pull, you need to orbit your view a little bit.
-
Ecuadorian
-
- Posts: 1621
- Joined: Thu Jan 15, 2009 10:20 pm
- Location: Ecuador
- Name: Miguel
- Operating system: Windows
- SketchUp version: 8
- License type: Free
- SketchUp use: architecture
- Level of SketchUp: Intermediate
-
by utiler » Thu Nov 05, 2009 1:01 am
WOW!!! I can't wait to try this.....!  love it mate, very cool!!!!! 
purpose/expression/purpose/....
-

utiler
- Top SketchUcator
-
- Posts: 1925
- Joined: Wed Nov 14, 2007 11:35 am
- Location: Queensland, Australia
- Name: utiler
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Mike Lucey » Thu Nov 05, 2009 2:20 am
Thanks a4chitect for the script also for the very clear explanatory graphic.
Mike
-

Mike Lucey
- Mayor
-
- Posts: 7237
- 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
by gavvy » Thu Nov 05, 2009 2:30 am
a4chitect your plugins always give me a  shock
-
gavvy
-
- Posts: 48
- Joined: Sat May 17, 2008 3:34 am
by 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: 2931
- Joined: Mon Nov 12, 2007 1:16 pm
- Location: Behind you.
by thomthom » Thu Nov 05, 2009 8:33 am
Sweet! 
-

thomthom
- Global Moderator
-
- Posts: 17556
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by 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
-
by Dylan » Thu Nov 05, 2009 9:06 am
That is a definite winner, thanks 
-
Dylan
-
- Posts: 1932
- Joined: Mon Oct 22, 2007 1:41 pm
- Location: Royston (Herts), UK
- Name: Dylan Morton
by 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: 514
- 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
by 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
by 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?
-

thomthom
- Global Moderator
-
- Posts: 17556
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by 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.
-

thomthom
- Global Moderator
-
- Posts: 17556
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by 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
by kwistenbiebel » Thu Nov 05, 2009 11:15 am
Wow, thank you a4chitect. 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: 2666
- Joined: Thu Nov 22, 2007 6:13 pm
by 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.
-

plot-paris
-
- Posts: 1553
- 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
-
by 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
by 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
by 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/....
-

utiler
- Top SketchUcator
-
- Posts: 1925
- Joined: Wed Nov 14, 2007 11:35 am
- Location: Queensland, Australia
- Name: utiler
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by 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: 514
- 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
by 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) 
-

plot-paris
-
- Posts: 1553
- 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
-
by 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
-

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

David_H
- Top SketchUcator
-
- Posts: 2280
- Joined: Wed Nov 28, 2007 9:31 pm
- Location: Salt Lake City, UT
- Name: David Hunter
by MALAISE » Thu Nov 05, 2009 5:55 pm
Yeee! Thanks a lot for this plugin 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
by 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
-
by 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.
-

EscapeArtist
- Top SketchUcator
-
- Posts: 1302
- 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
by dtrarch » Fri Nov 06, 2009 4:54 pm
a4 Simply just a  WOW Thank you dtr
-
dtrarch
- Premium Member

-
- Posts: 343
- Joined: Tue Nov 13, 2007 8:03 pm
by 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
by Ad Machine » 5 minutes ago
Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp. Premium Members get 20% discount!
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|