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.

Compare tool : how to not miss really small differences

Patxi_LZPatxi_LZ Member Posts: 9 EDU
Sometimes I have to repair in-context references and I want to make sure that the part is the same as before.
In order to do that, I use the compare tool with the previous version of the part.
I check if the blue or the red color appears, but sometimes the modification is really small, for example an error < 0.1 mm in a hole position or depth.
I am always concerned that I miss a difference.
Is there a way to know if there is a difference prior to looking for it ?
Is it possible to make them more visible ?
Tagged:

Comments

  • bradley_saulnbradley_sauln Moderator, Onshape Employees, Developers Posts: 373
    You could also try to use interference detection by putting both parts for the two different points in time in the same assembly.

    But the best way to approach this would be to use named positions along with your in-context design to make sure the parts you are focused on return to the same exact place. This will be useful for both un-mated and fully mated assemblies.
    Engineer | Adventurer | Tinkerer
    Twitter: @bradleysauln


  • MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,034 EDU
    @Patxi_LZ
    You can also look at the feature list, which will show comparisons with that.
    mb - draftsman - also FS author: View FeatureScripts
    IR for AS/NZS 1100
  • mahirmahir Member, Developers Posts: 1,291 ✭✭✭✭✭
    I'm not too familiar with the Compare tool. But an alternative is to perform a boolean subtract of one body from the other. If there are any differences, they will show up as a separate part in the parts list.
  • Patxi_LZPatxi_LZ Member Posts: 9 EDU
    edited September 2020
    @Patxi_LZ
    You can also look at the feature list, which will show comparisons with that.
    After my modifications, even if the parts are the same, the compare tool tells me that some elements of the feature list are different.

    mahir said:
    I'm not too familiar with the Compare tool. But an alternative is to perform a boolean subtract of one body from the other. If there are any differences, they will show up as a separate part in the parts list.
    I think I will do that. The process might take more time, but at least the result is clear.

    You could also try to use interference detection by putting both parts for the two different points in time in the same assembly.

    But the best way to approach this would be to use named positions along with your in-context design to make sure the parts you are focused on return to the same exact place. This will be useful for both un-mated and fully mated assemblies.
    I am not sure that I understood the solution. I put both parts in the same assembly, I fasten them to the origin in the same way and I check interferences ? I did not get how named positions can help me. Moreover, can I make the complementary of the interferences ?
  • dean_brettledean_brettle Member Posts: 10 EDU
    I recently created a custom Compare feature that you might find useful. It does the boolean subtract mentioned above, in both directions. In your case, you'd use it by creating a version before your changes and then using the compare feature to compare to that version. If there are differences, it will create composite part(s) containing them. I've added an example Part Studio demonstrating that.

  • romeograhamromeograham Member Posts: 656 PRO
    @dean_brettle That is a nice compare feature! However, I can't get it to allow me to select a Part Studio from an earlier Version (of the same document) like your example.
    In fact, when I select a Part from Main (the current Workspace) and then try to select an earlier version of that same part, the Part Studio is not even visible (all the other ones are).

    Do you see any issues in the code that might cause this? Again, it doesn't seem to be working like your example Part Studio you show above.

    thanks!
  • dean_brettledean_brettle Member Posts: 10 EDU
    Sorry. I realized after my post that you can't compare to an earlier version of the Part Studio containing the Compare feature. Instead, you need to create a new Part Studio just for the comparision. In that new Part Studio, add a Compare feature that compares part(s) from 2 versions (or a version and workspace) of the Part Studio in question. That's what mine example is actually doing. The Part Studio being referenced in that example is actually another Part Studio in the same doc.
  • albert_mostuvealbert_mostuve Member Posts: 1 EDU
    In this situation, a more rational solution may be to perform a logical subtraction of one body from another, because if there are any differences, they will be displayed as a separate part in the list of the same parts.
  • romeograhamromeograham Member Posts: 656 PRO
    Thanks @dean_brettle for the explanation. I agree that's what your example was doing...just didn't realize that's the only way to do it.
    I like the composite parts / colour scheme for identifying bits that are unique to either A or B.
    Thanks!
  • dean_brettledean_brettle Member Posts: 10 EDU
    In this situation, a more rational solution may be to perform a logical subtraction of one body from another, because if there are any differences, they will be displayed as a separate part in the list of the same parts.

    That is, in fact, what the custom Compare feature does. It actually does the subtraction in both directions.
Sign In or Register to comment.