> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Filter Point Map using CAD Faces

> AI context for Filter Point Map using CAD Faces. Not linked in navigation.

> This page is for AI assistant context only. To use this package, visit [community.ntop.com](https://community.ntop.com/packages/ntop/filter-point-map-using-cad-faces).

## Summary

This Custom Block filters out a point map by excluding the result of the points near CAD faces.

## Package Details

| Field            | Value                                                           |
| ---------------- | --------------------------------------------------------------- |
| **ID**           | `filter-point-map-using-cad-faces`                              |
| **Type**         | Block                                                           |
| **Author**       | nTop                                                            |
| **Version**      | 1.0.0                                                           |
| **nTop Version** | 5.44+                                                           |
| **Domain**       | Geometry                                                        |
| **Complexity**   | Beginner                                                        |
| **Tags**         | `filter`, `point-map`, `cad`, `faces`, `proximity`, `exclusion` |
| **License**      | MIT                                                             |
| **Verified**     | Yes                                                             |

***

This Custom Block filters out a point map by excluding the result of the points near CAD faces.

* Used to filter out stress concentrations that appear on boundaries, which are typically simulation artifacts rather than real structural hotspots.
* Uses the Keep Out Distance (`KO distance`) to define a buffer zone around the CAD faces — any points within this distance are excluded from the output point map.

## Installation

Clone this repo or copy the package folder into your nTop workspace:

```bash theme={null}
git clone https://github.com/nTopology/Utilities.git
```

The package lives at `packages/ntop/filter-point-map-using-cad-faces/`.

## Inputs

| Name          | Type              | Description                                                                                                                                                                                 |
| ------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Point map`   | Scalar Point Map  | Point Map                                                                                                                                                                                   |
| `CAD faces`   | list\<brep\_face> | CAD Faces                                                                                                                                                                                   |
| `KO distance` | Scalar            | Keep Out Distance - The distance around the CAD Faces                                                                                                                                       |
| `Region`      | Choice            | The region you want to filter — `Outside` keeps points with distance > KO distance, `Inside` keeps points with distance \< KO distance, `Boundary` keeps points with distance = KO distance |

## Outputs

| Name          | Type             | Description                                            |
| ------------- | ---------------- | ------------------------------------------------------ |
| `Filtered PM` | Scalar Point Map | The new point map using the filtered points and values |

## License

MIT.

***

## Source

[https://community.ntop.com/packages/ntop/filter-point-map-using-cad-faces](https://community.ntop.com/packages/ntop/filter-point-map-using-cad-faces)
