Skip to main content
πŸ’» Importing Content CAD to Spline: Optimization Best Practices

CAD to Spline: Optimization Best Practices

This guide outlines best practices for converting CAD models from tools such as SolidWorks, Fusion 360, Solid Edge, Rhino, and others into optimized 3D assets suitable for real-time, web-based experiences. These guidelines help ensure efficient performance for product showcases, interactive demos, configurators, and more.

For general tips on optimizing scenes in Spline, check out the How to optimize your scene guide.

🧱 1. Prepare and Simplify Your CAD Model

Clean Up Geometry

In your CAD software:

  • Remove unnecessary details that won't be visible in the final 3D scene (e.g., internal parts, small screws, fine fillets).

  • Hide or delete hidden components to avoid exporting redundant geometry.

  • Consolidate geometry where possible:

    • Merge similar or repeated parts into a single object.

    • Standardize materials and colors β€” identical objects should use the same material definition.


πŸ“€ 2. Export from CAD as Mesh

General Export Strategy

  1. Convert NURBS/solids to mesh:

    • Most CAD programs offer a way to convert solids into mesh geometry (polygonal).

    • Look for settings like Mesh Refinement, Deviation, or Chord Tolerance.

  2. Adjust tessellation settings:

    • Use fewer polygons when the visual fidelity doesn't suffer.

    • Tune parameters like:

      • Distance Deviation / Chord Height: Higher values β†’ lower polygon count.

      • Angle Deviation / Normal Tolerance: Controls detail in curved surfaces.

  3. Choose the Right Export Format

    • Recommended formats: .GLB, .STL, .OBJ, or .FBX.

    • Ensure correct units (e.g., mm vs. cm) and normal orientation during export.

    • Geometry merging options:

      • If your model uses a single material, merging all parts into one mesh can improve performance.

      • For complex models or when maintaining object-level control is important, export as separate objectsβ€” Spline allows merging later.


πŸ› οΈ πŸ€– 3. Optimize for Spline

Mesh Optimization

  • Ensure clean topology:

    • Avoid n-gons, intersecting geometry, and non-manifold edges.

    • Merge elements that use the same material.

  • Keep object count and polygon count low:

    • Target: 50k–150k polygons max.

    • Fewer objects generally means better real-time performance.

Other Tips

  • Use descriptive object names (base_plate, screw_cap) to aid scene organization.

  • Limit the number of materials and textures β€” reuse materials wherever possible.


πŸ§ͺ 4. Import into Spline

  1. Drag and drop your exported .obj, .glb, .stl, or .fbx file into the Spline canvas.

  2. Add up to two directional lights for efficient real-time shadows.

  3. For complex models:

    • Use 20 materials or fewer.

    • Compress large image textures and avoid using too many.

  4. Leverage Spline’s interactive tools to add animation, hover effects, or interactivity.

  5. Use the Performance Panel and Play Settings on Export to:

    • Enable mesh and texture compression.

    • Adjust scene settings for real-time performance.

πŸ”— Read more in the optimization guide