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.

Custom Feature: Multi Copy

joshtargo
joshtargo Member Posts: 695 EDU

I've got to think this has been done already, but I made one for me.

MultiCopy.fs

  • Select one or more bodies
  • Select from location (vertex or MC)
  • Select to locations (vertices or MCs)
  • Bodies are copied from FROM to TO ( First copy can be set as a move instead).
  • Orientation:
    • Auto
      • If vertex-vertex, orientation is retained.
      • If MC to MC, orientation matches new MC.
    • Match First
      • All copes retain orientation of first MC
    • Match Previous
      • Copies retain orientation of the most recently selected MC
image.png

Comments

  • S1mon
    S1mon Member Posts: 4,636 PRO

    Nice. I could see having a per-instance scale option (both uniform and non-uniform, centered on their individual locations), although I'm not sure what the right UX would be for that. Perhaps a bunch of manipulators with numeric fields in the dialog to dial in the values? It could also be nice to add Add/Subtract/Intersect options which would apply to all the new bodies and a Merge scope selection.

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • joshtargo
    joshtargo Member Posts: 695 EDU

    @S1mon that's a whole different angle than I was thinking. This started as a way to essentially "replicate" to Mate Connectors or sketch points in a part studio.

  • eric_pesty
    eric_pesty Member, pcbaevp Posts: 2,940 PRO

    This look very similar to the "Transform Pattern" FS no?

  • joshtargo
    joshtargo Member Posts: 695 EDU

    I didn't actually look, @eric_pesty, things are so easy to write now, I just whipped this up mid-model.

  • romeograham
    romeograham Member, csevp Posts: 783 PRO

    @eric_pesty the thing that Transform Pattern doesn't do is allow alignment with target Mate Connectors. That would be a very welcome addition - and one of the things I would add too.

  • eric_pesty
    eric_pesty Member, pcbaevp Posts: 2,940 PRO

    I think it might be the other way around: transform pattern doesn't allow "not aligning" with target MCs, so this has the option to work more like the point pattern FS where it keeps the original instance orientation.

  • romeograham
    romeograham Member, csevp Posts: 783 PRO

    What?? I must be confused. When I reach for the Transform Pattern (maybe it's the Point Pattern) I'm usually frustrated by the fact that the original orientation is maintained - when what I WANT is for each new instance to follow each individual target MC.

    I'll check my work and see what the heck I'm talking about!

  • MichaelPascoe
    MichaelPascoe Member Posts: 2,965 PRO
    edited November 5

    there are so many duplicates now, impossible to find features.

    too bad we dont have a feature store, and a capable ai that has access to the forums, featurescript, api, and the feature store to search for existing features lightning fast. 😴
    @onshape #wink #nudge


    RENDERCAD - Photorealistic product rendering.
    CADSharp - Professional CAD + software consulting.

    â–šâ–žâ–šâ–žâ–šâ–žâ–šâ–žâ–š
  • Derek_Van_Allen_BD
    Derek_Van_Allen_BD Member Posts: 1,165 PRO

    @MichaelPascoe I'm not saying that crawling through the forums and all publicly posted featurescripts and building a searchable tagged index of all of that data is on my bucket list of things to do with Onshape cause I think that's probably a good way to have someone sternly read a EULA or TOS to me and that sounds like it could be a boring time, but I am saying that the more time goes on without the feature store the more I hear the call of the void.

  • eric_pesty
    eric_pesty Member, pcbaevp Posts: 2,940 PRO


    Yeah, with vibe coding become so powerful, we are going to see an explosion in the number of Featurescript with tons of functionality overlap and it's going to be even harder to find the "good"/"best" ones, leading to even more custom options etc…

    I do wonder how this will affect the software landscape in general, we are going to see many more pieces of software with very similar but different functionality out there, how will we figure out which PDF editor to download when there's a thousand different options out there!