sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    DC Fence - repeating posts at set distances...

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

      hi Guys, I've never really made time to play with DC's and now am making it my mission to learn!

      I've read the user guide, viewed YouTube vids' and downloaded examples from the 3DWH. Still I can't working out something.

      Attached is my simple Fence.
      [list=]1200high
      50x50 post
      40x25 top and bottom rails
      15mm balusters[/list]

      What I want to do is repeat Posts at maximum 1800mm centres which means my top and bottom rails will need to adjust to suit. So if my fence panel is 1800, I'll have a post at each end. If I have a fence panel 2700mm, then the first spacing between posts will be 1800 then the next one at 900mm, etc, etc...

      Two questions:

      1. what is the formula for copying posts at maximum 1800 every segment?
      2. once I have that, what then is the formula for setting the top and bottom rails to suit?

      Please help as I have almost pulled all my hair out and I'm only relatively young..... πŸ˜•


      PoolFence.skp

      purpose/expression/purpose/....

      1 Reply Last reply Reply Quote 0
      • utilerU Offline
        utiler
        last edited by

        Have been playing a little more. [see attached updated skippy]

        For some reason I have posts repeating at 1800mm even if I pick a point half way in between.

        Also, not sure why my RailTOP and RailBTM are not repeating...???

        PLEASE HELP!!!!!!


        PoolFence.skp

        purpose/expression/purpose/....

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          It's complicated. πŸ˜†

          If the general rule for the X Position of a Post is:

          X: =0+COPY*(FencePool!SpacingPost)

          To position the "last" Post, you could try this:

          X: =IF(Copy=COPIES, use exception, else use general rule)

          But more likely you will want to use an intermediate attribute to store the length of the last section to be used by the Post position, the rails position, and anything else that may need the length.

          Hi

          1 Reply Last reply Reply Quote 0
          • utilerU Offline
            utiler
            last edited by

            No speak enrish, Jim!!! I don't quote get what you're saying.

            Would the formula string accept such text?
            It appears DC's recognize '>='
            so I've tried this in the copies but with no luck.....

            Why isn't there a smiley that bangs it's head on the floor!!!!

            purpose/expression/purpose/....

            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