It is currently Thu Sep 02, 2010 9:51 pm

Registration
Login Help

Advertise Here

[Plugin] SmartPushPull v0.26 (05 nov)

FAQMembersRegisterLogin

[Plugin] SmartPushPull v0.26 (05 nov)

Postby a4chitect on 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
You do not have the required permissions to view the files attached to this post.
a4chitect
 
Posts: 144
Joined: Sat Nov 17, 2007 5:10 pm

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

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

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

Chris
Your intelligence will never fully compensate for my stupidity.
Cal Poly Pomona - BS Landscape Architecture
UC Berkeley - Masters of Landscape Architecture
All my Plugins I've written
chrisfullmer.com - Art Blog
User avatar
Chris Fullmer
Global Moderator
 
Posts: 4760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows Vista
SketchUp version: 7.1x

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

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

incredible. excellent tool, thank you very much for sharing
DIEGO-RODRIGUEZ
 
Posts: 186
Joined: Sat Jan 10, 2009 6:20 pm
Location: Argentina - Mar del plata
Name: diego
Operating system: windows xp
SketchUp version: 7.1

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

Postby Ecuadorian on 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.
Are you reading signatures? Dude, you need to get out more often.
User avatar
Ecuadorian
 
Posts: 1213
Joined: Thu Jan 15, 2009 10:20 pm
Location: Guayaquil, Ecuador
Name: Miguel Lescano
Operating system: Windows 7 Pro 64-bit
SketchUp version: 7.1

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

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

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

love it mate, very cool!!!!! :bounce: :bounce:
Andrew
purpose/expression/purpose/....
User avatar
utiler
 
Posts: 952
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew Carter
Operating system: Windows XP SP3
SketchUp version: 7. Pro

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

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

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

Mike
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
User avatar
Mike Lucey
Mayor
 
Posts: 4949
Joined: Mon Oct 22, 2007 1:22 pm
Location: West of Ireland
Operating system: Mac OSX
SketchUp version: SU Pro V7.1

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

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

a4chitect
:thumb:
your plugins always give me a :o shock
gavvy
 
Posts: 40
Joined: Sat May 17, 2008 3:34 am

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

Postby stinkie on Thu Nov 05, 2009 7:33 am

Brilliant. Thank you.
User avatar
stinkie
 
Posts: 2097
Joined: Mon Nov 12, 2007 1:16 pm
Location: Behind you.
Operating system: Vista/Leopard
SketchUp version: 9.1

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

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

Sweet! :thumb:
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

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

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

nice and smarty. thank you.
Paolo

publied | net.tv, 3D&publishing
http://www.publied.it
publied
 
Posts: 22
Joined: Sat Apr 19, 2008 9:26 am
Location: Italy
Name: Paolo
Operating system: Windows Xp
SketchUp version: 7 pro

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

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

That is a definite winner, thanks :thumb:
User avatar
Dylan
Global Moderator
 
Posts: 1934
Joined: Mon Oct 22, 2007 1:41 pm
Location: Sheffield & Royston (Herts), UK
Name: Dylan Morton
Operating system: OSX/Win7
SketchUp version: I would have to kill you!

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

Postby rv1974 on 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: 185
Joined: Tue Nov 13, 2007 11:38 am

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

Postby cather009 on 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
Operating system: Vista Home Premum
SketchUp version: sketch up 7

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

Postby thomthom on 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
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

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

Postby thomthom on 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.
You do not have the required permissions to view the files attached to this post.
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

SketchUcation One-Liner Adverts

by Ad Machine on 5 minutes ago

Ad Machine
Robot
 
Posts: 2010

Next

 

Advertise Here

Who is online

Users browsing this forum: No registered users and 2 guests