Automation for cutting holes in mating bodies based on a sketch?
Posted: Sat Oct 26, 2024 8:36 pm
Hi, I am trying to do something that should be super simple, but I just can't figure it out.
I need to automate the creation of rectangular bi-directional holes on a multibody part that cut through both bodies in equal depth:
Number of holes and positions might change, but their size, depth and orientation is always the same.
Ideal workflow would be:
1. Create a sketch on one of the mating faces with points that represent the centers of the holes;
2. Create these holes on each point with as few clicks as possible.
Normally I would model this by creating one hole, then a point sketch, and a Sketch Driven Pattern. But that's a lot of clicks, and 2 sketches + 2 features for each body pair. I will need to do these cuts in a multibody part with 120 bodies, and around 100 pairs of mating faces, with 4-6 holes per pair... So yeah, quite a lot of work to do manually.
I thought I could create a Library Feature out of this, but apparently you can't add Sketch Driven Pattern to a Library feature.
Hole Wizard could also be ideal for this, but unfortunately it can only cut in one direction, so without an offset plane / second Hole Wizard feature it can't be done (I think).
Fill Pattern with Seed Feature also doesn't cut in multiple directions.
So I'm kind of out of ideas. Yes, this can be done with a macro, but it would still result in a lot of features to maintain. This seems so basic, so surely there must be some way to do this natively in SW? I feel like there must be a way to do this with a Library feature, but it just refuses to let me use the features that could do it. I know this is probably a silly question and I'm missing something super obvious, but I just can't figure it out
I need to automate the creation of rectangular bi-directional holes on a multibody part that cut through both bodies in equal depth:
Number of holes and positions might change, but their size, depth and orientation is always the same.
Ideal workflow would be:
1. Create a sketch on one of the mating faces with points that represent the centers of the holes;
2. Create these holes on each point with as few clicks as possible.
Normally I would model this by creating one hole, then a point sketch, and a Sketch Driven Pattern. But that's a lot of clicks, and 2 sketches + 2 features for each body pair. I will need to do these cuts in a multibody part with 120 bodies, and around 100 pairs of mating faces, with 4-6 holes per pair... So yeah, quite a lot of work to do manually.
I thought I could create a Library Feature out of this, but apparently you can't add Sketch Driven Pattern to a Library feature.
Hole Wizard could also be ideal for this, but unfortunately it can only cut in one direction, so without an offset plane / second Hole Wizard feature it can't be done (I think).
Fill Pattern with Seed Feature also doesn't cut in multiple directions.
So I'm kind of out of ideas. Yes, this can be done with a macro, but it would still result in a lot of features to maintain. This seems so basic, so surely there must be some way to do this natively in SW? I feel like there must be a way to do this with a Library feature, but it just refuses to let me use the features that could do it. I know this is probably a silly question and I'm missing something super obvious, but I just can't figure it out