Help With Creating A Scaling Dynamic Component

Help With Creating A Scaling Dynamic Component

Postby Se7ven » Thu May 22, 2014 11:37 pm

I am trying to create a concrete block wall that is scalable as a dynamic component and unsure how best to go about it. I want this component to be able to scale along the 3 axes and generate new wall sections as it does so. I tried playing around with the attributes section of dynamic components but have been unsuccessful for now. I have seen other dynamic components being created by others and tried to follow their examples but it seems that the uniqueness of each component takes one so far. I am uploading a copy of the file in its raw format (i.e., no changes have been made to the component's attributes) and hoping that a helping hand is available.
0

Se7ven 
 

Re: Help With Creating A Scaling Dynamic Component

Postby TIG » Fri Jul 18, 2014 1:39 pm

I think that you can do this in DC code - although it's not my expertise.
Look at examples of DC picket-fences etc, when scaled in length they add extra posts etc.
In your case you start with a DC containing a full block and half-end block.
As the length increases extra bloc/half blocks are repeated as needed ?
It can only increment in whole pieces ?

In the height you add an offset row [course] to suit the height...

It's not easy BUT there are examples...
https://3dwarehouse.sketchup.com/search ... ass=entity
https://3dwarehouse.sketchup.com/model. ... 2080357053

The second example does what you want - albeit with out the finer detailing - which is geometry intensive with little benefit ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Help With Creating A Scaling Dynamic Component

Postby Trixta » Sat Aug 09, 2014 3:32 pm

0
Win7 & SU14 Pro
User avatar
Trixta 
 

Re: Help With Creating A Scaling Dynamic Component

Postby twdant » Fri Sep 19, 2014 2:25 pm

Will this wall be scaled in only whole- and half-block increments, or do you want the blocks to be cut at different lengths besides half-blocks?
0

twdant 
 

Re: Help With Creating A Scaling Dynamic Component

Postby twdant » Fri Sep 19, 2014 4:35 pm

Here's a version with component options for width, length, and height. All options measurements are in centimeters, and the dimensions must be rounded to whole block intervals. When deciding the length, use whole block intervals plus 15 cm (for the width of the front wall).

One interesting thing I stumbled upon while working on this component: The length wall is a copy of the width wall, and the formula to determine length is the same as width, but minus the thickness of the front wall. So, for the LenX attribute of the length wall, I subtracted 15 from the user input option. For example, If the end length should be 93 cm, including the 15 cm thickness of the front wall, my length formula for the side wall is 93-15. I kept getting an extra copy of the whole block in all instances inside the side wall. The only fix I found was to change the format of the user inputs from cm to decimal numbers. I've never run into this problem before, but I usually model in inches. I wonder if Sketchup is written to use inches by default, and the conversion is a tad off.
0

twdant 
 

Re: Help With Creating A Scaling Dynamic Component

Postby quantj » Fri Sep 19, 2014 7:20 pm

Try this, I rushed it, but you use the scale tool and it'll add as many it needs to fit the scale. Only X and Y so far. but you can see how it's done, and use the same functions/formulas for Z axes, but do it neater than my sloppy naming
0

quantj 
 

Re: Help With Creating A Scaling Dynamic Component

Postby Trixta » Sun May 15, 2016 7:52 pm

Ok. After 48 hours of downloading 25 x DC models, scouring every dark recess of the internet, I'm still not getting it right. Maybe it's just time to accept my intellect level and ask.

I have created this wall Unit from scratch, added all the DC elements to make it scalable on the horizontal, including the second door that appears after extending it more than 600mm.

Now I need to extend it on the z axis but.....I also needs to add shelves of equal spacing once the spacing between the shelves exceed 300mm

Any help would be greatly appreciated.
0
Win7 & SU14 Pro
User avatar
Trixta 
 

Re: Help With Creating A Scaling Dynamic Component

Postby Trixta » Sun May 15, 2016 11:30 pm

Never mind. I figure it out for myself. :knockout:

Eric Schimelpfenig eat your heat out. ;)

P.S The doors extend down past the cabinet to cover the 16mm light shield. I's not a mistake. :)
1
Win7 & SU14 Pro
User avatar
Trixta 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Dynamic Components

Who is online

Users browsing this forum: No registered users and 0 guests

Visit our sponsors: