| name | openscad-workflow-planning |
| description | Use when planning a new OpenSCAD model or refactoring an existing one for better parametric control. |
OpenSCAD Workflow Planning
Note: This content was generated with the assistance of AI.
Overview
Guidelines for selecting the right design approach for an OpenSCAD model.
Selection Logic
Use the following criteria to choose the primary library:
| Project Type | Recommended Library | Reasoning |
|---|
| Mechanical/Geometric | BOSL2 | Superior attachment system, anchors, and rounded shapes. |
| Board Game Organizers | BIT | Data-driven, fast compartment design, and ergonomic features. |
| Traditional/Native | None | For simple, single-file models with minimal dependencies. |
Parametric Design Checklist
- Identify Independent Variables: (e.g., box width, wall thickness, screw diameter).
- Define Dependent Calculations: (e.g.,
inner_width = outer_width - 2*wall_thickness).
- Establish Constraints: (e.g.,
min_wall = 1.2).
- Boundary Testing: Visualize the model at minimum and maximum parameter values.
Intent-Based Workflow (BOSL2)
- Define the Base: Start with the primary shape (e.g., a cuboid).
- Identify Attachment Points: Use anchors (e.g.,
TOP, LEFT).
- Position Relative: Attach new components using the
attach module instead of translate.
Data-Driven Workflow (BIT)
- Define the Container: External dimensions and lid style.
- List the Features: Enumerate compartments and their contents.
- Configure the Data Structure: Map features to BIT feature lists.