Description
A filter used by ventilators for filtering out dust and moisture particles. Original part consists of two pieces melted together, and filtering membrane inside. The membrane is just a piece of cloth and fibre, it does not have any complex structures HEPA-filters and such.
Accurate part dimensions are captured in Inline_filter_VB-65mm.STEP file
Current development is happening in https://github.com/jcl5m1/ventilator/tree/cpap-ventilator branch
Reference photos:

3D Model
Requirements
- Part should be completely sealable (possibly with the help of superglue of medical silicone)
- Part should contain special filter inside
Solution #1
The 3D-printed part that consists of 2 pieces. Parts have very small tolerances and are connected using mechanical lock to make it re-usable. Requires additional sealant for complete air-tightness.

Recommended print settings
- Infill rate: 70% or higher
- Lower part to be printed from inlet upwards. Recommended to use 3mm brim for stability
- Because of steep angles use higher print temperature to improve filament adhesion
Solution #2
Monolithic part that has filter inserted during print process. Does not require extra sealant. Not reusable.
Requires editing the generated G-code to insert "Pause printing" instruction at the beginning of arbitrary layer between position Z46 and Z47
Possible G-code instructions are "M0", "M1" or "M600" - please consult your firmware documentation for exact code