Components onto Faces v1.0 (Chris Fullmer Tools) Description: Copies a component onto all selected faces Usage: Select a single component and a series of ungrouped faces. Then run this script. It will copy that component onto all the faces. It will ignore any edges, groups, images, etc that are in the selection set. If more than one component is selected, it will use the first one it encounters.
New in v1.0 Added components on Face Collections. This solves the problem of terrains that are made up of squares that are actually 2 triangles with the centerline smoothed. This new tool treats a collections of smoothed faces as a single face. New in v1.1 Added triangle face support. It used to not copy components onto triangle faces very well. Now it correctly finds their centerpoint. New video to go along with it too.
Chris, did you have any experience with programming before Ruby? I ask because I have yet to find a Ruby guide written for a total beginner like me, with no coding background. Perhaps you could write an e-book!
xrok1 wrote:PS you're a big part of making my menus and toolbars so cluttered, don't you feel guilty?
Actually!, something I didn't announce but did include in this script is a new menu system for my scripts. They will now all be placed under a "Chris Fullmer Tools" submenu. So every new script you download will install itself into that menu automatically. When I get around to it, I'm also going to update my already released scripts so that they will organize themselves into theis menu too. So then all my scripts will be in there. It will be much less clutter. Once I get the scripts updated, I'll start a thread that points to all current downloads so you can re-download everything and get the new organization.
And thanks for the kind words. It's fun to make scipts, but its especially nice when people let you know they appreciate your work. Well, until I start making something I can charge for. Then just cold hard cash will suffice
And I have a little bit of script background, but I really mean very little. Coming into Ruby, I sort of understood the basics of what programming is, but thats all. And learning ruby has been a rocky road for me (which Todd, Rick, Thom, Jim will all attest to). They've been very helpful answering my many beginner questions. So if you're gonna learn, this is the place and the time to do it. And I am planning on writing some tutorials. I just keep putting it off thinking I should wait until I know better what I'm talking about
Though there is no way to orient the components in my script. They just get put however SU decides they should go. So it still might well require that the user rotates each one to get it facing the direction they want. Maybe I could have my script activate the move tool after its done because it has a great built in rotate feature that works based on the components axis, which is just what would be desired in this case.
Chris Fullmer wrote:And I have a little bit of script background, but I really mean very little.
I hope assigning basic functions (play, stop) to Flash buttons in ActionScript also count as a "little experience", as that's all I have done, and I have already forgotten how it was done...
thank you, very handy script!! and good idea for grouping your scripts into one subfolder, everyone should do that, soon the plug-ins menu will be a list of ruby script writers names.
question: is there another 3d with more plug-ins than sketchup?
1] use construction grid (ruby) to make a grid 2] use edges from construction lines (ruby) to convert construction lines to lines 3] delete every second vertical line, staggering each row 4] use make faces (ruby) to make faces 5] build a brick and make it a component 6] run Components onto Faces v0.1 (ruby)
i told you there were easier ways. if i had to do it all over again i would just make a rectangle the size of a brick with half a mortar joint. inset the face a little... you know the rest.
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”
Chris, thank you for such panelization tool! I attached sample with slightly modified by Fredo's tools Uhh, need quads for for beautiful visualization for panels
Make the Surface with the Sandbox "By scratch" Explode it Enable Hidden geometry Select one little diagonal of a square your very tricky "Select lines by lenght" Delete it "Components onto faces" Et voilà!
Edit hum hum works only if the tin stay "flat" Maybe use the Smart Drop in addition! By a4architect Soon little tut
Wow, great stuff everyone! I really like that paneled wall ilay. Looks great. And thats a cool method using smart-drop Frenchy. Thanks for showing it.
Oh, and the menu is how I made it, but not really for any good reason I guess. I was hoping to have one or two other items in that sub-sub menu too, but I have not got them written yet. So I was planning ahead, but perhaps too early. Hopefully in time I'll get some more ability written into this script. I am currently working on solving the triangulated faces issue. I think I have a solution. I think.
You could do some serious off-roading with those tires! Or some serious damage. Either way, they look super cool!
Is each face truly one square face and not 2 triangle faces with the middle line smoothed? If it is 2 triangles, how did you get around that issue where it copies a component to each of the 2 faces?
Each is a single face, not 2 triangles. I used the sphere ruby to create a sphere then used your script to apply the component to a portion of the sphere. Then I deleted the extra and filled in with sidewalls. The bad part is I cannot think of any cool vehicle to place these under