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

    Dynamic components Issue Incorrect dims.?

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    10 Posts 3 Posters 2.5k 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.
    • D Offline
      Danwhite
      last edited by

      Hi People can someone take a look at this and see if its me.

      I have a dynamic component ( Ottoman box ) with a sub comp (Plinth) it seems to me that adding plinth as a sub comp is effecting the correct width calculation of the ottoman box, when driving through a new width dimension from the components options.

      The plinth comp also has a hidden sub comp to allow a mitered cut at each end.

      When i extract the Plinth comp ( using outliner) the ottoman box dims options are correct.

      I have resently moved to SU 2015 version on a 64bit machine but had to install SU 32bit due to crashing..

      Should i go back to SU2014 32bit for more stable Dynamic Components ?

      I may have overlooked something of my own doing..
      Danny 😲


      test box.skp

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

        It's not clear what you want to achieve so I can't help you much. When you have a component like that, you have to account for every part of it so you can get full size.

        For instance a door:
        1 - wich is 4cm thick by 2m tall and 0,9m wide;
        2 - you add up knobs and it is still 2m tall and 90cm wide but it will be thicker because of the knobs size.
        3 - if each knob is 7,5cm, the total door thickness must be 19cm.
        4 - So, if you want to make a door wich has variable thickness in it's core and you want to use the scale tool on it, you have to set the core component/group to have a thickness wich is the same as the overall door minus both knob's depth.

        The way you set all dimensions and position everything in relation to axis origin is key for the overall scale and the overall scale must be the result of all the parts...

        www.casca.pt
        Visit us on facebook!

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

          you have created some scaling issues within the component...

          Right click the plinth, and see the context menu for scale definition or reset,

          reset the plinth and it returns to its defined size, delete the formula in lenx,lenZ ...it then returns its "current" measure
          It is hard to correct this to some previous version, so it would be best to start again and work within the overall parent size as explained by JQL and so avoid the scaling interaction between child and parent.

          Build the model then apply the size then position formulas such that, after changing a value return it to its original value before the next edit. So if LenX: is 30 cm greyed out, then make the value of the variable or formula equate to 30. then change the variable to see / check the changes then return it back

          sub note: you can use the "scale definition" if it does't effected another part. so a 18mm board could be changed to 16mm, and that scale can be redefined for the component as the original size

          1 Reply Last reply Reply Quote 0
          • D Offline
            Danwhite
            last edited by

            Thanks for the input....

            Dany

            I didn't intend using any scaling just simple addition and subtraction of parent perimeters, iv obviously pulled a clanger some ware , I will attempt to rework the model
            Danny

            1 Reply Last reply Reply Quote 0
            • D Offline
              Danwhite
              last edited by

              Capture1.PNGNope still not working or me i, pretty sure there is something amiss with the program.

              I have made a new test box and all was working well the components menu was driving the component nicely , until i added the plinth rail, the rail length x supposed to be driven by the parent overall length less a couple of other parent fields , but thats not the issue as you can see the parent model is now not rebuilding the correct size shown in the components option field.

              look at overall length options says 800mm
              but the model is generating a length of 3199mm

              Danny


              Test box mk2.skp

              1 Reply Last reply Reply Quote 0
              • D Offline
                Danwhite
                last edited by

                Capture3.PNGI have just worked out how to make this work.

                The trick is to encase all components into top level component, this top level component holds the data needed to create the user options . Now the dims calculate as I hoped.

                So Basically my mistake DOH!

                Danny AKA HOMER


                Test box mk3.skp

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

                  @danwhite said:

                  I didn't intend using any scaling just simple addition and subtraction of parent perimeters,

                  changing lenx,y,z actually scales the model in those directions. As an exercise create a box component and open size attributes to make a DC. then make say 3 copies of it and alter the grey out values with non fixed values (change them without using = ) each of them differently. Then right click menu to choose first scale definition on one, then reset scale on another, undo then try a few combinations to get an understanding to what is going on. (notice a difference if you try the exercise with groups)

                  Working within the right context (scale, axis, rotation) is very important...otherwise you will find sub groups / components flying off to some previous scaled position or size

                  For want of a better term, build your DCs at a "rest" position

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Danwhite
                    last edited by

                    @unknownuser said:

                    Then right click menu to choose first scale definition on one?
                    Thanks for the imput cant understand this bit...

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

                      Sorry not enough explanation. By right clicking on one of the components or groups with the mouse, the context menu is displayed which gives you various options. If the option is grey, then its not needed, but the scale reset and scale definition should be available after changing the objects attributes or scaling

                      "if in doubt right click" is my motto

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Danwhite
                        last edited by

                        Well i thought id just add the final model , although basic to look at, i'm pleased with the dynamic aspect of it.

                        I can change the overall dims and the key design aspects using the components options box, and I have assigned the components to different layers for selective viewing of different parts.

                        Just one last thing! how to miter the ends of the plinth rails in such a way is will redraw correctly?

                        The answer is probably the scale function but i haven't yet got a full grip on this control in the attributes fields.

                        Please excuse the pace of learning...

                        Dan


                        Test box mk3.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