Component spray
-
Hello all,
I have found a couple interesting plugins that can distribute objects to faces ( http://forums.sketchucation.com/viewtopic.php?t=17306 + http://forums.sketchucation.com/viewtopic.php?t=33908 ). I was wondering if anyone knows of a similar plugin that can distribute components but also auto-adjust components according to face orientation? Is this a possible through attempting to extend one of these scripts?
Any leads would be most appreciated! -
I beleive they do??
[Plugin] Components onto Faces v0.1: -
Good point xrok1,
I guess I should elaborate,
This plugin works excellent for placing components on the face 'centroid' and 'normal' to the face. I was hoping there might be a way to also auto rotate (perhaps even scale) the component according to face?- Going through chris pine's ruby tutorial and thinking this might be a little complicated
- Going through chris pine's ruby tutorial and thinking this might be a little complicated
-
Its relatively easy if your real world need is as straightforward as your image example. Rotating and scaling a house-like component to fit the same scale as a base quad face is pretty straightforward.
The hard part comes if you know the real world use is more complex than a quad based component onto an unknown shaped face. But, if your need is really as simple as the image, then its totally do-able.
-
Thanks Chris,
Thats encouraging β and yes things wont be any more complicated than the posted example β do you know what method/attributes I should be looking at? to scale and orient the component according to the corresponding face. Or if there is an example plugin out there that has this functionality? -
Is the face inside a group/component? or is it just loose geometry?
You'll be working with the transformation class for sure.
-
the faces are outside of a group or component as 'loose geometry' does this change things?
-
In my opinion it probably simplifies things a little bit. If they were inside a group, you would have to transform all of your transformations by the group's transformation. Easy enough to do, but just an extra level of potential troubles.
Do you have any script writing experience?
-
a little IDL β no ruby but I am keen to explore and learn what is possible β Lots of resources on this site!
Advertisement