Need a plugin?
-
Components Dropper by Thomthom ?
Random Replacement by Sdmitch with just one Component as "Source"
-
Reset Component Origin - Permanantly change the origin of component
http://sdmitch.blogspot.ca/
On the right track but not there -
To Pilou and TECHDAVE02,
Thank you so much for your participation. Although I haven't achieved my objective, I'm totally enjoying the journey
I did try the tt_component_dropper (by ThomThom) but the results weren't at all what I was after (see attachments). Sadly, the tt_component_dropper doesn't automatically 'change' the substitute components origin to match that of the target component. The results are somewhat bazaar. I included a screenshot, and an SU2013 file for anyone who wants to see the results.
To explain the model: from left to right: there's a model of a board (component) counter-sunk on either side that is correctly sized to receive the custom bolt. To the right of that is the same board with a bolt placed in it using BoltMaker XII. To the right of that is my custom bolt and finally, to the right of that is the resulting output from using the tt_component_dropper -- in which I selected the bolt produced by BoltMaker XII as the target and my own custom bolt as the source.
I'm hoping ThomThom or some other clever coder has some insight
Bob
-
Pilou,
Since I'm not a ruby programmer, I've found the 'Random Replacement' plugin tutorial to be well above my knowledge of Sketchup. I have no idea how to use this plugin as it seems to involve copying code to a Ruby Console...whatever that is...lol
-
Pilou,
It seems it wasn't that difficult after all to use the RandomComponentReplacement plugin. The results I got with sdmitch's plugin were very much closer than those of ThomThom's tt_component_dropper plugin. By using sdmitch's plugin, I just need to address the 'manual' realignment of the source/target axis. As for ThomThom's tt_component_dropper plugin, it appears to rescale the replacement as well as not align the source with the target component axis.
I'll keep on searching for a simple two-click plugin that can change the source component axis to match the target component axis before swapping them out.
Bob
Thanks to all for participating. I haven't had such this much fun in while..
-
IN The entity info window
-
TECHDAVE02,
That's what I figured out 'after' I posted. I was likely viewing a page used by developers. Again..much thanks.
Bob
-
Carreful with the original Sdmitch, you must write in the Entity info
Source and Target in capital letter, block capital, block letter for the first letter! (if you use the original of course because you can use your own words for source and target with or witout block capital ; )And if you want a more poweful
try this one linked (allways by Sdmitch) you can make also or not a relative resize on the Target Components!About the axes use Axe Tools by Thomthom !
If you give for exemple the same axe x,y,z (Center for exemple) to the Source And Target component (with the axe tool) before call random replacement you don't need to click any orientation axes even some targets are rotated!
-
First:
Pilou,
Je voulais t’écrire en français mais mon français est très limité. Par contre, ma femme est québécoise alors je lui ai demandé de traduire ce message.
J’ai cherché et cherché pour trouver un moyen automatisé de substituer une composante pour une autre. Malheureusement, j’ai eu peu de succès. Avec l’aide que tu m’as apporté, je suis maintenant plus près de la solution que je recherche.
J’apprécie vraiment le temps que tu as pris pour m’aider et je t’en remercie sincèrement. -
No problem!
I'ts my pleasure!...et le français québécois est encore meilleur que celui du vieux continent!
Advertisement