Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

2D profile alignment (left/center/right, top/middle/bottom)

adamohernadamohern Member, OS Professional Posts: 216 PRO
When extruding profiles, is there a way of creating a graphical alignment input for aligning the profile?

For example, when extruding a rectangle, I may want to align it to top/middle/bottom on the vertical axis, or left/center/right on the horizontal. I currently do this with two enum dropdown menus, but it's cumbersome and unintuitive.

Suggestions?

Best Answer

Answers

  • ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 928
    I'm not exactly sure what you're asking for...  Have you used manipulators and would a manipulator do the trick?  One could imagine an angularManipulator controlling an ALWAYS_HIDDEN parameter whose value is rounded to 90 degrees for actual use...
    Ilya Baran \ Director, Architecture and FeatureScript \ Onshape Inc
  • adamohernadamohern Member, OS Professional Posts: 216 PRO
    f

    Here's an example from Frame Generator in Inventor. They're just giving you radio buttons to choose a corner.

    A 3D manipulator could work, I suppose, but I haven't seen one in Onshape that would do what I need. I really want to choose one of six positions as destinct alignment locations, not a free-drag. I suppose I could add a 3D manipulator gnomon and then snap to various positions based on where the manipulator is dragged, but that sounds pretty complicated.
  • emagdalenaC2iemagdalenaC2i Member, Developers Posts: 560 ✭✭✭✭✭
    Maybe it works better if you can pick a point in the profile instead of one of that six positions. Like weldment profiles do in SolidWorks.

    Also you can add the option to rotate and mirror the profile.

    We will be love to help in this development if you want.
    Un saludo,

    Eduardo Magdalena                           C2i Change 2 improve                           ☑ ¿Por qué no organizamos una reunión online?   
                                                                 Consulting Partner de Onshape                                      Averigua a quién conocemos en común

    Consulta mis cursos de Onshape en Español:
  • adamohernadamohern Member, OS Professional Posts: 216 PRO
    Good idea, but not robust enough. What if the corners are rounded? What if there is no center point on the profile? What if the profile is generated by the feature?

    I think the only clean way to do this is with some kind of manipulator. I'll have to think about it.
  • emagdalenaC2iemagdalenaC2i Member, Developers Posts: 560 ✭✭✭✭✭
    If the corners are rounded you can add a point in the sketch of the profile. As you can see here



    Un saludo,

    Eduardo Magdalena                           C2i Change 2 improve                           ☑ ¿Por qué no organizamos una reunión online?   
                                                                 Consulting Partner de Onshape                                      Averigua a quién conocemos en común

    Consulta mis cursos de Onshape en Español:
  • adamohernadamohern Member, OS Professional Posts: 216 PRO
    Right, but my feature doesn't use a sketch as an input. The profile is generated by the feature itself, so there is nothing to select.
Sign In or Register to comment.