sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Triangular DC ?

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    3 Posts 3 Posters 1.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      eselick
      last edited by

      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


      TrimGable.skp

      1 Reply Last reply Reply Quote 0
      • P Offline
        pcmoor
        last edited by

        Hi

        yes...

        Make the shape out of a group of components, where adjacent edges are hidden, adjacent planes are deleted. Triangles are position on the changing axis so hypotenuse changes with sides. Position the axis so that changes go in the desired direction, Refer to my dynamic roof frame in the warehouse.

        In theory any shape that can be contain, by pulling a more complicated form apart, thus it can then be manipulated.

        Then the fun begins....
        especially when changing the attributes. one has to make the changes in reference to the parent axis, if it flies of into the never never, then undo as you are probably in a child environment and change level. For the pitched components I found it easier to build and alter them in a rest position, the rotation values all at "0", otherwise one can get lost within the referencing

        Cheers
        Philip

        1 Reply Last reply Reply Quote 0
        • DareDevilD Offline
          DareDevil
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement