forked from 1b-agent/opencadstudio-upstream
Merge pull request #1666 from ramox81/codex/extrude-taper-history
Extrusion history records give the profile frame (tapered extrusions open in the reference) # Conflicts: # Cargo.lock # src/scene/model/sweep_model.rs
This commit is contained in:
commit
eb2b2b5f3d
2 files changed
+6
No files matched your search
@@ -39,6 +39,8 @@ fn extrusion_history(
|
|||||||
sweep_entity_transform: glam::DMat4::IDENTITY.to_cols_array(),
|
sweep_entity_transform: glam::DMat4::IDENTITY.to_cols_array(),
|
||||||
path_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),
|
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()
|
..SolidHistorySweep::default()
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -716,6 +716,10 @@ pub fn extrusion_history(
|
|||||||
sweep_entity_transform,
|
sweep_entity_transform,
|
||||||
path_entity_transform,
|
path_entity_transform,
|
||||||
reference_point: Vector3::new(reference_point[0], reference_point[1], reference_point[2]),
|
reference_point: Vector3::new(reference_point[0], 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()
|
..SolidHistorySweep::default()
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user