3D Design

3D Design

parametrizing rotation angle in spaceclaim for workbench design table

    • desouzadacosta
      Subscriber

      Hi All,


      I want to make a parametrizing of rotation angle of a valve using spaceclaim inside workbench (please see the fig and the .wbpz).


      The rotation around the vertical (positive counterclockwise) is only working for the first rotation angle (lets say 25 deg). After that


      if I input , lets say 30 deg, the ruler dimension keeps with the original angle (0 deg) and I dont get a 30 deg rotation from the original position.


      Any expert advice is very welcome


      Thanks,


      Alex

    • Naresh Patre
      Ansys Employee

      Hello desouzadacosta,


      Instead of using Move tool directly for creating a parameter, I suggest you to create the parameter using annotation dimension. Such parameters are more robust in behavior. Check out below video which demonstrates creation of such parameters.



       


      Regards,


      Naresh Patre

    • desouzadacosta
      Subscriber

      Hi Naresh,


      Thanks for the video link. I tried that, but I am afraid is not working. When I create the annotation object , I must use the move tool to generate a parameter, so it is


      again the same issue with use the move tool to rotate the solid.


      Any other output is very welcome.


      Best


      Alex

    • FrankD
      Ansys Employee

      Alex


      You can use the Move tool to create your parameter.  What you need to know is that a Group created from a ruler dimension, is not storing the dimension, as an object that has self-awareness. Annotation Dimensions (in drawings) are those kinds of objects.  A 3D-defined Group (suitable for sending to other applications) is exactly this: A stored set of selection(s), in a tool, along with any alternate selections, options set in that tool, rulers used, anchors used, and annotation dimensions possibly spark-overriding the ruler.  This can be basic length-for-length overriding, as is shown in the video, or more complicated solving lengths for angles, or solving lengths to achieve some measurement or mass.


      In any case, if you do not anchor the dimension, linearly or angularly, then what you are saving is a relative movement. Use this if you want to move/rotate something continuously.  If, however, you want an absolute movement, then you should be setting a ruler dimension anchor (by dragging the ball at the end of the ruler to some reference geometry) Then defining your numeric control from the ruler or from an annotation dimension or measurement, and only Then saving the Group.  This is the more commonly-expected usage of a dimension, strictly-speaking.  


      F

    • desouzadacosta
      Subscriber

      Thanks for the output FrankD. if it is not asking too much, could you share a short vídeo (or screenshoots) With my geometry showing  your point? I am really going nuts with parametrizing this angular rotation.


      I believe that would be useful for all community.


      thxs.

    • FrankD
      Ansys Employee

      Okay.


      First step: Make sure you are moving a Component and not simply the faces of a solid. Moving a component is a simple transformation. RMB>Component>Make Component. Give yourself something to measure the rotation From (here, I put in a plane)



      Set up the Move tool (re-anchor it to the turning axis by dragging and dropping the yellow ball):


      then Align it to some direction that shows nicely (by Alt-clicking on a convenient edge):



      Select the desired rotation axis (blue here), and with that you can RMB>Rotational Ruler to anchor your move reference to the plane, as here:



      And then Ctrl+G to create the group. 


       


      Some notes:  In the pictures above all the faces were selected, thus Orange.  When it is a component selected, it is not highlighted like that. Also, you'll note that the rotational dimension can be stored as its complementary angle, in a difficult-to-predict algorithm; so don't be alarmed if it looks like this when you later go to restore the group:



      the bounding box of the component is highlighting in yellow as well (correctly)


       

      • Rahul Kaushik
        Subscriber

        Hi Frank, 

                        Thanks for detailed solution on how to parametrizing rotation angle. However, please tell, is it aslo possible to parametrize an skech dimension in space claim. I had to check for self delfection due to weight of a cyllinder by changing 'support surface loaction diameter' and 'supoort surface diameter. 

    • desouzadacosta
      Subscriber

      Thanks. In the difficult-to-predict algorithm : the ruler dimension keeps the original measured angle value, even when you requires new angle values, and those new values are relative to the new position (what it is not useful).

    • FrankD
      Ansys Employee

      If your restored-group angle is relative to the last position, instead of absolute to some reference, then you have incorrectly-defined that Rotational Ruler reference.

    • desouzadacosta
      Subscriber

      Thanks. Sorry, but i still a bit confused.Can you show in a picture the difference of placing the ruler with absolute and relative reference?

    • FrankD
      Ansys Employee

      If you use the button Ruler:



      to select a rotation reference (face) then you get an Absolute Angular movement:



      If you don't, or set it up incorrectly, you get a movement relative to the last known natural direction of the face (or the current orientation of the move tool)



      F

Viewing 9 reply threads
  • You must be logged in to reply to this topic.