• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Noob DC question

Scheduled Pinned Locked Moved Dynamic Components
sketchup
3 Posts 2 Posters 1.2k 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.
  • P Offline
    pompeyfan
    last edited by 25 Oct 2014, 01:49

    Attention Required! | Cloudflare

    favicon

    (help.sketchup.com)

    I've tried following this tutorial but my end product isn't quite right. I'm trying to make a component so that when I scale the component along a line it will duplicate the kerb component to be the right size. I'm having trouble explaining the issue that I am having with it so I attached the sketchup file. What am I doing wrong?


    kerbs.skp

    1 Reply Last reply Reply Quote 0
    • P Offline
      pcmoor
      last edited by 26 Oct 2014, 00:42

      one should test each expression or formula

      you wrote:

      copies=(Component#2!LenX)/(Component#23!LenX+Component#2!spacing)-1

      put in the current values

      =320/(320+320)-1
      =-0.5

      as copies rounds to an integer, the result is -1

      the answer you want is 0

      try
      =Component#2!LenX/LenX-1 (that is the full length / length of the kerb=1 then -1 as you don't need a copy)

      (side note: you can after placing the"=" click on variables to place them as you do on excel or spreadsheet cells to build your expression to save writing)

      then you need to move any copy to desired position
      expression for position
      x =copy*LenX

      copy is a read only attribute which appears in the copied item

      x = 0*360 = 0

      now try scaling

      you will note that the repeated shape is always short of the grass,

      if the scale is increased enough for the copy, if you click into one of the copied items you will see the read only item "Copy"

      you need to now consider whether you want the final result to be a fixed multiple of your component#23, or some variant of component#1
      or you may take up the difference by spacing the kerb units

      the decision is yours

      1 Reply Last reply Reply Quote 0
      • P Offline
        pompeyfan
        last edited by 26 Oct 2014, 02:09

        @pcmoor said:

        .....

        Thankyou. I had a feeling that might have been where my issue was. It will help a lot as I have fencing and everything to do and DC should speed the process up.

        I've attached the kerb in action.


        f1 circuit.jpg

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

        Advertisement