• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Scaling Dynamic Component with nested components

Scheduled Pinned Locked Moved Dynamic Components
sketchup
5 Posts 2 Posters 2.0k Views
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
    huwenator
    last edited by 1 Jul 2015, 04:40

    I'm trying to create a DC that I can scale along X and it will populate with various nested components/groups of fixed size to make up the overall length.

    It's a truss line made up of truss sections of either 3m, 2m or 1.5m sections. So a truss line of 4.5m would be made up of 1x3m and 1x1.5m sections for a total of 4.5m. A 6.5m truss line would contain 1x3m, 1x2m and 1x1.5m sections etc.

    I can get the nested truss sections to create copies to best fit the total length but I have no idea how to combine the nested truss lengths to get a best overall fit.

    Any help?


    This is it so far

    1 Reply Last reply Reply Quote 0
    • P Offline
      pcmoor
      last edited by 1 Jul 2015, 10:58

      I believe the common total 3+2+1.5=6.5 should be tried first, then systematically 3,2,1.5

      I used the hidden method to place the sections when not in use, to x=0, and 1.5 length

      What happens to the remainder after the section division?

      attached worked example saved as version 8

      cheers
      Philip

      Edit: 4m is another exemption
      so for range 4 to <4.5 need to take one from the 3m division to allow for two of the 2m division


      TrussLine (1).skp

      1 Reply Last reply Reply Quote 0
      • H Offline
        huwenator
        last edited by 2 Jul 2015, 00:50

        Wonderful!!!

        This is exactly what I was looking for. Thanks very much. 😄

        1 Reply Last reply Reply Quote 0
        • H Offline
          huwenator
          last edited by 2 Jul 2015, 11:17

          Gave it a bit of a polish.

          Thanks!


          TrussLine.skp

          1 Reply Last reply Reply Quote 0
          • P Offline
            pcmoor
            last edited by 2 Jul 2015, 23:16

            there is a problem with your version for multiples of 6.5, 13m rounds down to 12, whereas my formula produces the require 3 x 3m and 2 x 2m

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement