Conserving Onshape Document Size

A useful feature of Onshape is revision history, allowing you to inspect or restore any previous state of your design. Reasonably enough, complex revision histories can easily inflate the storage size of your documents – especially if, like me, you learn by making a lot of trial and error modifications to your work-in-progress parts. Although I think the free plan is generous, it does have limits, so document size can become a concern.

onshape-document-size-disparity

For example, here are the sizes of two designs of similar complexity. One is a buckle and the other is a fan plate. The latter is only slightly more intricate than the first (and very simple indeed by professional CAD standards), yet it weighs in at 75 megabytes compared to only 208 kilobytes. That’s useful data for a product or project where the provenance of each change is important, but in this case I know the revision history is mostly junk because it contains hours of doodling before I figured out how to achieve the final design.

So what can do if you want to reduce a document’s size and you know you don’t need all the dust swept under the revision history rug? Barring any overlooked or unimplemented history management features, you can copy a fresh instance of a part studio into a new document. It turns out that doing so discards the revision history and can thus greatly reduce document size. (The feature list steps actually used to create the part are, of course, retained.)

1-copytab

First, right-click the part studio tab in question and select Copy to clipboard. (This is some sort of “cloud” clipboard, not your system clipboard.)

2-pastetab

Next, create a new document. Click the new tab button and select Paste Tab. Now you’ve got the same part you started with, minus embarassing memories of mistakes made during its initial design.

3-comparison

Size comparison: the fresh copy of that 75 megabyte design is only 1 megabyte.

Posted on Sunday, September 6th, 2015. Tags: .