press_pull_rsolid: one signed distance pulls a planar face out (its prism joined) or presses it in (cut), recorded as its extrude and boolean steps; the editor's Press / pull on a picked flat face replaces Pull face / Push in on the selection bar: an arrow on the face along its normal drags the distance (0.5 mm snap, Shift free) while the panel types it, across zero; the face's frame comes from its triangles on screen, at once
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -446,6 +446,15 @@ void bind_derived(py::module_& m) {
|
||||
py::arg("plane_normal") = unit_z(),
|
||||
"Draft planar, cylindrical or conical faces by a signed angle in degrees about a neutral plane.");
|
||||
|
||||
m.def(
|
||||
"press_pull_rsolid",
|
||||
[](const Solid& solid, const FacesOrQuery& face, const Length& distance) {
|
||||
const FaceSelection selection = selection_from<Face>(face);
|
||||
return unlocked(selection.is_selector(), [&] { return press_pull_rsolid(solid, selection, distance); });
|
||||
},
|
||||
py::arg("solid"), py::arg("face"), py::arg("distance"),
|
||||
"Pull one planar face out along its outward normal (positive distance) or press it in (negative).");
|
||||
|
||||
m.def(
|
||||
"inset_face_rsolid",
|
||||
[](const Solid& solid, const FacesOrQuery& face, const Length& distance) {
|
||||
|
||||
Reference in New Issue
Block a user