Editable CAD Code in Flux
Flux is an AI hardware engineer. It creates editable CAD code for mechanical parts so you and Flux can change their shape and dimensions.
Work with a part's CAD code
Ask Flux to change the part's CAD code.
Each part has CAD code that describes its geometry. You can ask Flux to change the part in natural language, or you can edit the code directly. The code gives you a place to set dimensions, model features, and relationships that define the part.
Select the part that you want to change.
Ask Flux to open or edit the part's CAD code.
Describe the geometry or parameter that must change.
Ask Flux to rebuild the part from the updated code.
Continue refining the part with a new requirement or a direct code edit.
When Flux rebuilds a part as code, it checks the rebuilt code against your file. Flux saves an edit as a new model asset. This keeps the original model available while you work with the changed version.
Use parameters to define a design
Ask Flux to make the important dimensions parameters.
Parameters give a part editable values for its dimensions. Use a parameter for a value you expect to change, such as wall thickness, hole spacing, overall length, or a clearance. A named parameter makes that value easier to find and update.
Identify the dimensions that control the part.
Ask Flux to make those dimensions parameters.
Give each parameter a clear name and unit.
Set the values for the part you need.
Ask Flux to rebuild the part with the new values.
For example, a bracket can use parameters for plate thickness, hole diameter, and hole spacing. A housing can use values for width, height, wall thickness, and corner radius. A board mount can use the spacing between its mounting holes. These values let you describe a family of related parts with a shared design structure.
Use meaningful values that relate to the product. If a board changes, you can update the mounting-hole spacing. If the product needs a stronger wall, you can change its thickness. If a part needs to fit another component, use that component's dimensions as the reference.
Edit code and rebuild a part
Ask Flux to edit the code and rebuild the part.
Use direct code edits when you want to change how the part is defined. Ask Flux to explain or change a feature in terms of its design purpose. You can also provide the exact parameter or geometry change.
Select the part and open its CAD code.
Find the parameter or feature that describes the design requirement.
Edit the value or ask Flux to update the code.
Rebuild the model.
Ask Flux to compare the rebuilt model with the source file.
You can edit a part's dimensions, add a mounting boss, change the spacing between holes, or adjust a profile. Keep the code focused on the design intent. Names such as wall_thickness or mount_spacing make an editable model easier to understand than a list of unnamed values.
When you ask Flux to make a change, state what must remain fixed. For example, ask for a taller housing while keeping the connector opening aligned with the board. This helps keep the part tied to the rest of the product.
Use editable parts in a product
Ask Flux to use editable parts in the assembly.
Editable CAD code works with mechanical parts and assemblies in your project. A part can be designed around a board, motor, display, bracket, or enclosure. Set parameters from the hardware and product requirements, then use the rebuilt part in the assembly.
Add the hardware that the part must fit.
Create or import the mechanical part.
Ask Flux to parameterize the dimensions that matter.
Edit the part and rebuild it as the design changes.
Export the model when you need to continue the work in another CAD tool.
Use STEP output to continue your part in your team's CAD tool. Keep the editable source with the project so Flux can help with later changes.