Merge pull request #1632 from ramox81/codex/sweep-miter-history

Sweep history records in the reference layout.

Pins resolved to upstream: codec bff95f5 (#93, #94, #95, #96, #97 and
review fixes), kernel 6146d31 (#75 and review fixes), graph 9635ba7.
This commit is contained in:
Hakan Seven committed 2026-10-06 21:09:40 +03:00
commit 0149a276ef
9 files changed
+65 -23

No files matched your search

+4 -1
View File
@@ -486,6 +486,8 @@ impl OpenCADStudio {
.iter()
.map(|(_, entity)| entity.clone())
.collect::<Vec<_>>();
// Group 294: a base point the user picked.
let picked_base = options.base_point.is_some();
let options = sweep_model::sweep_selection_options(&selection, options);
let pending = if profiles.is_empty() {
None
@@ -496,7 +498,8 @@ impl OpenCADStudio {
let mut consumed = Vec::new();
for (handle, profile) in profiles {
let result = path.as_ref().zip(options).and_then(|(path, options)| {
let record = sweep_model::sweep_record(&profile, path, options)?;
let mut record = sweep_model::sweep_record(&profile, path, options)?;
record.flags_294_296[0] |= picked_base;
let (_, _, closed) = kernel::acis::sweep_profile_geometry(
record.sweep_entity.as_ref()?,
record.sweep_entity_transform,