sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Need a plugin?

    Scheduled Pinned Locked Moved Developers' Forum
    11 Posts 3 Posters 373 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pilouP Offline
      pilou
      last edited by

      Components Dropper by Thomthom ? 😉

      Random Replacement by Sdmitch with just one Component as "Source" 😉

      Frenchy Pilou
      Is beautiful that please without concept!
      My Little site :)

      1 Reply Last reply Reply Quote 0
      • T Offline
        TECHDAVE02
        last edited by

        Reset Component Origin - Permanantly change the origin of component
        http://sdmitch.blogspot.ca/
        On the right track but not there

        1 Reply Last reply Reply Quote 0
        • bsintzelB Offline
          bsintzel
          last edited by

          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


          6-30-2013 3-16-20 PM.jpg


          Component-dropper test.skp

          I've taken obfuscating to a whole new level!

          1 Reply Last reply Reply Quote 0
          • bsintzelB Offline
            bsintzel
            last edited by

            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

            I've taken obfuscating to a whole new level!

            1 Reply Last reply Reply Quote 0
            • bsintzelB Offline
              bsintzel
              last edited by

              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.. 😍


              6-30-2013 5-05-30 PM.jpg


              Component-dropper & SDMitch's RTC.skp

              I've taken obfuscating to a whole new level!

              1 Reply Last reply Reply Quote 0
              • T Offline
                TECHDAVE02
                last edited by

                IN The entity info window


                Source


                Target

                1 Reply Last reply Reply Quote 0
                • bsintzelB Offline
                  bsintzel
                  last edited by

                  TECHDAVE02,

                  That's what I figured out 'after' I posted. I was likely viewing a page used by developers. Again..much thanks.

                  Bob

                  I've taken obfuscating to a whole new level!

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    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! 💚

                    PilouComponentReplacement.zip


                    bef_after.jpg

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 Reply Last reply Reply Quote 0
                    • bsintzelB Offline
                      bsintzel
                      last edited by

                      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.

                      I've taken obfuscating to a whole new level!

                      1 Reply Last reply Reply Quote 0
                      • pilouP Offline
                        pilou
                        last edited by

                        No problem! 😄
                        I'ts my pleasure! 😉

                        ...et le français québécois est encore meilleur que celui du vieux continent! 😎

                        Frenchy Pilou
                        Is beautiful that please without concept!
                        My Little site :)

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement