Material removal in an assembly from the function of a component

Hello

In the following context:

  • An assembly of a " window " part, a " wall " room and a " partition " room,

Would it be possible to have a removal function in the " window " part that, once added to the assembly and positioned, removes material from all the components that intersect this function?

The idea is to automatically create the opening in the wall, the partition, etc. as the window moves.

In short, a removal integrated into one component that can affect the other components.

We have to look at the smart components:

6 Likes

Hi @Sylk

The following topic should be able to help you in your research?
Material Removal by Intersecting with Another Part - SolidWorks - 3D Design / Volume Modeling - myCAD Forum

1 Like

Hello @Sylk,
Once again, why not a macro...
Illustration in the video below.

Macro and summary example (SW 2022) in the attached zip, with some comments in the code. And always a minimum of safeguards. :rofl:

CutWindow.zip (890.2 KB)

Kind regards

2 Likes

That's exactly what I want, thank you @sbadenis !
It's a shame that you have to create a second asm when you just need to add functions to the smart component but it's still the closest to what I need.

Thank you also @coin37coin and @m.blt for your techniques and this macro :+1:

1 Like