I’m part of the way to creating a dynamic component for use in stage lighting design.
I’ve got this far:
Patt 264 lantern DC.skp (162.2 KB)
I’ve drawn a simplified version of one of our very old Patt 264 Strand Electric lanterns. I’ve developed DC Attributes and assigned three of them to Component Options for Left to Right Angle (relative to straight ahead on the green axis), Up-Down angle (downwards positive relative to horizontal), and Light Cone Angle (included angle of the light cone from the lantern, which is controllable within limits - not enforced in the DC, though I might add that later).
I’ve made four dotted line components for the boundaries of a very simplified version of the light cone of the lantern, which are angled at half the light cone angle away from the centreline of the cone, and these work fine to change angle when I change the component option for the light cone angle.
I’ve also drawn a translucent cone (only 12 faces), and set its scale handles to show only in its green-blue plane, so as to allow me to use the scale tool about centre to broaden or narrow the cone shape.
But what I’d like to do is to be able to have the cone component shrink or enlarge with the component option for its angle, and I can’t see how to do that, or even know if it’s possible in a DC.
As an alternative, I could use more component dashed lines - say 8 or 12 instead of the 4 I’ve used so far - to simulate the cone edges, and calculate the angles to place them, and if I include a parameter for the height of the lantern above the stage, even to adjust the lengths so they end at stage level (more or less). But that gets tedious and the trigonometry while fairly straightforward is error prone when creating the DC formulae to position them.
Can anyone see a better way of doing it? @pcmoor perhaps? Anyone else?