DesignmatixDX-CAD

Questions and answers

What DX-CAD does and what it does not do, in plain words. Each answer is taken from the public documentation, and its link goes to the page that says more.

What DX-CAD does

What is the window, and how do I open it?

dxcad gui opens the viewer: an OpenCASCADE scene on the left, the model.py in a pane on the right, and the output of the last run under it.

More: The window

Does DX-CAD need a display?

The window is the one part of DX-CAD™ that needs a display. Every other command runs on a machine with none.

More: The window

Can I have several documents open at once?

Several documents can be open at once, one tab each. Each tab has its own parts, model pane, undo history and file name, and the Parts and History docks, the title bar and the actions follow the tab in front.

More: Tabs

Where does the model live in the window?

The pane on the right is the model.py, and it is the document's source of truth: the shapes in the scene are what the last run of that text built. Typing in it changes nothing until the model is run.

More: The model pane

Is it safe to open a project someone sent me?

A part or assembly file is something people are sent, and the model inside one is a program. So a project opened from a file is asked about before its model is run for the first time, by Run, by F5 or by Run on Change: the question says that a model is Python and runs with your own permissions, and names the project.

More: The model a project carries

Can I ask the Assistant to build or change a part?

The Assistant dock, along the bottom of the view: type a request and the steps taken to build or change the document show in the chat, each one written into the model and one Undo.

More: The Assistant

How do I get help while I work?

Help > User Guide opens this guide in a window of DX-CAD's own, at its first page.

More: The help window

Where do I find the keyboard shortcuts?

Help > Keyboard Shortcuts: every action that has a shortcut, by menu, action and keys, read from the window's own actions.

More: The Keyboard Shortcuts box

What DX-CAD does not do

What does DX-CAD build its solids with?

DX-CAD™ builds every solid with OpenCASCADE (OCCT), the geometry kernel underneath it; its release notes are at github.com/Open-Cascade-SAS/OCCT/releases.

More: Known limitations

Why is a large fillet refused?

A fillet as big as half the face it runs along leaves nothing of that face between its blends, and OCCT cannot build the solid that would need. DX-CAD refuses it and names the radius.

Workaround: Make the fillet smaller than half the shortest edge it meets, or remove the face first and model the round as a revolve or a sketch arc.

More: Fillets that would consume a face

Why does a fillet fail where several filleted edges meet at a corner?

Where three or more filleted edges meet at a corner, OCCT has to build a corner patch between the blends. When the blends meet in a point, or nearly so, there is no patch to build, and the fillet fails.

Workaround: Give a radius under half the shortest edge that meets the corner, or fillet fewer edges in one call; or chamfer the corner instead.

More: Fillets meeting at a vertex

Can a fillet change its radius along an edge?

DX-CAD's fillets take one radius per call, from the model language, the window and the agent door alike; a blend whose radius changes along its edge is not offered.

Workaround: Split the edge where the radius should change and fillet each part at its own radius, or model the shape as a loft between sketched sections.

More: Variable-radius fillets

Why does a boolean fail when two parts only touch?

When two parts share a face, or touch along a line or at a point, floating-point noise can leave a hairline gap or overlap that OCCT reads as two solids. DX-CAD retries a failed boolean once with a fuzzy tolerance of 0.00001 mm (BOOLEAN_FUZZY_VALUE), which closes such gaps; when that fails too, or the parts only touch along a line or at a point, the boolean is refused rather than leaving two solids or an invalid one.

Workaround: Make the parts overlap by some volume, at least a few hundredths of a millimetre, rather than only touching.

More: Booleans on coincident or tangent faces

Why can a part not always be hollowed out?

Hollowing a part offsets every face inwards by the wall's thickness. Where a feature is thinner than two walls, or a face is a free-form surface whose offset folds over itself, the offset faces cross and OCCT cannot close the shell.

Workaround: Give a wall thinner than half the thinnest feature, or hollow the plain body first and add the thin features after.

More: Shelling and offsets on complex faces

Do face numbers stay the same when an earlier feature changes?

OCCT numbers a solid's faces and edges afresh each time it is built, so "face 7" can be a different face after an earlier feature changes. This is the persistent naming problem every CAD kernel has.

Workaround: DX-CAD does not keep kernel numbers between runs. A model is a script, so each feature is built from the values in it, not from picked faces; mates and references name faces by what they are and where they lie ("hole 1", ">Z", a face picked by position), found again on every run; and each part keeps a stable id of its own in the file, whatever it is renamed.

More: Persistent naming

Does DX-CAD repair STEP files, and does it read IGES?

A STEP file from another program can carry faces whose edges do not quite meet, or solids that are not closed. DX-CAD reads STEP as it is and does not heal it, so such a solid is reported as not valid by OCCT's check, and booleans on it may fail. IGES files are not read at all.

Workaround: Heal or sew the model in the program that wrote it and export it again as closed solids, in STEP (AP214 or AP242).

More: STEP and IGES files that need healing

Can DX-CAD solve all the mates of an assembly at once?

DX-CAD resolves an assembly's mates one at a time, in the order the model writes them, each placing its part against parts already placed. A mate that would need several parts moved at once, such as one closing a loop, or one that disagrees with the mates before it, is refused rather than solved.

Workaround: Write the mates in the order the parts are placed, each part mated to parts before it, and change the order by editing the script.

More: No simultaneous assembly solver

Can DX-CAD work with an assembly of thousands of parts?

Every part is its own full shape in the view and in the file, with no lightweight stand-ins, so an assembly of thousands of parts is slow to open, to turn and to save.

Workaround: Keep sub-assemblies in files of their own and bring them in with use(), working on one at a time.

More: Large assemblies

Can DX-CAD draw a picture of a part on a Mac with no window open?

A picture drawn with no window open (dxcad render, the agent's render_view, the gallery, and the preview a saved part carries for Explorer) needs a hidden native window for OCCT to draw into. On macOS that is a Cocoa window, made on the application's main thread, which DX-CAD does not make without its own window. Such a request is refused there, saying so, and a part saved on macOS has no preview picture.

Workaround: Open the part in DX-CAD's window to see it, or draw its picture on Windows or on Linux. With the window open, the Assistant's render_view and the window link's draw from the window's own view on every platform, so the Assistant looks at the model on a Mac as it does elsewhere; only a picture asked for with no window open is refused there.

More: Pictures without a window on macOS

What happens with the hardest cases, such as a fillet that is too big?

The hard cases DX-CAD is tested against each time, each run as a model.py: booleans of coplanar and tangent faces, blends bigger than their edges allow, shells against what they meet, overlapping patterns, sheet bends of radius 0, tiny text and mates that cannot be met. Each ends in a valid solid or is refused with its reason and what would work instead, never a crash.

More: The robustness suite