# CAD One Step 0.2.0 CAD One Step lets you bring CAD models, such as STEP files and SolidWorks parts, into Modo. It turns the models into clean, easy-to-edit meshes made mostly of four-sided shapes. It is free, and it works without an internet connection. You do not need to buy any extra CAD software. **Downloads:** [Modo kit (.lpk)](https://github.com/samsamthecodeman/modo-cad-one-step/releases/latest/download/CADOneStep-0.2.0.lpk) | [Portable ZIP](https://github.com/samsamthecodeman/modo-cad-one-step/releases/latest/download/CADOneStep-0.2.0.zip) | [Source ZIP](https://github.com/samsamthecodeman/modo-cad-one-step/releases/latest/download/CADOneStep-0.2.0-source.zip) ## Contents - [Requirements](#requirements) - [Install](#install) - [Import a CAD file](#import-a-cad-file) - [Import settings](#import-settings) - [Output](#output) - [Mesh cleanup](#mesh-cleanup) - [Errors and rollback](#errors-and-rollback) - [SolidWorks limitations](#solidworks-limitations) - [Conversion limits](#conversion-limits) - [Verification](#verification) - [Build from source](#build-from-source) ## Requirements - Windows x64 - Modo 17.1 - About 270 MB of disk space You do not need any of these: - Modo 801 - A Python installation - A paid CAD plug-in - A subscription - Cloud conversion The kit includes an Open CASCADE/Gmsh engine and an experimental open-source SolidWorks reader. ## Supported file types | Extension | Format | Status | | --------- | ------ | ------ | | `.step`, `.stp` | STEP | Supported | | `.sldprt` | SolidWorks part | Experimental | | `.sldasm` | SolidWorks assembly | Experimental | > **Note:** SolidWorks support is experimental. It does not replace a commercial CAD translator. > The tool rejects unsupported or incomplete geometry. > The mesh layout is different from the tessellation of the Modo 801 importer. ## Install ### Option A: Install the .lpk file (recommended) 1. Download `CADOneStep-0.2.0.lpk`. 2. Drag the file onto the Modo window. 3. Restart Modo when Modo asks you to. ### Option B: Install manually from the ZIP file 1. Download `CADOneStep-0.2.0.zip`. 2. Extract the ZIP file. 3. Copy the complete `CADOneStep` folder into `%APPDATA%\Luxology\Kits`. Copy the `engine` folder with it. 4. Make sure this file exists: `%APPDATA%\Luxology\Kits\CADOneStep\index.cfg`. 5. Restart Modo. ## Import a CAD file 1. In the Modo command entry, run `cadOneStep.open`. 2. Click **Import CAD and Clean...**. 3. Select a `.step`, `.stp`, `.sldprt`, or `.sldasm` file. ### Use a keyboard shortcut (optional) 1. Open the Modo Input Editor. 2. Bind the command `cadOneStep.import` to a key. The command opens the file picker and does the complete workflow. You can also give a file name as an argument. This skips the file picker: ``` cadOneStep.import {C:/Models/part.step} ``` ## Import settings | Setting | Default | Range | Description | | ------- | ------- | ----- | ----------- | | **Mesh Density** | 24 | 6–100 | Controls mesh detail. Increase it for finer curved surfaces. Decrease it for smaller files. | | **Planar Faces as N-gons** | On | On/Off | Combines simple planar patches into n-gons. If you set it to Off, all output polygons are quads. | Planar patches that contain holes are always meshed. This keeps the holes. ## Output The tool creates one group. The group has the same name as the source file. The group contains one editable mesh item for each CAD body. The tool does these steps: 1. It meshes the CAD surfaces into quads. 2. It combines planar patches into n-gons (if **Planar Faces as N-gons** is on). 3. It cleans the meshes (see [Mesh cleanup](#mesh-cleanup)). The tool does not import procedural CAD source items. No CAD source items remain in the scene. ### Units, axes, and assemblies - The tool converts coordinates to meters. - The tool keeps the source axes and the placement of components. - An assembly becomes separate, positioned mesh bodies in one group. The tool bakes the transforms into the vertices. - The tool does **not** import materials, feature histories, or the original instance hierarchy. ## Mesh cleanup The cleanup removes: - Floating vertices - Polygons that have one or two points - Duplicate polygon vertices - Duplicate polygons that have matching tags The cleanup keeps: - Colinear boundary vertices - Separate shells - Polygon tags - Hidden or internal CAD geometry that is part of the CAD model The cleanup does not weld parts together. The cleanup does not change existing scene items. ## Errors and rollback The tool completes the conversion before it changes the scene. The conversion fails in these cases: - A known reconstruction error occurs. - An assembly component is missing. - A solid is not valid. - The meshing is not quad-based. - A solid is nonmanifold. - The polygon winding is not consistent. - The volume error is too large. If mesh creation or cleanup fails, the tool removes the new meshes (rollback). Other behavior: - You can undo the import in one step. - The tool does not save your scene. - The tool does not change the source CAD files. ## SolidWorks limitations The SolidWorks reader rebuilds the saved B-Rep data. It cannot rebuild the SolidWorks feature tree. - Complex blends and other unsupported geometry can fail. This is true even when a commercial importer can open the file. - The tool does not use a triangle or display-mesh fallback. - The reader is not validated against every SolidWorks version or model. ### Assembly requirements - Keep all referenced parts and subassemblies in the assembly folder or its subfolders. - The tool rejects an assembly in these cases: - A component is missing. - A component name is ambiguous. - The assembly has an embedded virtual component. - The assembly has a cyclic reference. - The requested configuration has no stored geometry. - The tool omits suppressed components. - The tool includes hidden components that are not suppressed. - The tool does not substitute fasteners of a different size. - The tool does not substitute alternate configurations. ## Conversion limits | Limit | Value | | ----- | ----- | | Time for each conversion | 5 minutes | | Vertices | 1,000,000 | | Polygons | 1,000,000 | If a model is larger than a limit, do one of these: - Decrease **Mesh Density**. - Split the assembly. ### Logs - If a conversion fails, the tool keeps the log at the temporary path shown in the error message. - If a conversion succeeds, the tool removes the temporary files. ## Verification Tests used the installed **Modo 17.1v1**. The tests ran in the native GUI and in the command-line host. The tests used the bundled Windows executable. | Sample | Meshes | Quads | N-gons | Triangles | | ------ | ------ | ----- | ------ | --------- | | Open CASCADE STEP screw | 1 | 6,276 | 4 | 0 | | SolidWorks cube with through-hole | 1 | 1,384 | 4 | 0 | | SolidWorks relay assembly | 5 | 96 | 49 | 0 | | SolidWorks torus (engine test) | 1 | 3,225 | 0 | 0 | The counts use a mesh density of 16. The tests checked these items: - Solid closure - Outward winding - Mesh volume within 5% of the CAD volume - Preserved holes - Unchanged existing geometry - Removal of a duplicate polygon and a floating vertex - Rollback after a cleanup failure - One-step undo - Simulated cancellation during conversion and during mesh creation The tool correctly rejected a difficult blended part and an assembly with missing components. A separate GUI process ran the native panel and a full STEP import successfully. > **Not verified:** No one has manually clicked the GUI **Cancel** button. The tests simulated cancellation through the same control path. ### Run the verification scripts | Command | Purpose | | ------- | ------- | | `python verification/verify.py` | Cleanup checks | | `python verification/verify_oss.py --frozen` | Bundled engine checks | | `python verification/verify_native_oss.py` | Modo integration checks | | `python verification/fetch_samples.py` | Download and verify the pinned public test samples | The install package does not include the test CAD samples. Run `fetch_samples.py` first. Reports are in these folders: - `verification/oss-frozen-results` - `verification/native-oss` ## Build from source The kit includes `SOURCE.zip` and the license notices. `CADOneStep-0.2.0-source.zip` contains the application source, the vendored reader source, and the build scripts. For dependency versions, licenses, and source links, see [THIRD_PARTY.md](THIRD_PARTY.md). **Requirements:** Windows x64 and Python 3.13.4. 1. Run `python build.py`. The first build downloads the pinned dependencies. The finished application runs offline. 2. If you change the worker source, rebuild the engine before you package the kit. The build process does not install the kit into your Modo configuration. ## License AGPL-3.0. See [LICENSE](LICENSE).