inset_face_rsolid: a planar face's loops moved inside it are imprinted (the face splits into its inner face and ring, roles inset.inner / inset.ring, tracked as fragments, replayable); the editor's Inset on a picked flat face, tuned in place like every operation, so inset then pull builds steps and bosses without a sketch; the operation panel's Enter handler no longer assumes its target is an element
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(
|
||||
"inset_face_rsolid",
|
||||
[](const Solid& solid, const FacesOrQuery& face, const Length& distance) {
|
||||
const FaceSelection selection = selection_from<Face>(face);
|
||||
return unlocked(selection.is_selector(), [&] { return inset_face_rsolid(solid, selection, distance); });
|
||||
},
|
||||
py::arg("solid"), py::arg("face"), py::arg("distance"),
|
||||
"Imprint the loops of one planar face moved a distance inside it, splitting the face in an inner face and a ring.");
|
||||
|
||||
m.def(
|
||||
"extrude_taper_rsolid",
|
||||
[](const Face& profile, const VectorArg& vector, const Angle& taper, bool flip_inner) {
|
||||
|
||||
Reference in New Issue
Block a user