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.
Why do some connected extrusions become separate parts?
kevin_white
Member, csevp Posts: 13 EDU
in General
I am using OnShape with my students for a new project. I tested out a way to design this with multiple parts, but I am not sure how or why my version separated all the extrusions into separate parts, all derived from one sketch, yet every time we try to do the exact same thing, they all combine into one part (which is what normally happens)?
I have 2 examples here, the first link is to a part where the extrusions all came out as their own parts, the second one, they all combine as Part 1? In many cases, I see this happen with certain student projects, where they end up with a lot of parts, we are a bit mystified. How why does OnShape decide to make some parts separate and combine others?
I ask, because I use OneRender a lot, and we benefit from having many parts, it gives us more options for the render selection points, textures and aesthetic.
From what I can see, these are both using the exact same method:
Version with Multiple Parts
https://cad.onshape.com/documents/7460dce49b2b71ed1800c182/w/9e2953471336d589b15ef6eb/e/8990d2a4958d3a5f0443ac2c
Version with Part 1 Only
https://cad.onshape.com/documents/7dbf0472258323fb7828b9b2/w/f8449d7f48e4bfacb00a5be2/e/ebde8bce62bbd0fa095ed262
I have 2 examples here, the first link is to a part where the extrusions all came out as their own parts, the second one, they all combine as Part 1? In many cases, I see this happen with certain student projects, where they end up with a lot of parts, we are a bit mystified. How why does OnShape decide to make some parts separate and combine others?
I ask, because I use OneRender a lot, and we benefit from having many parts, it gives us more options for the render selection points, textures and aesthetic.
From what I can see, these are both using the exact same method:
Version with Multiple Parts
https://cad.onshape.com/documents/7460dce49b2b71ed1800c182/w/9e2953471336d589b15ef6eb/e/8990d2a4958d3a5f0443ac2c
Version with Part 1 Only
https://cad.onshape.com/documents/7dbf0472258323fb7828b9b2/w/f8449d7f48e4bfacb00a5be2/e/ebde8bce62bbd0fa095ed262
0
Best Answer
-
terry_pipkin
Member Posts: 48 PRO
Not sure but are all of the Extrudes set to Add or New in both models?5
Answers
https://cad.onshape.com/documents/5eaf454f32770df79e7238de/w/34bfa79b6e15332380e4dfb1/e/0ab707085466cbb806354bc1
The errant feature is Part 5, which I'd intended to be part of "RH Gear Chart". Note that the last feature, a Boolean Union also fails to work but doesn't turn error out in red.
Your Part 5 was created tangent to "RH Gear Chart" - so there is no intersection, only a single point touch. An Add or Boolean Union results in two parts. (btw basically the same thing, Add is on creation, Boolean Union is after the fact). You need to have at least faces touching to Add or Boolean Union. As to not throwing an error on your Boolean, Onshape is somewhat unique in it allows Union to create multiple parts.
Also, what's the point of a Boolean Union of two parts returning the same two parts? Shouldn't that also thrown an error and a red label on the Boolean feature?
It just seems weird to find these two issues in one simple project when OS is usually so solid and logical to use.
OS methodology differs a little from other CAD. Case in point, if you delete a parent feature in OS, child features are not automatically deleted (like in SW). OS leaves them there for you to fix. I personally appreciate this a lot. For that same reason, a union that doesn't break when not actually joining any parts may seem silly, but it also allows flexibility when parts can move relative to each other or the number of parts is variable. For example, let's say I have a union of 10 parts that results in 2 parts. Now let's say that depending on the configuration, the number of parts can vary from 2 to 10. That boolean union can function as is without any modification regardless of whether there are 2, 5, or 10 parts. Granted, when there are only 2 parts it's a redundant feature, but it's nice not having to worry about suppressing that feature but only when there are less than 3 parts. I know the example is vague, but I hope it makes sense.
Once you commit the feature, however, it quiets down and let's the operation succeeds:
This is for exactly the reason @mahir proposes. The user may make some upstream change that makes these bodies touch, and then the boolean will succeed. Then if the user moves the parts apart again, we don't want to fail the entire extrusion just because the boolean is no longer making any change.
Non-intersecting boolean union has a similar popup.
Sorry for the confusion. My screenshot was taken from our upcoming build, so that warning should be moving down to below the toolbar in our next release. It's size will depend on browser zoom level, but it's location shouldn't.
https://cad.onshape.com/documents/f565cf5ca0d7a3cb8615a141/w/5d1b5bf3e6c730280de8dafb/e/1191e5996241d6079f022097
Part 1 contains multiple items.
Any suggestions?
I came to this post because I was seeing the same problems with my students who are making bridges. Most were extruding their side trusses and seeing one part. A few students were seeing the side trusses show up as multiple parts, which made them a bit more likely to have problems later when adding to the assembly and accidentally moving one part, or needing to move the entire side truss.
My discovery is that some of the sketches have mistakes that don't show up easily to the naked eye. If you look at the sketches I included, there is almost no visible difference between the first and second one (aside from the fact that one set is from the front view and one from the back view…my screenshot oops). An extra line here or an extra line there. Maybe two lines drawn over the same exact spot. When this happens you don't really have an error or anything red, but you do see some tell-tell signs like a darker line in one spot. or maybe some constraints removed that really need to be there.
I figured it out by making a copy of the problematic sketch and deleting the first extrude and trying again. About 8-9 faces in, I saw the preview look multicolored so I unclicked the last face and tried others. I extruded ONLY the faces that did not result in the entire extrusion becoming multiple parts. When I looked closer at the sketch, I found little "minor" errors that would be easy to miss. It actually took me several minutes to fix all of the little mistakes that were present. The end result was only minor in changes overall, but it resulted in parts that could then be extruded as one part.
I guess I will look at my students' work a bit closer in the future to see if I can find their errors that are causing issues. I think that many times it is due to having extra lines underneath other lines or crossovers.
This seems like something where Frames would make a lot more sense.
Any time you're having to go through and manually pick a lot of things (e.g. faces of sketches), there's probably a much more efficient way to accomplish the same thing.
Simon Gatrall | Product Development Specialist | Open For Work
You can reduce the chances of this by 50% if you only design half of it and then mirror it final features/parts to create the whole.
I suspect best practices are not at the top of the list for students to learn. These types of projects are used for students to learn the software basics and from what I've seen the instructors teaching SW at a university are barely giving the kids enough to stumble through some of these projects. Features like frames or sheet metal or even when and how to mirror techniques are not making it to the top of the list to teach. Might be due to lack of time or also lack of background.
Also a good example of why breaking down one complicated sketch into multiple simpler ones makes your life easier…
Extrude the outer frame first, then add trusses and braces using linear feature patterns.