@eselick said:
Hi
Does anyone know how to approach creating a component with parts that don't meet at 90 degrees. In my example, the thickness and width of the parts would be fixed but the intersection angles would change based on the overall width and height of the parent component.
I want to use this for adding trim to the gables of the houses I model and wonder if this is possible with DC's?
Thanks
To trim the edge, you must work with three parts in one component : the center (rectangular) and the edges (triangles). How said pcmoor, you must hide some edges and your component seems to be only one part.
Now, you must script the size and place of each part, using the global component angle and length. The length of the edges are calculated with the tangent of the angle and the global width, the lenth of the center with the total length minus edges, etc.
Here is an example :
Test_DD.skp
You can rotate and scale the component (when you rotate, it does'nt update the shape, you must scale or click on it with the "interact" tool)
Of course, there are problems when you're near to the horizontal or vercital, because the tangent become huge for one edge.