Skip to content

Troubleshooting

Each entry gives a message or a symptom, its cause and the correction.

[warn] P_phone: saved result is stale (inputs changed); run with --resolve to update

You changed a parameter that the phone solver uses, but the build used the stored pose. Add --resolve to the command. See Frames.

[check] ... after a parameter change

A check failed. The message names the frame, its coordinate and the permitted range. In the default config the usual cause is a rod that is too short (the beam would end below the top of the base) or too long for its tilt (no phone angle up to 90° fits). The message gives the ranges of rod_L, rod_tilt, distance and spine_L that work.

[interference] ... (phone_vs_body: 8632.7 mm³)

Two solids overlap. The name before the colon is the rule, and the number is the overlap volume. The message says which parameter to change. The table of rules is in Checks and interference rules.

The interference messages are in Chinese

The command line prints the default message of each rule. Use the rule name in the message, or call m.interference(lang='en') in Python.

KeyError: 'unknown parameter ...' or KeyError: 'unknown option ...'

--set and --option accept only names that exist in the config. List the parameters with python -c "from asfinger import Model; print(list(Model.load('CONFIG').cfg['params']))".

ExprError: unknown name ... or unsupported syntax ...

An expression uses a name that is not a parameter, or syntax that is not allowed. The permitted syntax is in The config file.

ValueError: ... is not a closed (manifold) solid

An imported mesh has holes or open edges. Repair the mesh in a mesh tool and export it again.

FileNotFoundError for a file in assets/

The config looks for assets/ beside its own folder, not in the current directory. Put the config in a folder that has assets/ as its neighbour, or write an absolute path in file.

frame cycle at ... or frame X refers to unknown frame Y

The frame tree has a loop, or a frame names a parent or a target that does not exist.

Fusion add-in not reachable on port 47910

The command asfinger send sends a config to the add-in in Autodesk Fusion, and nothing listens on that port. Start Fusion and run the add-in. If the add-in runs, another program held the port when it started: the palette of the add-in says so. See The Fusion add-in.

report.json gives "bodies": 2 or more for a print set

The parts of the print set do not touch, so the file would print as separate pieces. Examine the parameters that position the phone holder. If face_only in the same entry is not empty, the listed members touch but only share a face: let one run into the other. See Print sets.

preview.html is empty

The page needs an internet connection to load three.js. It also needs a camera named C_main. A config without that camera, or a build with --option phone=0, gives an empty page. Use the web editor or a mesh viewer for the STL files.

The printed pusher does not fit the phone case

back_to_mount is the back thickness of the case. Measure your case and set the parameter. See Frames.

“The editor needs a wide desktop browser window (≥ 1100 px).”

Make the window wider, or use a desktop computer.

“Loading the geometry engine” stays on the screen

The first load downloads about 13 MB. If the message stays, examine the network connection and load the page again.

The STL export buttons are disabled

A check or an interference rule fails. Read the message, change the parameter that it names, and export again. The config export stays available.

My parameters are gone

The editor stores them in the local storage of one browser. A different browser, a private window or cleared site data starts from the defaults. Export the config to keep your work.