Skip to content

Safe modification to imprint API for preserved targets support#1108

Merged
adamchalmers merged 4 commits intomainfrom
mike/imprint-targets-support
Mar 3, 2026
Merged

Safe modification to imprint API for preserved targets support#1108
adamchalmers merged 4 commits intomainfrom
mike/imprint-targets-support

Conversation

@mlfarrell
Copy link
Contributor

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@cb0b3e8). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1108   +/-   ##
=======================================
  Coverage        ?   30.03%           
=======================================
  Files           ?       34           
  Lines           ?     1588           
  Branches        ?        0           
=======================================
  Hits            ?      477           
  Misses          ?     1111           
  Partials        ?        0           
Flag Coverage Δ
unittests 30.03% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -2264,10 +2264,17 @@ define_modeling_cmd_enum! {
{
/// Which input bodies to intersect. Inputs with non-solid body types are permitted
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Which input bodies to intersect. Inputs with non-solid body types are permitted
/// Which input bodies to intersect. Inputs with non-solid body types are permitted. These are the target IDs.

pub body_ids: Vec<Uuid>,
/// Geometry to imprint from, if provided, these bodies will be unmodified and body_ids will be used as imprint targets
#[serde(default)]
pub target_ids: Option<Vec<Uuid>>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub target_ids: Option<Vec<Uuid>>,
pub tool_ids: Option<Vec<Uuid>>,

@adamchalmers adamchalmers force-pushed the mike/imprint-targets-support branch from 5c244ee to 3ede410 Compare March 2, 2026 20:43
@adamchalmers adamchalmers force-pushed the mike/imprint-targets-support branch from 3ede410 to 8851b1e Compare March 2, 2026 20:45
@adamchalmers adamchalmers merged commit b6c7451 into main Mar 3, 2026
12 checks passed
@adamchalmers adamchalmers deleted the mike/imprint-targets-support branch March 3, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants