[Plugin] Components onto Faces v1.2.0 UPDATE May 23, 2013

Re: [Plugin] Components onto Faces v0.1

Postby xrok1 » Tue Mar 10, 2009 5:30 am

you best be replac'n them there irons with some shoot'n irons where that thin's gona be a tak'n ya yer gona need 'em. he he... :thumb:
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!

xrok1 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby Chris Fullmer » Sun Mar 15, 2009 9:18 am

UPDATE: v1.0 released - The video in the beginning is also updated

This new version has a new tool called "Components onto Face Collections". It treats collections of faces that have had their edges smoothed/hidden as a single face. So the terrain issue where it was copying 2 components onto each collection of faces is fixed. The new tool will only copy a single component onto the 2 faces. I hope that makes sense and I hope its helpful,

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby pilou » Sun Mar 15, 2009 10:45 am

Neat update, save some manipulations :)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby kwistenbiebel » Sun Mar 15, 2009 10:52 am

Wow, very nice update.
Thank you Chris.
0

kwistenbiebel 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby boilingsnow » Sun Mar 15, 2009 3:39 pm

Thank you very much Chris.

A suggestion: If the faces are triangle, I wish your skript still can put the components onto the centroids of them.
0

boilingsnow 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby Chris Fullmer » Sun Mar 15, 2009 5:01 pm

Yes, triangles in general are tricky for this script to comprehend because it is basing the centerpoint on the BoundBox, which is alsway a box, even for triangles. I suppose I could test each single face to see if it is a triangle and then find the center of the 3 points instead of the boundingbox method.

Would it be enough to write a 3rd tool called "Components onto Triangle Faces" or something like that. It would only handle triangle faces and nothing else probably. Or would it be better to try to make the two current versions smarter to handle traingles differently? I think I could do it either way fairly easily. Let me know if anyone has a preference - new tool for triangles, or make the 2 current ones support them. I'll think about it while I'm gone today and I'll get back to it later.

Thanks for the suggestions and comments,

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby thomthom » Sun Mar 15, 2009 5:46 pm

I think it'd make more sense to 'smarten' the original script. Centre of the triangle is most likely expected than centre of bounding box. My 2¢
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby xrok1 » Sun Mar 15, 2009 6:33 pm

i agree, a single tool, that way if you have tri's and quad's on the same selection it would fill both. also i don't know if the new version works this way, but if you turn on hidden geometry causing triangles to appear, it should then respect the triangle faces.
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!

xrok1 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby xrok1 » Sun Mar 15, 2009 6:44 pm

as i was watching the video i came up with another idea i think might be kind of handy. what do you think of the idea of copy every [n]face ? where [n] would be 3, every third face would get a copy etc... would probably be fairly easy to implement and could be quite useful. :D
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!

xrok1 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby Chris Fullmer » Mon Mar 16, 2009 12:59 am

boilingsnow wrote:Thank you very much Chris.

A suggestion: If the faces are triangle, I wish your skript still can put the components onto the centroids of them.


Great suggestion, done!

UPDATE: v1.1
Now works much better with triangles. I wrote it so the 2 existing tool are just smarter, and that was definitely the way to go. So hopefully this is helpful. I also updated the video.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby pilou » Mon Mar 16, 2009 1:09 am

Waiting now the top Sphere collection :)
Maybe something like "a component onto face only if this face is bigger than..."
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby Chris Fullmer » Mon Mar 16, 2009 1:53 am

You want it to not copy a component onto all the tiny little faces? I could write it, but I'm not sure if its universally needed by everyone. I'd hate to take away a feature that others like.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby Chris Fullmer » Mon Mar 16, 2009 1:56 am

Ahh, I think I see. Take the sphere and unsmooth all edges. Then just smoothe the top triangle faces and the bottom ones. Then run components into face collections and it will treat the top of the sphere as a single face. Then triple click on the sphere and re-smooth all the faces.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby pilou » Mon Mar 16, 2009 1:58 am

You say smooth, resmooth...with what tool? Maybe a Duhduh :)

its universally needed by everyone

maybe not but it's universally for the geometry and ask nothing to do for the user! (unsmooth, resmooth etc... ;)
For the coder that ask to calculate the surface :)
I don't know if it's hard or not and time consuming for the process :roll:

And that works not so good a wished but maybe I don't use the good tool for Unsmooth? ( Soften Edges ? ;)
hum.jpg
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby Chris Fullmer » Mon Mar 16, 2009 2:22 am

Here is what I was thinking.



Does that help?

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby Chris Fullmer » Mon Mar 16, 2009 2:32 am

Oh darn, I just did some more in-depth reading on "centroids" and I think I did not quite implement the triangle center finding mechanism quite right. It works in general, but I'm pretty sure there will be triangles that will still confuse it. OH well, if its really a problem the way I implemented it, I can look into fixing it. A fix will be a bit more math intensive than I wan to invest in it if possible...

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby pilou » Mon Mar 16, 2009 2:36 am

Yes because end of game must be something like that (not perfect just concept) ;)
And avoid all users manipulations ;)
end.jpg
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 2009)

Postby xrok1 » Mon Mar 23, 2009 5:41 am

Chris, have you considered the copy every Nth face suggestion? it would be great if the N could be random as well with a min max value for the total copies. :D
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!

xrok1 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 20

Postby ZFRPS » Tue Feb 28, 2012 5:54 pm

this good idea !

But...this plugin for face only.
If Select a single component and a series of pionts of intersection. Then run this script. It will copy that component onto all the pionts of intersection. It will ignore any faces, groups, images, etc that are in the selection set. If more than one component is selected, it will use the first one it encounters.then this plugin will is very very nice !

for piont of intersection same for faces .useful for everyone !
0
sketchup is bim

ZFRPS 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 20

Postby ZFRPS » Wed Feb 29, 2012 6:17 am

Dear Chris:

I wish your skript can put the components onto the points of intersection.

thanks again .
0
sketchup is bim

ZFRPS 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 20

Postby ZFRPS » Thu Mar 01, 2012 12:30 pm

Dear Chris:

Please came in !

waiting for you and love you.
0
sketchup is bim

ZFRPS 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 20

Postby rv1974 » Tue Feb 05, 2013 8:58 am

Chris could add 'scale component to match the face area' feature?
Example: I'd select the glass faces in windows made by windowizer and run your script to insert
the 'curtain' component. Everything works fine already except matching the component to the glazing
opening.
What do you think?
0

rv1974 
 

Re: [Plugin] Components onto Faces v1.0 (Updated Mar 15th 20

Postby Chris Fullmer » Wed Feb 06, 2013 6:17 pm

Its on my list to do, but it gets very complex when the shapes are not 3 sided objects fitting onto 3 sided faces, or 4 sided to 4 sided, etc. Even 4 sided is hard, because most people don't realize that their 4 sided face is often actually 2 non-planar triangles.

So its a functionality I would like to implement, but every time I've tried, I remember how much work it really is.
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Components onto Faces v1.2.0 UPDATE May 23, 201

Postby ely862me » Mon Jul 21, 2014 4:42 pm

Any idea if there is a plugin that would place parts onto a face with some added distance between the parts? Or simply put all the components at once onto a face, not just one component. I have some 3d puzzles and I would like to select all the pieces then select a face and the plugin should move all the pieces one near another onto that face, or even one over another(I would do the placing later).

Thanks !
0
Elisei (sketchupper)
____________________________________________________________
Before no life was done on Earth it was THE LIFE ITSELF...GOD
Come and See EliseiDesign
User avatar
ely862me 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.2.0 UPDATE May 23, 201

Postby pilou » Mon Jul 21, 2014 4:49 pm

Try this one in developpment by CPlassais! ;)
After clicking on the receiving side as long as you did not select another face you can adjust the rotation or translation on the plane defined by the receiving side.

You use the keypad Director or numeric keypad on your keyboard Arrow

5 key reverses the normal of the receiving side (you avoid contortions to get the underside
The + or - button to increase or decrease the increment of which is the launch of the operation of 1 or 1 unit of measurement model
The home and end keys or 7 and 1 used to change the rotation
The guidelines allow the 8,4,2,6 keys or translations. (not perfect at axis level shift / key)


If there is not z just draw on your component a little box of the measure wanted! ;)
And kill it at the end!

Tab = Multiple Copy mode





0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.2.0 UPDATE May 23, 201

Postby ely862me » Mon Jul 21, 2014 5:40 pm

Thank you Pilou, but this is not exactly what I want. I will create another thread in order to let this one alone. The operation should work exactly as Components onto faces, but instead of pasting one component onto many faces, I want to place more components onto one face(one near another). Like when you have a cabinet and you want the pieces to be placed one near another in order to be cut with a cnc machine.
0
Elisei (sketchupper)
____________________________________________________________
Before no life was done on Earth it was THE LIFE ITSELF...GOD
Come and See EliseiDesign
User avatar
ely862me 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.2.0 UPDATE May 23, 201

Postby pilou » Mon Jul 21, 2014 6:14 pm

I want to place more components onto one face(one near another)

The plug that I posted above make also this as you can move at any place, rotate it on the surface inside the plug! ;)

copy.jpg
0
Last edited by pilou on Mon Jul 21, 2014 6:25 pm, edited 2 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.2.0 UPDATE May 23, 201

Postby ely862me » Mon Jul 21, 2014 6:25 pm

I have puzzles with many pieces, like 70, 100 or more. It will be a tedious job to do it with this plugin, I would rather rotate them in bulk, when possible, and move/place them with the move tool. I expected a plugin that works like this: Select all the components, select a face and then all the components will be automatically placed onto that face(would be awesome with some space between them) ...
0
Elisei (sketchupper)
____________________________________________________________
Before no life was done on Earth it was THE LIFE ITSELF...GOD
Come and See EliseiDesign
User avatar
ely862me 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.2.0 UPDATE May 23, 201

Postby pilou » Mon Jul 21, 2014 8:12 pm

So you want a puzzle helper! :)

PS
How is your Puzzle ?
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Components onto Faces v1.2.0 UPDATE May 23, 201

Postby ely862me » Mon Jul 21, 2014 10:38 pm

This kind of puzzle
0
Elisei (sketchupper)
____________________________________________________________
Before no life was done on Earth it was THE LIFE ITSELF...GOD
Come and See EliseiDesign
User avatar
ely862me 
Top SketchUcator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: jai charpe and 11 guests

Visit our sponsors: