fix(extrude): history records give the profile frame (group 295)

The reference cannot open a drawing whose extrusion history has a taper
and leaves the profile frame to be computed (ErrorStatus 53). Extrusion
and press-pull records now set group 295, as the reference writes them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-08 14:49:43 +03:00
1 parent 7d008c4914
commit 5862fe7824
2 files changed
+6

No files matched your search

+2
View File
@@ -33,6 +33,8 @@ fn extrusion_history(entity: &EntityType, direction: DVec3, anchor: DVec3) -> Op
sweep_entity_transform: glam::DMat4::IDENTITY.to_cols_array(),
path_entity_transform: glam::DMat4::IDENTITY.to_cols_array(),
reference_point: Vector3::new(anchor.x, anchor.y, anchor.z),
// Group 295: the profile frame is given (see extrusion_history).
flags_294_296: [false, true, false],
..SolidHistorySweep::default()
}));
}
+4
View File
@@ -719,6 +719,10 @@ pub fn extrusion_history(
reference_point[1],
reference_point[2],
),
// Group 295: the profile frame is given, as the reference records
// it. Left to be computed, the reference cannot open a drawing with
// a tapered extrusion (ErrorStatus 53).
flags_294_296: [false, true, false],
..SolidHistorySweep::default()
}))
}