fix: pull assembly dependencies recursively before opening #19
Reference in New Issue
Block a user
Delete Branch "fix/pull-assembly-dependencies"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When pulling an assembly from Silo, linked component files were not downloaded, causing FreeCAD to report Link not restored errors for every external reference (e.g.
../X01_machined_part/X01-0004_EXTRUDER_MOUNTING_BLOCK.FCStd).Changes
Add
_pull_dependencies(part_number, progress_callback)helper that:get_bom()) to discover child part numbersModify
Silo_Pull.Activated()to call_pull_dependencies()after downloading the assembly file and before opening it, so allPropertyXLinkpaths resolve correctly.Testing
~/projects/cad/{category}/before the assembly opens