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

    New to Dynamic Components

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    9 Posts 2 Posters 3.0k 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.
    • PixeroP Offline
      Pixero
      last edited by

      I've recently started to explore dynamic components and have a question.
      Is it possible to constrain one component with parameters from another component?

      I was thinking of a way to get windows and doors to cut through double walls with one dynamic component controling position of the component used for cutting the back face.

      1 Reply Last reply Reply Quote 0
      • JQLJ Offline
        JQL
        last edited by

        You can do it but I wouldn't recommend it Pixero.

        I've been there and in the end my conclusion is that I was wasting my time. I believe yours will also be the case...

        Have you thought of using box scale to target from Fredo Scale instead?

        EDIT:

        For doing what you want, the trick is relating things to Parent!

        For instance if you want to copy an element with a given length inside your hole cutter and use the hole cutter lenght you'd do this:

        LenX=Parent!LenX

        www.casca.pt
        Visit us on facebook!

        1 Reply Last reply Reply Quote 0
        • PixeroP Offline
          Pixero
          last edited by

          But is it possible to do it between two different dynamic components?
          What I would like is one component that I place and explode.
          Then if I select and move DC-A, DC-B would move along without having to be selected.
          Possible?

          1 Reply Last reply Reply Quote 0
          • JQLJ Offline
            JQL
            last edited by

            @pixero said:

            But is it possible to do it between two different dynamic components?
            What I would like is one component that I place and explode.
            Then if I select and move DC-A, DC-B would move along without having to be selected.
            Possible?

            Like a global variable for multiple components?

            You can do that if your house is a DC... Click the house and a variable change then all windows shift... is that it?

            www.casca.pt
            Visit us on facebook!

            1 Reply Last reply Reply Quote 0
            • PixeroP Offline
              Pixero
              last edited by

              Yeah, like a global variable that works between DC components.
              Select one and move and the other comes along as it's constrained to the first.
              I don't think making the whole house a DC would make a good workflow though.

              I've seen solutions with double cut components that you need to select both parts when moving the window.
              I was just thinking there might be a more clever way...

              1 Reply Last reply Reply Quote 0
              • JQLJ Offline
                JQL
                last edited by

                @pixero said:

                Yeah, like a global variable that works between DC components.
                Select one and move and the other comes along as it's constrained to the first.
                I don't think making the whole house a DC would make a good workflow though.

                I've seen solutions with double cut components that you need to select both parts when moving the window.
                I was just thinking there might be a more clever way...

                The problem is that when you have a component glued, moving another automatically must relate to the face axis system (like UV)...

                How would you relate face axis for every direction?

                Also, usually one hole cutting component would have the axis following the wall's axis, but the other would be reversed, as it's in the opposite side of the wall?

                Probably you'd have to have each wall as a group and have each axis set by wall and then have the components follow axis.

                www.casca.pt
                Visit us on facebook!

                1 Reply Last reply Reply Quote 0
                • PixeroP Offline
                  Pixero
                  last edited by

                  But is it possible?

                  1 Reply Last reply Reply Quote 0
                  • JQLJ Offline
                    JQL
                    last edited by

                    Yes it's possible. If they are both nested in the same component/group so their data can be passed from one to the other.

                    I don't think it would be good though.

                    Wouldn't it be better for you, since you have coded some plugins already, to have some observer to do that?

                    I mean if the axis of one component are inserted in a given world XYZ, and the axis of the second component are inserted in another world XYZ, you could keep both of them related to each other through that observer right?

                    With DC's It would be hard to control as there is no method (I know of) to link two independent DC's unless they are linked by a global DC nesting them.

                    www.casca.pt
                    Visit us on facebook!

                    1 Reply Last reply Reply Quote 0
                    • PixeroP Offline
                      Pixero
                      last edited by

                      Okay, thanks.
                      It was just that I was looking for a solution that didn't require the user to run a certain script/plugin. (It wasn't meant to be used by me only.)
                      Will think about this...

                      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