ECAD and MCAD Co-Design

Flux is an AI hardware engineer. It designs the electronics and mechanical parts of a device together in one project.

Design the board and product assembly together

Ask Flux to place the board and mechanical parts in one assembly.

Place this PCB, its components, the enclosure, battery, and display in one 3D assembly.
Design a handheld controller around the board and place its buttons and display.
Add the board and motor to this robot-arm assembly, then design the mounting bracket.
Show how the board, enclosure, and connectors fit together in the complete product.

Flux keeps the board and mechanical models in the same project and 3D assembly. It can design an enclosure, bracket, or complete product around the board and its components.

Design an enclosure from the board

Ask Flux to use the board geometry and components to design the enclosure.

Design an enclosure around this board. Align the supports to its mounting holes and add openings for the connectors.
Create a removable lid and leave space for the USB-C cable and display.
Use the board outline and component heights to shape the enclosure walls and internal supports.
Make a compact enclosure with access to the board's connectors and mounting points.

Include the board outline, mounting holes, connector locations, and required openings in the project. Ask Flux to place supports at the mounting holes and leave space for cables, connectors, displays, and other components.

Open Chat and describe the enclosure, how the board sits in it, and which features need access.

Check fit, clearance, and tool access

Ask Flux to check clearances and update the parts that interfere.

Check the board and enclosure for interference, then update the supports and lid clearance.
Check the connector openings and leave 8 mm of space for each cable.
Check that a screwdriver can reach every enclosure fastener.
Analyze the tolerance stack-up from the board mounting holes to the enclosure opening.

Flux checks board and enclosure fit, part interference, and access for tools. It can analyze the tolerance stack-up between the board, standoffs, and enclosure, then propose design or tolerance changes.

See Fit and Clearance for board fit, movement checks, and tolerance-stack-up analysis.

Import CAD and component models

Ask Flux to add the mechanical models and board references to the project.

Import the attached native CAD assembly and add its parts to this project.
Create a 3D package model for this component from its datasheet and attach it to the footprint.
Use the vendor STEP model for this connector footprint.
Create the board outline from the attached DXF and place the enclosure model around it.

Flux can import native CAD parts and assemblies, create component package models from datasheets, and attach vendor STEP models to footprints. It can also create board outlines from DXF or SVG files.

To import a native CAD part or assembly, select Flux menu → Import → 3D Part or Assembly…. To add a file as a project asset, open Assets in the Inspector and select Manage Assets. See Import and Edit CAD Files.

Check a folded flex board in the assembly

Ask Flux to fold the board and check it inside the product assembly.

Fold the board at the hinge line to 90 degrees and add it to the enclosure assembly.
Check the folded board for fit and clearance around the enclosure and battery.
Update the bend and twist settings, then show the board folded in 3D.
Export the folded rigid-flex board as STEP for mechanical design.

The 3D view shows the board folded and twisted at each Flex Joint. Each area uses its own stackup, and the 3D downloads show the folded board. Add the board to the enclosure assembly to check its fit.

See Flex and Rigid-Flex Boards for fold settings and checks.

Update the enclosure when the board changes

Ask Flux to update the enclosure to match the latest board.

Move the USB-C connector on the board and update the enclosure opening to match.
Move the mounting holes and update the enclosure supports to the new positions.
Update the lid clearance for the taller component on the board.
Keep the current enclosure shape and change only the board openings affected by this revision.

Flux can update the enclosure when the board outline, mounting holes, components, or connector positions change. Name the board change and the enclosure features that must follow it.

Update the board when the enclosure changes

Ask Flux to adjust the board and its components to fit a changed enclosure.

Update the board outline to fit the new enclosure dimensions.
Move the connector to align with the updated side opening.
Adjust component placement to keep clearance from the new enclosure wall.
Check the updated board and enclosure together and resolve any interference.

Flux can update the board when the enclosure dimensions, openings, or supports change. Ask it to check both models together after the update.

Export the board or full assembly

Ask Flux to export the model for the next mechanical design step.

Export the board and its component models as STEP for the enclosure design.
Export the full assembly with the board, enclosure, battery, and display as STEP.
Export the folded rigid-flex board as STEP for my mechanical CAD tool.
Prepare a STEP export of this product so I can continue the assembly in my CAD tool.

Select Flux menu → Export → Mechanical → PCB 3D model to export the board and its component models. Select Flux menu → Export → Mechanical → Full 3D assembly to export the board and all mechanical parts in one file. Choose STEP under Solid models.

Open the STEP file in your CAD tool to continue the design. See Mechanical Drawings and Exports for model and assembly formats.

Use mechanical dimensions in firmware

Ask Flux to make mechanical dimensions available as firmware constants.

Use the 120 mm wheelbase as a firmware constant and apply it to the motor-control code.
Add the enclosure's 42 mm button spacing as a named firmware constant.
Use the arm length from the mechanical assembly as a firmware constant for the motion calculations.
Update the firmware constants when the mounting spacing changes in the mechanical design.

Flux can carry mechanical values such as wheelbase, arm length, and mounting spacing into firmware constants. Ask it to update the constants when the mechanical dimensions change.

See Firmware to design and update the firmware in the project.