forked from 1b-agent/opencadstudio-upstream
SWEEP: reference messages, 3D polyline profiles and Scale Reference
- 3D polyline profiles are recorded as wire bodies, like 3D polyline paths. - Refused sweeps print the modeling error code and "Unable to sweep N selected objects."; a scaled sweep rejects closed and cornered spatial paths with the reference messages and asks for the path again. - Scale > Reference asks for start and end reference lengths (start / end). - Bank stays on for later sweeps until a twist angle is entered. - Refused twist/scale edits in Properties print the modeling error code. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
7a8ec02003
commit
1a18fdd0cf
6 files changed
+149
-57
No files matched your search
@@ -3938,11 +3938,21 @@ pub(super) fn on_tab_close(&mut self, idx: usize) -> Task<Message> {
|
||||
if crate::scene::model::solid_history::is_primitive_property(
|
||||
field,
|
||||
) {
|
||||
self.tabs[i].scene.apply_solid_history_property(
|
||||
if !self.tabs[i].scene.apply_solid_history_property(
|
||||
handle,
|
||||
field,
|
||||
&val,
|
||||
);
|
||||
) {
|
||||
if let Some(code) = self.tabs[i]
|
||||
.scene
|
||||
.solid_history_property_refusal(handle, field, &val)
|
||||
{
|
||||
self.command_line.push_output(&format!(
|
||||
"Modeling Operation Error:
|
||||
Error Code Number is {code}"
|
||||
));
|
||||
}
|
||||
}
|
||||
} else if self.tabs[i]
|
||||
.scene
|
||||
.apply_solid_position_property(
|
||||
|
||||
Reference in new issue
Block a user