• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Dynamic Component Rotation Reporting Problem

Scheduled Pinned Locked Moved Dynamic Components
sketchup
5 Posts 2 Posters 9.9k Views
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.
  • D Offline
    Danny_Kil
    last edited by 19 Aug 2021, 18:01

    I’m having trouble understanding the Rotation Values I’m seeing for my dynamic component.
    I created a basic dynamic component rectangle and made the Rotation Attributes visible.
    It was created “flat” on the plane of the “ground”, so the Rotation Attributes show as RotX=0, RotY=0,RotZ=0 - as I would expect.
    Typically I’d orient this for work purposes in a vertical plane, so I rotate it along the red axis which results in RotX=90, RotY=0,RotZ=0 - so far so good.
    But when I then rotate the DC rectangle 90 deg. counterclockwise along the blue axis, instead of getting the expected Rotation reporting results, I get the oddball result of RotX=-139, RotY=90,RotZ=-112.
    Trying to develop a Construction Estimating approach that relies on accurate reporting of a panel’s Rotation values.
    What am I doing wrong?


    0001 TO Panel-Single.skp


    0001 TO Panel-Single_01.jpg


    0001 TO Panel-Single_02.jpg


    0001 TO Panel-Single_03.jpg

    1 Reply Last reply Reply Quote 0
    • R Online
      Rich O Brien Moderator
      last edited by 19 Aug 2021, 19:07

      Isn't the rotation correct based on the original orientation?

      If you RotX 90 then RotZ 90 with the Rotate Tool it is different than if you manually punch in the same value in the DC dialog.

      Isn't the DC basing its rotation off the orientation of the components axis?

      Download the free D'oh Book for SketchUp

      1 Reply Last reply Reply Quote 0
      • R Online
        Rich O Brien Moderator
        last edited by 19 Aug 2021, 19:37

        This is what I was trying to describe. You expect the left because that's the action you commit. Whereas the reality could be right.

        comp.gif

        Download the free D'oh Book for SketchUp

        1 Reply Last reply Reply Quote 0
        • D Offline
          Danny_Kil
          last edited by 20 Aug 2021, 18:19

          @rich o brien said:

          This is what I was trying to describe. You expect the left because that's the action you commit. Whereas the reality could be right.

          [attachment=1:29rmpzte]<!-- ia1 -->comp.gif<!-- ia1 -->[/attachment:29rmpzte]

          Thanks - I can ( I think) see how I'm getting the unexpected rotation values.

          If I make the RotX, RotY, and ROtZ attributes editable with a textbox, I can manually get the panels to orient the way I want.
          But I lose the ability to use the Rotate Tool on a single panel or simultaneously on multiple selected panels (panel(s) just revert(s) back to Rot value in textbox upon any edits).

          I there a way to use the Rotate Tool and also be able to type in Rot values in a textbox?
          I've played around with the "Current" function, but with no success.


          0001a TO Panel_Single.skp

          1 Reply Last reply Reply Quote 0
          • R Online
            Rich O Brien Moderator
            last edited by 20 Aug 2021, 19:34

            To be honest I steer clear of DCs when I can. Only reason I saw the issue was because this is a type of Euler vs Quaternion rotation issue.

            Your model actually prompted me to look into DCs more to see if they had a formula for it. I'm pretty sure you can use a mixture of maths functions to calculate this but it beyond my feeble brain... 😞

            Download the free D'oh Book for SketchUp

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

            Advertisement