pad
Extrude a fully-constrained sketch into a solid, verifying the result with volume and validity checks to confirm material was added.
Instructions
Extrude a fully-constrained sketch into a solid (PartDesign::Pad).
Fails if the sketch is not fully constrained, or if the resulting solid
is invalid — always reports volumeBefore/volume/isValid/boundingBox so
you can confirm real material was added, not just that the call
succeeded.
Args:
doc_name: The name of the document.
body_name: The name of the PartDesign::Body to add this feature to.
sketch_name: The name of the fully-constrained profile sketch.
name: The name to give the new Pad feature.
length: Extrusion length in mm.
midplane: Extrude symmetrically about the sketch plane.
reversed_: Flip the extrusion direction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| length | No | ||
| doc_name | Yes | ||
| midplane | No | ||
| body_name | Yes | ||
| reversed_ | No | ||
| sketch_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |