sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    DC axis becomes offset when component moved

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    3 Posts 2 Posters 814 Views 2 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.
    • E Offline
      eselick
      last edited by

      Ht
      The attached model is my first real attempt at dynamic component creation. It scales the way I want but when I move it the DC axes changes position and is offset from the model itself (definitely not my intention). This leads to all kinds of unpredictable behavior.

      I created all of my sub components first and adjusted their axes in order to make all of my attribute definitions easy. I then selected them all and created the top level component. I set the component axis in the component creation dialog as is explained in the tutorials.

      Why does the axis become offset when the component is move or copied?

      Thanks in advance.


      WinTrim Working.skp

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        I think the key bit you are missing is that the position of sub-components is relative to their parent Origin. So a sub-component with Origin [0, 0, 0] will be located at the Origin of the parent Component.

        In practice, this means you should set the X, Y, Z position of the Sill to 0, 0, and 0.

        The Left and Right Trim should have an Z equal to the Sill Thickness.

        The Top Trim should have a Z height of the Parent, minus its own height, plus the Sill LenZ.

        And so on. Anyway, here's how I would do it.


        WinTrim Working[jf].skp

        Hi

        1 Reply Last reply Reply Quote 0
        • E Offline
          eselick
          last edited by

          Thanks for the help Jim. You are the man.

          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