Is it possible to make a DC and rotate it as on the picture?
I’m not into dynamic components but I would say that’s a translation instead of a rotation!
In SketchUp itself this would be done by moving a side up or down…
Probably with a bunch of trig and the right breakdown of the parent into children.
To get the result in your picture you can make a Dynamic Component with 3 parts - a middle block with top and bottom sloped parts that are all linked together in position and sizing. By setting some of the lines to be hidden the joins are not seen.
Dynamic Sheer-003.skp (11.3 KB)
Thanks, I marked the answer as the solution because it matches my query in this post, but then I realized that it’s not exactly what I need and I made a mistake when writing the query =), here’s what I would really like to implement:
So, now you are showing the two parameters that need to remain fixed when the block sheers (those dimensions 1500mm and 200mm).
To do that, I would build the Dynamic Component in a similar way, but have the sheered parts at each end, instead of on top and bottom.
The 1500mm length can be controlled using A+B. And the 200mm height is the height of the central block.
I am not sure exactly how you want to use this Dynamic Component but hopefully you can take this example as a proof of concept and adapt to your needs.
Dynamic Sheer-004.skp (13.9 KB)
It seems you could tie the Slope value to the Rotation one to prevent having two attributes ?
Assuming the slope value is the horizontal offset (B), Slope could be calculated with tan(Rotation) * Height of Block
and that way you wouldn’t need to have a visible Slope attribute maybe ?