feat: insert another design as a linked component (#596)
component.insert_design adds a component holding another design's solid bodies, linked to its file (stored relative to the assembly once saved). component.update_links reads the linked designs again, component.break_link keeps the bodies and forgets the file, and component.links lists them. Links are saved under format 16; an older build keeps the bodies and drops the link. Fixes #533
This commit is contained in:
1 parent
90869732a3
commit
46e21127dd
7 files changed
+380
-1
No files matched your search
@@ -517,7 +517,6 @@ fn saved_box_design(path: &std::path::Path, height: f64) {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore = "fails until #533 is fixed"]
|
||||
fn a_linked_design_brings_its_bodies_in_and_follows_edits_to_the_part_file() {
|
||||
let dir = std::env::temp_dir().join(format!("solidcraft-linked-design-{}", std::process::id()));
|
||||
std::fs::create_dir_all(&dir).unwrap();
|
||||
|
||||
Reference in new issue
Block a user