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

    DC independent interactions

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    4 Posts 2 Posters 1.3k 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.
    • H Offline
      hws
      last edited by

      (DC newbie, sorry if already answered elsewhere).

      1. I'm drawing a door within a gate (see attached .skp). The door may be rotated 180 degrees, but of course its hinges are always connected to the gate. The gate may be rotated 90 degrees. The door should respond to an interactive onclick independently of the gate. For the gate and door to have their own interactions, must they NOT be parts of a group or nested component?

      2. I've attached two door handles to the door and made them a composite component. Why do they not move with the door when it rotates?

      3. Similar to Q2 above, how to 'weld' the door to the gate at the door hinges, depending on the answer to Q1 above (i.e. door and gate nested or independent)?

      Thanks,
      Harry


      driveway gate dynamic.skp

      1 Reply Last reply Reply Quote 0
      • P Offline
        pcmoor
        last edited by

        Hi

        All objects should be contained within the component you require to move. Have one animation that triggers the others, this is top down coding.
        By placing the rotation in a separate variable, able to work with finer degree changes.

        can make the actions follow on, but not independent

        Philip


        gate.skp

        1 Reply Last reply Reply Quote 0
        • P Offline
          pcmoor
          last edited by

          This example uses a different trigger point, red opens main gate, green small

          gates move independant
          cheers
          Philip


          gate2.skp

          1 Reply Last reply Reply Quote 0
          • P Offline
            pcmoor
            last edited by

            Hi Again

            Figured it out, place the two doors (with separate "on click") within a component, have the main door reference the wrapper or parent, thus if you pick the small door it rotates or the larger door the whole lot rotates

            Cheers


            gate3.skp

            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