feat: batch FeatureScript builders and sketch constraints#14
Open
feat: batch FeatureScript builders and sketch constraints#14
Conversation
…t extrude - Add sketch constraint methods: horizontal, vertical, length, distance, fix - Add create_sketch_polygon tool for closed polyline shapes (trapezoids, etc.) - Add horizontalEdges/verticalEdges params for fully constraining polygons - Add anchorX/anchorY params for positional constraints on rectangles and polygons - Add variableWidth/variableHeight/variableLengths for variable-driven sketches - Add create_variable_studio, get_variables, set_variable tools - Add variable type inference (LENGTH/ANGLE/ANY) from expression suffix - Add draft angle support on extrude (draftAngle, draftPullDirection) - Fix ThickenBuilder missing BTFeatureDefinitionCall-1406 wrapper - Fix variables API endpoints (no version prefix) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Custom FeatureScript features (rectExtrude, polyExtrude, cabinetBox) combine sketch + extrude into single addFeature calls, reducing API usage by 2-8x. Includes deploy_batch_builders tool for one-time Feature Studio setup per document. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rectExtrude,polyExtrude,cabinetBox) that combine sketch + extrude into singleaddFeatureAPI calls, reducing usage by 2-8x per operationanchorX/anchorYpositioning,variableWidth/variableHeightdimensions,horizontalEdges/verticalEdgesorientation constraints for fully-constrained sketchesdeploy_batch_builders,batch_rect_extrude,batch_poly_extrude,batch_cabinet_box,create_variable_studio,create_sketch_polygon, draft angle on extrude, edge IDs in body detailsTest plan
pytest)🤖 Generated with Claude Code