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

    Dynamic component box

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    4 Posts 4 Posters 1.8k Views 4 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
      Eljustino
      last edited by

      Hi,

      i want to make a dynamic component of a wooden box that contains different wood joints. I want to make the box dynamic and the wood joint must stay the same size every time i adjust the size of the box.

      The problem is when i use the scale tool, the wood joints also scale with it. So i used the = in component attributes to lock the sizes of the wood joints. But when i adjust the size, i have a problem with the joints, they resized but the joint is not good, it looks like sketchup add more components. I attached the .skp and screenshots.

      Can someone point me in the right direction?


      Box.skp


      Photo_1_Woodenbox.jpg


      Woodjoint_zoomed_in.jpg


      Wood_joint_resized.jpg


      Wood_joint_resized2.jpg

      1 Reply Last reply Reply Quote 0
      • denbostD Offline
        denbost
        last edited by

        The basic answer is that you haven't told the holes what size to be via the DC attributes dialog box. If you don't lock is a size (either a integer or with a formula) the hole will always change size when scaled.

        I'm working on something to better explain it to you. Holes like you have drawn are a little tricky to do with DC.

        "Design is a plan for arranging elements in such a way as best to accomplish a particular purpose."
        Charles Eames

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

          @denbost said:

          Holes like you have drawn are a little tricky to do with DC.

          Yes the trick is to only add stuff, never to remove stuff.

          So what you should do is to create a board that is smaller (size of the box without joints) and then add outside volumes to make the positive part of the joints.

          You add the surrounding stuff and leave the holes out.

          The very difficult part is that you have to size everything relatively to the box so it fits in the rigth place... always.

          You should also hide the connection faces and edges between box and "positives of holes"

          www.casca.pt
          Visit us on facebook!

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

            As previous said, you divide the object into parts and build the relationship between them. A reasonable time consuming effort. So first one must ask whether its worth it. If you going to create say 5 to 10, I would say not...20 to 100 yes.
            Then decide what avenue to take in regards to its use, technically or aesthetically

            A method that I currently employ is to create a DC that I can change back to a solid. The DC in the file attached is of one side of the box. Right click it and save it to a designated folder as a component. Now you can change its options to size required, Then by using outliner and expanding the contents you can see two points, one where the hole / slot can be exploded twice, then another where it can be outer-shelled and exploded. These operations can be done by right clicking (context menu) and selecting the appropriate action within Out-Liner. This creates a solid side with just the front wrapper. If you require to change it then swap it for the saved component (it will update to current option selections as it still retains the cover component)

            Capture.JPG
            The benefits of such approach is that one achieves smaller file sizes, protects ones intellectual rights and "Dave can take it off in Cut List"

            The side lugs were done using the normal make a part and build relationship
            the top and bottom done using a copy method

            When I built the slot or hole, I selected a rectangle on the body surface then applied a cut face when making it a component. Next enter the component, push-pull to create sides then delete the front & back surfaces. Exit then created a matching rectangle component with a cutting plane at rear, deleted the surface then moved it into position. Thus creating a movable hole components, these named "front and "back" are the first to be exploded to make a solid body with a hole in when changing the DC to a standard component.

            It took me 3 hours to create this side, so probably a full days work to make a the box...you need always to consider if a DC is worth it (plus half an hour to write and edit this)


            v8 and above

            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