Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Suggestions on branching best practices
julian_leland
Member, OS Professional, Mentor Posts: 59 PRO
Hi all,
I'm looking for suggestions on best practices for using branching, as it's the first time I'm really getting familiar with it. Right now, I'm trying to reduce weight in a design: my workflow is to pare back a feature (say, thinning a webbing), save out a SolidWorks file, and run FEA to analyze the impact of modifying that feature on the weight and stiffness of the part. What I'd like to do is:
I'm looking for suggestions on best practices for using branching, as it's the first time I'm really getting familiar with it. Right now, I'm trying to reduce weight in a design: my workflow is to pare back a feature (say, thinning a webbing), save out a SolidWorks file, and run FEA to analyze the impact of modifying that feature on the weight and stiffness of the part. What I'd like to do is:
- Have a "master part"
- Have individual versions branched from that master part, each of which represents a different modification (one adds speed holes, one thins webbings, etc.)
- Eventually, go back to my master part and incorporate some of those features.
0
Comments
First is to save a version of my base part on the main branch, then create branches for additional features that I want to add to them. I try to make my branches precise and clean so that when they merge back in there are no issues. If I am working in a team, then I tend to make a branch for each person and let them work on their parts separately and let them merge it back into the main workspace, so it's not feature based.
The second is to save a version after making my layout sketch, then branching off that to configurations of my layout sketch that I want. Then I do all my work on the main workspace and merge it into my different layout branches. This allows me to get different sizes/shapes of the part I am working on by only doing work in one place.
Twitter: @onshapetricks & @babart1977
Just to clarify - are you saying you have each team member working in their own Part Studio, or everyone in the same studio?
I think which part studios parts reside should be dependent on the design and the design intent, less about the individual or number of individuals involved.
An example, we had an internal challenge to do a jewelry box that we needed to display in two sets of dimensions. We designed the boundaries, saved a version, and made a branch for each dimension. While I updated the boundaries to be correct for each branch, my coworkers made their own branch and started working on their respective part (lid, hinges, little separator in the box, etc.). When they were done, they merged their work back into our master branch and we did some final touches (including the assembly). Then we merged these changes back to the dimension branches which had all of our work, our assembly, and the correct sizes post-merge. In this case we did it all in a single part studio.
Whether it is separate part studios or not, another huge benefit of having individuals work on separate branches is to keep the change history clean. If a coworker and I are working in the same workspace at the same time, the change history is a mix of both our work. If I make a big mistake (happens frequently with me) and I need to restore to a previous point, I've essentially undone the work of my coworker as well. Using branches keeps the change history separate and allows me to restore just my changes.
I do not, sorry. By nature of being QA, the majority of my time using Onshape is on development builds. If you would like, I can potentially spend a couple hours this weekend that'll outline what I have done in the past.
Twitter: @onshapetricks & @babart1977
I can't give any timeline on when new features like configurations are going in.