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.

Sketch Blocks

malcolm_smith_1malcolm_smith_1 Member Posts: 44 ✭✭
In Autodesk Inventor there is a handy feature called sketch blocks, whereby you can save a part or all of a sketch as a 'block' (AutoCAD style) and later insert it into the same or other sketches within the part you are modelling. This is very handy if you are making, say, a frame with steel sections as the blocks are very easy to locate orient whichever way you like, whist retaining the original section geometry. How would you go about doing this in Onshape? Is there a 'sketch block' method or anything similar?

Comments

  • brucebartlettbrucebartlett Member, OS Professional, Mentor, User Group Leader Posts: 2,123 PRO
    edited May 2018
    I would create a document with a series of sketches in a part studio. I'd try constraints to reference only the bits I want to block out. Then just load this doc and RMB copy to get the bits/block of sketch detail to be used and RMB paste in the new doc. 

    here's an example dochttps://cad.onshape.com/documents/0a355a367a4941eca0d90a0f/w/3d4fdaaf6b77419db7fa309b/e/8b85f21654054aa4bffb82ac
    Engineer ı Product Designer ı Onshape Consulting Partner
    Twitter: @onshapetricks  & @babart1977   
  • malcolm_smith_1malcolm_smith_1 Member Posts: 44 ✭✭
    Thanks Bruce, I just had a quick look at that document. The problem is the same as it is in Inventor if you don't use sketch blocks. The sketches are constrained, as they should be, so when you copy and paste them, you can't re-orient them (as far as I know) without a lot of effort, by either changing the local co-ordinate system or by breaking the constraints. With sketch blocks, the block has a single insert point which can be located anywhere and you can freely rotate the block before constraining it in the required position and orientation.
  • mahirmahir Member, Developers Posts: 1,220 ✭✭✭✭✭
    @malcolm_smith_1, there's nothing dictating that you have to fully constrain your sketch entities. Add just enough constraints to keep the block entities together. Don't use any horizontal or vertical constraints which would keep you from rotating the block later. Hopefully, OS gets real sketch block support at some point.
  • brucebartlettbrucebartlett Member, OS Professional, Mentor, User Group Leader Posts: 2,123 PRO
    The sketches are constrained, as they should be, so when you copy and paste them, you can't re-orient them (as far as I know) without a lot of effort, by either changing the local co-ordinate system or by breaking the constraints. 
    Generally, the sketches in that doc have been done so you get all the constraints if copy all the parts and then just position and orientate in your new doc with 2 additional constraints. It works ok for me. 
    H
    Engineer ı Product Designer ı Onshape Consulting Partner
    Twitter: @onshapetricks  & @babart1977   
  • malcolm_smith_1malcolm_smith_1 Member Posts: 44 ✭✭
    I'm not sure yet how Onshape deals with copied sketches, but one of the differences/advantages of using sketch blocks is that they are inserted as instances, so any change made to the original sketch is made to all of the inserted blocks. Generally, copies are independent of each other so updating one does not affect the copies.
  • brucebartlettbrucebartlett Member, OS Professional, Mentor, User Group Leader Posts: 2,123 PRO
    I'm not sure yet how Onshape deals with copied sketches, but one of the differences/advantages of using sketch blocks is that they are inserted as instances, so any change made to the original sketch is made to all of the inserted blocks. Generally, copies are independent of each other so updating one does not affect the copies.
    Yes, copies are independent, so there is no ability to update from the original.
    Engineer ı Product Designer ı Onshape Consulting Partner
    Twitter: @onshapetricks  & @babart1977   
  • michael_richards609michael_richards609 Member Posts: 1 PRO
    +1 for sketch blocks
  • Axel_KollmenterAxel_Kollmenter Member Posts: 272 PRO
    edited June 15
    I do it this way: I have created some sketch blocks that I use over and over again (partstudio saved with only the sketch I want) Then in another document I use the Point Derive feature from @Alex_Kempen . This allows you to load sketches and parts from other documents into a partstudio.


    This works great! If you want to have an explanation video I can create one for you.

    I have asked the same question before. Perhaps you can read through the contribution times:


    Best regards,

    Axel Kollmenter
Sign In or Register to comment.