Noob DC question

Noob DC question

Postby pompeyfan » Sat Oct 25, 2014 2:49 am

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?


Re: Noob DC question

Postby pcmoor » Sun Oct 26, 2014 1:42 am

one should test each expression or formula

you wrote:


put in the current values


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

the answer you want is 0

=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


Re: Noob DC question

Postby pompeyfan » Sun Oct 26, 2014 3:09 am

pcmoor wrote:.....

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.


SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Ad Machine 


Return to Dynamic Components


Who is online

Users browsing this forum: No registered users and 3 guests

Visit our sponsors: