Skip to main content

CadFileImportOptions

Parameters

CAD import preference values.

Import

import ScriptingApi as api

# Access the class
# CadFileImportOptions is available via api.CadFileImportOptions

Properties

preserve_original_step_geometry_including_any_non_manifold_features

Import the original STEP geometry including any non-manifold features.

Type: bool


fix_solid_parts

Fix inconsistencies in solid parts, such as gaps, overlaps, or missing faces.

Type: bool


linear_deflection

Maximum allowable distance between mesh vertices and the actual geometry surface.

Smaller values produce a finer mesh that follows the model more closely, while larger values produce a coarser mesh. Values stay in the valid range from 0.000001 to 99999.99.

Type: float


angular_deflection

Maximum allowable deviation, in radians, between the normals of adjacent mesh triangles.

Smaller values produce smoother curved regions, while larger values may create a more faceted appearance. Values stay in the valid range from 0.1 to 99999.99.

Type: float


auto_deflections

Automatically calculate the linear and angular deflections.

Type: bool


build_solid

Build solids from the file parts to maintain conformity between surface points.

Type: bool


intersect_parts

Intersect file parts when building solids.

Type: bool


discard_internal_parts

Discard internal solid parts when building solids.

Type: bool


See Also