<p>I have a question about Slic3r software.</p>

<p>I would like to subtract two parts. For example, I have an STL model, when I right click on the part, I can select <strong>Settings...</strong>, and in the <strong>Settings</strong> window, I can select modifier and I can select slab.with selecting proper thickness. Now we have two parts where one of them is inside of another. My problem is subtracting those two parts.</p>

<p>How can I subtract this part from another?</p>

Given my limited familiarity with all the CAD tools that exist, I would fall back to something that I know does binary operations on volumes -- openScad.
One can create two objects, one from each of the two STL files, and subtract one from the other.  One can also compute intersections, unions, and other operations.
There are probably other programs that also do this, but openScad allows for doing in programmatically, so that once you have it right, you can update the objects without needing to redo the finicky part of the operations.
slic3r may do this, but I haven't seen such features in my multi-year use of slic3r for slicing.
When in doubt, IMO it is better to script something.  It is virtually never that I do something only once, especially in 3D printing where rapid prototype leads to rapid change and improvement.