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.

Parametric pattern replication in assembly with automatic edge trimming - is it possible?

I'm working on a design where I need to replicate a single tile component across a base plate in an assembly. The requirements are:

  1. Pattern one tile part across the entire plate surface (so only one part appears in BOM)
  2. Automatically trim/cut tiles that extend beyond the plate edges so they're flush with the plate boundary
  3. Make it parametric - the number of tile instances should automatically calculate based on the plate dimensions

Essentially, I want the plate size to drive how many tiles are patterned, and any tiles hanging over the edge should be automatically cropped to the plate boundary.

Is this achievable within an assembly context in Onshape? I've tried various approaches but can't figure out how to get the edge trimming to work properly while maintaining the single-part BOM entry.

Here's my current model: https://cad.onshape.com/documents/6579f8c08bbe946fda5e31a2/w/5c2ebeb89b21be0362e9abbe/e/68592d742882bd15d67c7771

Any guidance on the right workflow or feature combinations would be appreciated.

Best Answers

  • MichaelPascoeMichaelPascoe Member Posts: 2,762 PRO
    edited January 28 Answer ✓
    1. I'm not sure what you mean by this. There are multiple parts in your example not one part. Do you want the surface of the material to be cut?
    2. Yes, but not within an assembly. You will need to use a part studio to do this. Or insert configured parts within the assembly manually. Or edit current parts In-Context, which would take forever.
    3. Yes, possible using some in-line equations within the pattern feature. But again, you will need to push this over to the part studio to handle the trimming and auto size measuring.

    If you HAVE to have the bom, then you can use the Assembly Imosters (App + feature) to tag your patterned parts within a part studio and properly replace them in an assembly so the bom counts them properly. Eventually, I hope that Onshape adds the assembly functionality to measure things as variables and also count duplicates via boundary box or custom tags, for now, this will have to do.

    Or, if you just need a cutlist within the part studio, you could use this: Measure Cut List

    .


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • MichaelPascoeMichaelPascoe Member Posts: 2,762 PRO
    Answer ✓

    It sounds like you might not be doing using this every day for a production project. In that case, you can just pattern within the assembly like you did, then manually measure the off surface parts to see what size they need to be, then, change the size configuration of your patterned part and re-pattern those new sized parts along the edges.

    • Pattern like you did
    • Measure smaller parts
    • Change configuration of off surface parts (re-pattern newly inserted parts if necessary)

    You will need to make sure your patterned block has length and width configuration variables set up for it so you can insert it with any size you need.


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴

Answers

  • MichaelPascoeMichaelPascoe Member Posts: 2,762 PRO
    edited January 28 Answer ✓
    1. I'm not sure what you mean by this. There are multiple parts in your example not one part. Do you want the surface of the material to be cut?
    2. Yes, but not within an assembly. You will need to use a part studio to do this. Or insert configured parts within the assembly manually. Or edit current parts In-Context, which would take forever.
    3. Yes, possible using some in-line equations within the pattern feature. But again, you will need to push this over to the part studio to handle the trimming and auto size measuring.

    If you HAVE to have the bom, then you can use the Assembly Imosters (App + feature) to tag your patterned parts within a part studio and properly replace them in an assembly so the bom counts them properly. Eventually, I hope that Onshape adds the assembly functionality to measure things as variables and also count duplicates via boundary box or custom tags, for now, this will have to do.

    Or, if you just need a cutlist within the part studio, you could use this: Measure Cut List

    .


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • marek_augustynmarek_augustyn Member Posts: 4

    Hi Michael, thank you for your answer! Sorry for not explaining clear enough, but I'm still trying to get my head around general concepts in Onshape 😅.

    1. By "one tile" I meant one part in Part Studio, so not the part itself is replicated but just instances in assembly (so I got 1 part in BOM)
    2. Got it
    3. Is there a way to get a measurement in assembly so I could calculate how many tile instances should be replicated? I know I can access measurements in Part Studio (as the plate length is dervied in my project from other factors), but I didn't found the way to access that derived measurement in Assembly.

    I'll check the functionalities you mentioned, sounds very interesting, thank you!

  • MichaelPascoeMichaelPascoe Member Posts: 2,762 PRO
    Answer ✓

    It sounds like you might not be doing using this every day for a production project. In that case, you can just pattern within the assembly like you did, then manually measure the off surface parts to see what size they need to be, then, change the size configuration of your patterned part and re-pattern those new sized parts along the edges.

    • Pattern like you did
    • Measure smaller parts
    • Change configuration of off surface parts (re-pattern newly inserted parts if necessary)

    You will need to make sure your patterned block has length and width configuration variables set up for it so you can insert it with any size you need.


    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
Sign In or Register to comment.