[Plugin] Group PushPull 2DFaces (v0.4) Oct 20, 2010
22 posts
• Page 1 of 1
[Plugin] Group PushPull 2DFaces (v0.4) Oct 20, 2010This was a request for a plugin to automatically divide up a solid into individual solids. The use would be importing out game levels. I guess the game engine can't deal with holes, like a wall with a window opening. What this plugin does is not divide up a solid, but works on 2D divided faces and pushpulls them into individual grouped solids. The thickness value needs to be manually changed in the beginning of the ruby. Default is 0.25
Original request thread is here: viewtopic.php?f=323&t=31112 [Original Version 0.1] [Version 0.2] I added an input box. Click ok to accept the default pushpull depth or enter new value. You can manual change two things in the code: -change the value "thickness_default", to set the default thickness -change to "use_input_box = false", if you don't want a input box [version 0.3b] The plugin now has the option of making components instead of groups. A component option has been added to the input box. Like the other values, you can change the default in the code. Just read the comments at the beginning of the code, for instructions. [New version 0.4] Now, saves changed input box values, for the entire sketchup session. Last edited by kyyu on Wed Oct 20, 2010 6:31 am, edited 5 times in total.
Re: [Plugin] Group PushPull 2DFacesthanks, very handy tool.
Be possible to add the option pushpull thickness, using VCV? -Operation -Select faces Tool-run -PushPull thickness I press ENTER, or double-click -------------------------------------------------- ---------------------------- Some suggestions: Entered value last remember? if the value is 0, not does generate pushpull. Generates only groups of faces? You can enter negative values? pushpull possibility of center on the selected face?
Re: [Plugin] Group PushPull 2DFacesMaking them into components instead of groups would be a better option. This would allow you to run ThomThom's "Replace Similar" script and have them replaced where applicable.
3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup Content Creator at Skapeup
Re: [Plugin] Group PushPull 2DFaces
+1 on that. Etaoin Shrdlu
% (THERE'S NO PLACE LIKE) G28 X0.0 Y0.0 Z0.0 M30 %
Re: [Plugin] Group PushPull 2DFaces
Where is this plug? ![]()
Re: [Plugin] Group PushPull 2DFacesI don't normally use components, so don't even know how to code for it. If anyone wants to, feel free to modify this plugin for components. And I will post it above, as an alternative.
This was just a quick writeup, that I never intended to improve on. But what I plan to do is incorporate this plugin into my PushPull & Group Plugin, which already has most of the features requested by DIEGO-RODRIGUEZ. I did try my PushPull & Group Plugin, originally, but it could not handle faces that touched (adjacent). You guys can check out this video, of the current incarnation of the PushPull & Group Plugin: http://www.youtube.com/watch?v=lQgeMuFdpKU -Kwok Re: [Plugin] Group PushPull 2DFaces
0.2.0 supports groups. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Plugin] Group PushPull 2DFaces
Does it leave them as groups, though? Etaoin Shrdlu
% (THERE'S NO PLACE LIKE) G28 X0.0 Y0.0 Z0.0 M30 %
Re: [Plugin] Group PushPull 2DFacesAt the moment, yes ... I think. But Selection Toys can convert them into components.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [Plugin] Group PushPull 2DFacesThis is good for old game engines due to the fact they only work with groups and basic solids, That way I can create my walls with doors and windows in a flash
![]() Re: [Plugin] Group PushPull 2DFaces (v0.3) Oct 19, 2010Updated to v0.3. You now have the option to make components.
Re: [Plugin] Group PushPull 2DFaces (v0.3b) Oct 19, 2010Your welcome, DIEGO-RODRIGUEZ.
Everyone, I found a bug and have released a quick update. (from v0.3 to v0.3b ) Please, get the new version. The bug I fixed only has effect, if you chose the option not to use the input box. -Kwok Re: [Plugin] Group PushPull 2DFaces (v0.3b) Oct 19, 2010thanks.
you can add the option to remember the last setting used?
Re: [Plugin] Group PushPull 2DFaces (v0.3b) Oct 19, 2010
Done, new version 0.4 posted. ![]()
Re: [Plugin] Group PushPull 2DFaces (v0.4) Oct 20, 2010Nice addition,Thanks for sharing. it will be good as mention to
have component option. Re: [Plugin] Group PushPull 2DFaces (v0.4) Oct 20, 2010Hello I was wondering how could I put this in my right click menu? that way its easier to get to Thanks! I was also wondering if you could add more saved options that way I can have 2 measurements instead of going back and forth having to change it all the time
Re: [Plugin] Group PushPull 2DFaces (v0.4) Oct 20, 2010
Not too hard to learn a few thing, so you can customize plugins for your own needs. I just posted a few links for another beginner starting out: viewtopic.php?f=323&t=28086&p=332294#p332294 There is a link there to a pdf book, Automatic Sketchup, specifically Chapter "10.2 Menus", page 220. It's only a few pages, which will answer your 1st question about context menus. If it's still confusing, just look at another plugin that uses a context menu. It's generally the very last lines. -Kwok Re: [Plugin] Group PushPull 2DFaces (v0.4) Oct 20, 2010It's save a lots of time. Thank you so much.
22 posts
• Page 1 of 1
|
Who is online
Users browsing this forum: rafa19 and 6 guests