Patterning boss with sketch driven pattern fills in hole

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
User avatar
CarrieIves
Posts: 176
Joined: Fri Mar 19, 2021 11:19 am
Answers: 2
Location: Richardson, TX
x 407
x 153

Patterning boss with sketch driven pattern fills in hole

Unread post by CarrieIves »

I am starting a housing model and trying to set it up for easy changes. Currently, the top and bottom housing are both in this one multi-body part.

I have a sketch that contains points that locates where my mounting bosses and holes will need to be.
image.png
I would like to use that sketch to drive a pattern. I want to pattern the boss, draft, and library feature. My pattern didn't want to do that so I thought I would try patterning the boss and then the hole.
image.png
When I pattern the boss, it fills in my hole.
image.png
Any ideas what I am doing wrong?

The part is intended to have references back to my skeleton in my assembly, but I didn't want to share that information so redefined everything to not have external references, but the sketches may seem a bit odd because of that.

This is a SolidWorks 2020 model.
Attachments
HOUSING-forum.zip
(345 KiB) Downloaded 153 times
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by mattpeneguy »

Haven't done it yet, but what if you don't merge the standoff extrusion and then pattern the body, then use a combine?
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by mattpeneguy »

Yeah, it appears to work as a body. I can't explain why the hole fills in when you select the features. @matt, do you have any ideas on this?
User avatar
matt
Posts: 1594
Joined: Mon Mar 08, 2021 11:34 am
Answers: 19
Location: Virginia
x 1225
x 2391
Contact:

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by matt »

1) remove the sketch point from the original instance. points are only for additional instances. The sketch point on the original instance is allowing the patterned post to fill in the hole.

2) Use a real mounting boss feature. It will simplify everything

3) make 1/4 of the entire housing, and mirror/pattern the body
User avatar
CarrieIves
Posts: 176
Joined: Fri Mar 19, 2021 11:19 am
Answers: 2
Location: Richardson, TX
x 407
x 153

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by CarrieIves »

mattpeneguy wrote: Fri Jul 30, 2021 12:50 pm Haven't done it yet, but what if you don't merge the standoff extrusion and then pattern the body, then use a combine?
There is something about how the sketch pattern is being created. It's basically creating an additional 4 instances. "Draft-screw-hole1" is the original body. You can see how there are 4 more Sketch-pattaern6 bodies.
image.png
image.png (7.16 KiB) Viewed 2271 times
I have been reluctant to use patterns in SolidWorks because I don't get the results I expect.
User avatar
CarrieIves
Posts: 176
Joined: Fri Mar 19, 2021 11:19 am
Answers: 2
Location: Richardson, TX
x 407
x 153

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by CarrieIves »

matt wrote: Fri Jul 30, 2021 1:00 pm 1) remove the sketch point from the original instance. points are only for additional instances. The sketch point on the original instance is allowing the patterned post to fill in the hole.
So, I have to have two sketches then? One for the first location and one for additional locations? I'm trying to set something up that we can reuse to start projects.
matt wrote: Fri Jul 30, 2021 1:00 pm 2) Use a real mounting boss feature. It will simplify everything
I've had poor results in the past actually getting what I want trying to use the boss feature. I'm not sure I want to do that.
<edit> I have a plane that locates the top of the boss. I can make an extrusion from that plane with no problem. Controlling the "Mounting Boss" feature with that plane isn't straightforward as far as I can see.

matt wrote: Fri Jul 30, 2021 1:00 pm 3) make 1/4 of the entire housing, and mirror/pattern the body
The hole pattern isn't symmetric. In the future, the housing is likely not to be a simple rectangle either.
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by mattpeneguy »

Just to reiterate what @matt pointed out, when I patterned bodies I ended up with 5 because your sketch has 4 points. So the original instance overlaps:
image.png
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by mattpeneguy »

CarrieIves wrote: Fri Jul 30, 2021 1:01 pm There is something about how the sketch pattern is being created. It's basically creating an additional 4 instances. "Draft-screw-hole1" is the original body. You can see how there are 4 more Sketch-pattaern6 bodies.
image.png

I have been reluctant to use patterns in SolidWorks because I don't get the results I expect.
This is expected behavior. If you are patterning bodies it will create a new body for each sketch point. There's the original, and 4 more, 1 for each sketch point. So if you delete the sketch point at the original instance, you'll have the correct number. Then you need to use a Combine or Intersect feature to knit it all back together.
See attached part.
Attachments
HOUSING-forum.SLDPRT
(513.25 KiB) Downloaded 211 times
User avatar
matt
Posts: 1594
Joined: Mon Mar 08, 2021 11:34 am
Answers: 19
Location: Virginia
x 1225
x 2391
Contact:

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by matt »

CarrieIves wrote: Fri Jul 30, 2021 1:06 pm So, I have to have two sketches then? One for the first location and one for additional locations? I'm trying to set something up that we can reuse to start projects.
No, you have the circle sketch for the boss, and then a sketch with centerpoints of the 3 additional patterned features you want to create.

I've had poor results in the past actually getting what I want trying to use the boss feature. I'm not sure I want to do that.
<edit> I have a plane that locates the top of the boss. I can make an extrusion from that plane with no problem. Controlling the "Mounting Boss" feature with that plane isn't straightforward as far as I can see.
You don't need a plane. Just a dimension. It's pretty straight forward, and it makes the draft and the hole all in one feature.

The hole pattern isn't symmetric. In the future, the housing is likely not to be a simple rectangle either.
User avatar
CarrieIves
Posts: 176
Joined: Fri Mar 19, 2021 11:19 am
Answers: 2
Location: Richardson, TX
x 407
x 153

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by CarrieIves »

matt wrote: Fri Jul 30, 2021 2:10 pm No, you have the circle sketch for the boss, and then a sketch with centerpoints of the 3 additional patterned features you want to create.
Except, I am setting up the real part to be tied back to a skeleton in my assembly. So, the sketch that contains the points also contains the location of the first boss. It appears that changing that point to a circle, will solve the problem. I will consider this. (I still don't like patterns in SolidWorks. They seem to be trouble makers more often than helpers.)
matt wrote: Fri Jul 30, 2021 2:10 pm You don't need a plane. Just a dimension. It's pretty straight forward, and it makes the draft and the hole all in one feature.
I may take a look at this feature again, but not being able to control it's height with a plane is frustrating. I want the plane to control the mounting surface. It isn't defined from the bottom of the enclosure. I am defining it from the default planes. I am doing this because the planes are stable. The shell providing the inside surface may be stable, but there are good odds that something will change enough to cause problems here. Also, it isn't unlikely for the mounting features to not come off a flat surface. Here's the inside of the last enclosure I designed.
image.png
As I mentioned, I am trying to set up something that we can start from for future projects. We usually make an enclosure with a PCBA in it. There is not much similarity between designs beyond that. I am also trying to set it up so that when the design solidifies, it is easy to remove the external references. Once things are set in tool steel or the gerbers for a board, I don't want a change to be overlooked because it automatically propagated.
User avatar
matt
Posts: 1594
Joined: Mon Mar 08, 2021 11:34 am
Answers: 19
Location: Virginia
x 1225
x 2391
Contact:

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by matt »

CarrieIves wrote: Fri Jul 30, 2021 2:49 pm I may take a look at this feature again, but not being able to control it's height with a plane is frustrating. I want the plane to control the mounting surface. It isn't defined from the bottom of the enclosure. I am defining it from the default planes. I am doing this because the planes are stable. The shell providing the inside surface may be stable, but there are good odds that something will change enough to cause problems here. Also, it isn't unlikely for the mounting features to not come off a flat surface. Here's the inside of the last enclosure I designed.
image.png
I think you may be selling this functionality short. It doesn't have to have a flat base, just something to use as an axis direction. If the main face of the part is not stable, you've got problems that a stable boss isn't going to fix.
User avatar
CarrieIves
Posts: 176
Joined: Fri Mar 19, 2021 11:19 am
Answers: 2
Location: Richardson, TX
x 407
x 153

Re: Patterning boss with sketch driven pattern fills in hole

Unread post by CarrieIves »

matt wrote: Fri Jul 30, 2021 2:59 pm I think you may be selling this functionality short. It doesn't have to have a flat base, just something to use as an axis direction.
I made a surface on my plane and was able to have the mounting boss feature use that surface for the height. So it may be possible to use this, but I am not sure if it will work for the requirements I have. This is definitely backwards from the way I had set the extruded boss up. The extrusion starts from the plane where the PCB will mount and then extends to the body of the housing.

For anyone reading this later that isn't familiar with the mounting boss behavior, while the location of a mounting boss feature is controlled with a point in the 3d sketch, it does not behave the same way a hole wizard sketch would. Adding points to the 3D sketch, doesn't add additional copies of the feature.

matt wrote: Fri Jul 30, 2021 2:59 pm If the main face of the part is not stable, you've got problems that a stable boss isn't going to fix.
As I said, I am trying to make a generic model that can be copied and modified and still keep some functionality as a starting point. I am starting with a rectangular box, but more then likely for future projects, the main shape will be quite different than just a plain rectangular box. That's part of the reason for the plane controlling the board mounting surface.
Post Reply