• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Dynamic Component, sub-components shift in relative position

Scheduled Pinned Locked Moved Dynamic Components
sketchup
5 Posts 3 Posters 1.7k 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.
  • B Offline
    brisom
    last edited by brisom 23 Sept 2009, 17:59

    I have a simple Dynamic Component built of only three sub-components. I am trying to resize it with a drop-down list of differing widths with two of the three dimensions constrained. When I select a different width setting the sub-components shift relative position and their over-all size is bigger than it should be. Any thoughts?

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris Fullmer
      last edited by 23 Sept 2009, 20:27

      Sure, could you upload it for us to look at?

      Sub components base thie position on the position of their parent's origin. So keep that in mind while making DC's.

      But if you upload it here, we'll take a look at what you have.

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • B Offline
        brisom
        last edited by 23 Sept 2009, 21:36

        Thanks for getting to me so quickly, here is the file.
        I have made and remade it several times and always get the same result.

        1 Reply Last reply Reply Quote 0
        • M Offline
          markozeta
          last edited by 23 Sept 2009, 22:46

          This is a pretty easy fix, just set x, y, z to proper values.

          See attached.

          By setting the X, Y of the cross bar's axis to the correct location, (e.g. 0.75", 0.75"), the cross bar stays in place. Then the farther away bar just needs it's X, Y, Z, coordinates set to equal the length of the component, and tada, the part works fine. Then I just added some bulletproofing (e.g. set LenZ_Part = LenZ_FatherComp), so that way scaling wouldn't mess it up. And turn the scaling handles off, since you won't be using those (I hope not, this would be a bit more complicated if you needed to include dynamic scaling).


          It's a table!

          BSME - Cal Poly Pomona
          Sketchup Pipe Maniac

          1 Reply Last reply Reply Quote 0
          • B Offline
            brisom
            last edited by 6 Oct 2009, 18:40

            Thanks Markozeta for your replies, and quick too. I would have responded sooner, but had a time of it logging on. But the info helped and I am on my way.

            Thanks, Brian

            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