Need a plugin?
-
To any anyone who wishes to chime in
I have a requirement but I'm not entirely certain if the answer can be found here (with a new plugin), an existing plugin, or by using a (yet unknown to me) one-click operation.
This requirement came about as a result of working with BoltMaker XII (final) and needing to replace the program output with my own 'custom' nut/bolt components.
In a nutshell:
My objective is to be able to automate the component substitution operation with just a few clicks. Click #1: identifies one or more target (TC) components that I want to receive the substitution component (SC). Click #2: identifies the source (SC) component to be used when replacing the TC(s)with that of the SC and performs the substitution(s).
I can do all of the above now (manually) however, there's a LOT of 'Change Axis' work that must be 'manually' done to get it to work correctly and the manual process doesn't scale well when you use a LOT of custom bolt/nut components.
Any thoughts anyone???
-
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