AgentStack
SKILL verified MIT Self-run

Digital Fabrication

skill-amanbh997-claude-skills-for-computational-designers-digital-fabrication · by Amanbh997

CNC milling, robotic fabrication, additive manufacturing, laser cutting, timber joinery, formwork design, assembly sequencing, and file preparation for digitally-fabricated AEC components

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-amanbh997-claude-skills-for-computational-designers-digital-fabrication

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Digital Fabrication? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Digital Fabrication in AEC

File-to-Factory Paradigm

Digital fabrication represents the direct translation of computational design models into physically realized building components through numerically controlled manufacturing processes. The file-to-factory paradigm eliminates the interpretive gap between designer intent and fabricator execution. Every geometric decision encoded in the digital model propagates deterministically into machine instructions, material removal paths, or deposition trajectories.

The core promise: what you model is what you build, with quantifiable tolerances at every stage.

Mass Customization vs. Mass Production

Traditional construction relies on mass production: standardized components (bricks, studs, sheets) assembled according to standardized details. This constrains architectural expression to rectangular grids and repetitive modules.

Mass customization inverts this constraint. When every component is cut by a CNC machine reading unique coordinates, the cost difference between 500 identical panels and 500 unique panels approaches zero. The machine does not care whether the next cut is the same as the last. The marginal cost of geometric variation is essentially the marginal cost of generating the fabrication data, not executing it.

Key economic thresholds:

  • Laser cutting: Customization is virtually free. Nesting efficiency matters more than geometric repetition.
  • CNC milling: Customization adds modest cost through increased setup and tool-change frequency.
  • Robotic fabrication: Customization cost depends on end-effector changes and calibration overhead.
  • Additive manufacturing: Customization is inherently free. Build time is the primary cost driver.
  • Formwork: Customization is expensive for conventional formwork, cheap for CNC-milled or 3D-printed formwork.

The Design-to-Fabrication Pipeline

The digital chain from design to built reality proceeds through distinct data transformations:

  1. Design Model — Parametric geometry in Rhino/Grasshopper, Revit, or other BIM/CAD environment. Geometry is resolution-independent (NURBS, BReps).
  2. Fabrication Model — Geometry decomposed into manufacturable components with material assignments, joint definitions, tolerances, and assembly sequences. This is the critical translation step.
  3. Fabrication Data — Machine-specific geometry: toolpaths (CNC), robot targets (robotic), slice contours (AM), cut lines (laser). Formats: G-code, RAPID, KRL, URScript, DXF, CLI, 3MF.
  4. Machine Code — Post-processed instructions for a specific machine controller. Includes feed rates, spindle speeds, tool changes, safety interlocks.
  5. Physical Component — Material transformed by machine. Subject to fabrication tolerances.
  6. Assembly — Components joined on-site or in factory. Subject to assembly tolerances.

Material-Informed Design

Digital fabrication demands that designers understand material behavior at the fabrication scale:

  • Wood grain direction determines CNC cutting strategy, joint strength, and surface quality.
  • Concrete rheology determines printability window, layer adhesion, and maximum overhang angle.
  • Metal anisotropy in AM builds (layer-parallel vs. layer-normal mechanical properties differ by 10-30%).
  • Polymer creep in FDM parts means load-bearing orientation must align with print layers.
  • Foam density (EPS 15-30 kg/m3, XPS 28-45 kg/m3, PU 30-80 kg/m3) determines cutting speed and surface quality.

Tolerance Stack-Up

Three tolerance domains must be managed simultaneously:

| Tolerance Type | Typical Range | Managed By | |---|---|---| | Design tolerance | +/- 0.5 - 2.0 mm | Architect/engineer | | Fabrication tolerance | +/- 0.05 - 1.0 mm | Machine capability | | Assembly tolerance | +/- 2.0 - 10.0 mm | Connection design |

The total system tolerance is the sum of all three. A CNC-milled joint with +/- 0.1 mm fabrication tolerance assembled with +/- 5 mm site tolerance yields a system tolerance of +/- 5.1 mm. The precision of the CNC operation is wasted unless the assembly detail absorbs the site tolerance through adjustable connections, shimming, or registration features.

Rule: Design the connection detail to absorb the largest tolerance in the chain. Never rely on fabrication precision to compensate for assembly imprecision.


CNC Milling

Machine Types

3-Axis Machines

The spindle moves in X, Y, and Z. The workpiece is fixed. All tool orientations are vertical (tool axis = Z). Suitable for 2.5D work (profiling, pocketing, drilling) and 3D surface milling of gentle curvatures. Cannot undercut.

4-Axis Machines

Adds one rotary axis (typically A-axis, rotating around X). Enables milling of cylindrical workpieces, wrapping toolpaths, and limited undercut access. Common for furniture legs, columns, and elongated sculptural elements.

5-Axis Machines

Adds two rotary axes (A/B or A/C configuration). The tool can approach the workpiece from any direction within the machine's angular range. Enables true 3D milling of complex doubly-curved surfaces, undercuts, and multi-face machining without re-fixturing.

  • A/B configuration: A rotates around X, B rotates around Y. Common on large gantry machines.
  • A/C configuration: A tilts the spindle head, C rotates the table. Common on smaller machines. Better for continuous 5-axis contouring.

Gantry Routers

Large-format CNC machines with a bridge (gantry) spanning the work area. Typical work envelopes: 2.5m x 1.25m (half-sheet), 3.0m x 1.5m (full-sheet), 6.0m x 2.5m (architectural scale), up to 20m+ for shipbuilding and aerospace. AEC applications typically use 3-axis or 3+2 axis gantry routers for panel processing, timber framing, and foam milling.

Workpiece Materials

| Material | Cutting Speed (m/min) | Feed per Tooth (mm) | Notes | |---|---|---|---| | Softwood (pine, spruce) | 300-600 | 0.3-0.8 | Grain tearout risk on cross-grain cuts | | Hardwood (oak, walnut) | 200-400 | 0.15-0.5 | Higher tool wear, better finish | | Plywood (birch) | 300-500 | 0.2-0.5 | Adhesive layers increase tool wear | | MDF | 300-600 | 0.2-0.6 | Excellent surface, high dust | | EPS Foam | 600-1200 | 1.0-3.0 | Very fast, minimal tool wear | | XPS Foam | 500-1000 | 0.8-2.5 | Slightly denser than EPS | | PU Foam (modeling board) | 300-600 | 0.3-1.0 | Depends on density | | Acrylic (PMMA) | 100-300 | 0.05-0.15 | Single-flute preferred, coolant needed | | Aluminum 6061 | 150-300 | 0.05-0.15 | Requires flood coolant or MQL | | Brass | 100-200 | 0.05-0.12 | Good machinability | | Stone (marble, limestone) | 20-80 | 0.02-0.08 | Diamond tooling, water coolant | | GFRP | 100-300 | 0.05-0.15 | Diamond-coated or PCD tools, dust extraction critical |

Tool Types

  • Flat End Mill: Square bottom. Produces flat surfaces and sharp internal corners (with radius = tool radius). Most common for profiling and pocketing.
  • Ball Nose: Hemispherical tip. For 3D surface finishing. Produces scalloped surface texture. Effective cutting diameter varies with depth of cut.
  • Bull Nose (Corner Radius): Flat bottom with radiused corners. Stronger than flat end mill, better surface finish on 3D surfaces than flat, less scalloping than ball nose.
  • Drill Bit: Point geometry for plunge holes. Spot drill first for accuracy. Standard twist drills, brad-point for wood.
  • Slot Cutter (T-slot): For cutting T-slots, undercuts in 3-axis setups using horizontal approach.
  • V-Bit: For engraving, chamfering, and V-carving. Common angles: 60 degrees, 90 degrees, 120 degrees.
  • Compression Bit: Up-cut on bottom, down-cut on top. For clean edges on both faces of sheet goods.

Milling Strategies

2.5D Operations

  • Profile/Contour: Cutting along a 2D path at constant Z-depth. Outside profile (part perimeter), inside profile (pocket perimeter), on-line (for slots).
  • Pocketing: Removing material from an enclosed area. Strategies: zigzag, offset (spiral), offset with climb), adaptive (trochoidal).
  • Drilling: Point-to-point operations. Peck drilling for deep holes (retract to clear chips).

3D Roughing

  • Adaptive (High-Efficiency) Roughing: Trochoidal toolpath maintaining constant tool engagement angle. Reduces vibration and tool wear. Allows higher axial depth of cut. Preferred for hard materials and deep pockets.
  • Parallel Roughing: Simple back-and-forth passes at decreasing Z-levels. Fast calculation, predictable. Leaves staircase approximation of 3D surface.
  • Waterline/Z-Level Roughing: Horizontal slicing at constant Z. Good for steep walls. Poor for shallow areas.

3D Finishing

  • Parallel Finishing: Straight passes across the surface. Best for gently curved surfaces. Direction matters (align with longest dimension for efficiency).
  • Spiral Finishing: Continuous spiral from outside to center (or vice versa). No retract marks. Good for radially symmetric forms.
  • Scallop Finishing: Constant scallop height across the surface. Adapts stepover to local curvature. Most uniform surface quality but complex toolpath.
  • Pencil Finishing: Traces the bottom of concavities and tight corners. Used as a cleanup pass after parallel or scallop finishing.
  • Flow-Line Finishing: Follows surface UV directions. Best for surfaces with natural flow (automotive-style).

Speed and Feed Calculation

Spindle speed (RPM):

RPM = (Vc * 1000) / (pi * D)

Where Vc = cutting speed (m/min), D = tool diameter (mm).

Feed rate (mm/min):

F = RPM * z * fz

Where z = number of flutes, fz = feed per tooth (chip load, mm).

Chip Load Reference Table

| Material | 6mm 2-flute (fz mm) | 10mm 2-flute (fz mm) | 12mm 3-flute (fz mm) | |---|---|---|---| | Softwood | 0.3-0.5 | 0.4-0.7 | 0.3-0.6 | | Hardwood | 0.15-0.3 | 0.2-0.4 | 0.15-0.35 | | Plywood | 0.2-0.4 | 0.3-0.5 | 0.2-0.4 | | MDF | 0.2-0.4 | 0.3-0.5 | 0.2-0.4 | | EPS Foam | 1.0-2.0 | 1.5-3.0 | 1.0-2.5 | | Acrylic | 0.05-0.1 | 0.08-0.12 | 0.05-0.1 | | Aluminum | 0.04-0.08 | 0.06-0.12 | 0.04-0.1 |

Surface Finish

Scallop height for ball-nose finishing:

h = r - sqrt(r^2 - (stepover/2)^2)

Where r = ball nose radius (mm), stepover = distance between adjacent passes (mm).

Practical targets:

  • Rough: h = 0.5-1.0 mm, stepover = 50-70% of tool diameter
  • Semi-finish: h = 0.1-0.3 mm, stepover = 20-40% of tool diameter
  • Fine finish: h = 0.02-0.05 mm, stepover = 5-15% of tool diameter

Workholding

  • Vacuum Table: Best for sheet goods. Requires spoilboard gasket or zone control. Minimum part size depends on vacuum force (typically > 150mm x 150mm for reliable hold).
  • Mechanical Clamps: T-slot or fixture plate. Requires clearance around clamps for tool access. Risk of clamp collision.
  • Screws Through Spoilboard: Drill registration holes, screw material down. Simple, reliable. Leaves screw holes in part (place outside finish area).
  • Double-Sided Tape: For small parts or finishing operations. Limited holding force. 3M 468MP or similar.
  • Custom Jigs: 3D-printed or CNC-milled fixtures for irregular workpieces. Essential for 5-axis work on non-prismatic parts.
  • Registration Pins: Dowel pins in spoilboard for repeatable part placement. Critical for double-sided machining (flip operations).

5-Axis Considerations

  • Tool orientation vectors: Defined by tool axis (I, J, K) at each toolpath point. Must be smooth (no sudden flips).
  • Collision avoidance: Check tool holder, spindle housing, and machine head against workpiece and clamps. Most CAM software includes simulation.
  • Lead and lag angles: Tilting the tool slightly (3-15 degrees) in the feed direction (lead) or perpendicular (lean) improves surface finish and avoids cutting with the tool tip (zero-velocity point on ball nose).
  • A/B vs. A/C kinematics: Affects reachable orientations and singularity positions. A/C machines have a singularity when A = 0 (vertical). A/B machines have a singularity when the two rotary axes align.

Robotic Fabrication

Industrial Robots for AEC

Robot Models

| Robot | Reach (mm) | Payload (kg) | Repeatability (mm) | Typical AEC Use | |---|---|---|---|---| | ABB IRB 4600-60 | 2050 | 60 | +/- 0.05 | Milling, small assembly | | ABB IRB 6700-235 | 2650 | 235 | +/- 0.05 | Heavy assembly, large milling | | ABB IRB 7600-500 | 2550 | 500 | +/- 0.05 | Concrete printing, heavy lifting | | KUKA KR 120 R2700 | 2701 | 120 | +/- 0.05 | General fabrication | | KUKA KR 210 R3100 | 3100 | 210 | +/- 0.06 | Timber assembly, large components | | KUKA KR 600 R2830 | 2826 | 600 | +/- 0.08 | Heavy payload tasks | | UR10e | 1300 | 12.5 | +/- 0.03 | Light assembly, collaborative tasks | | UR16e | 900 | 16 | +/- 0.03 | Heavier collaborative tasks | | Fanuc M-20iD/25 | 1831 | 25 | +/- 0.02 | Precision assembly, welding | | Fanuc M-710iC/50 | 2050 | 50 | +/- 0.07 | General fabrication |

Robot Anatomy

A standard 6-axis articulated robot has:

  • J1 (Base): Rotation around vertical axis. Defines the robot's rotational workspace.
  • J2 (Shoulder): Rotation of the lower arm. Primary reach determinant.
  • J3 (Elbow): Rotation of the upper arm. Works with J2 for radial reach and height.
  • J4 (Wrist 1): Rotation of the wrist around the forearm axis. Adds dexterity.
  • J5 (Wrist 2): Tilting of the wrist. Enables tool orientation changes.
  • J6 (Wrist 3): Rotation of the tool flange. Final orientation adjustment.

Reach envelope: The set of all points the tool center point (TCP) can reach. Not a simple sphere; it has dead zones near the base and at full extension. Always verify reach in simulation before programming.

Payload: Maximum mass at the tool flange including end effector and workpiece (if carried). Payload capacity decreases with distance from J6 axis (moment loading). Check both mass and moment of inertia.

Repeatability vs. Accuracy: Repeatability (+/- 0.05 mm typical) is how consistently the robot returns to a taught point. Accuracy (often +/- 0.5-2.0 mm) is how close it gets to a commanded Cartesian point. Accuracy is worse than repeatability because of kinematic model errors, gear backlash, and deflection. Calibration improves accuracy to +/- 0.2-0.5 mm.

End Effectors

  • Spindle: HSD, Hiteco, or Jager. 1-24 kW, 1,000-40,000 RPM. For robotic milling. Requires automatic tool changer (ATC) for multi-tool operations.
  • Extruder: Auger, piston, or peristaltic pump. For concrete printing, clay printing, polymer printing. Temperature-controlled for thermoplastics.
  • Gripper: Mechanical (parallel, angular), vacuum (suction cups), magnetic (for steel). For pick-and-place of bricks, blocks, panels, timber members.
  • Welding Torch: MIG/MAG for WAAM (Wire Arc Additive Manufacturing). TIG for precision welding. Fronius CMT (Cold Metal Transfer) preferred for WAAM.
  • Hot-Wire Cutter: Heated nichrome or kanthal wire mounted on a frame. For EPS/XPS foam cutting. Wire temperature 200-400 C. Produces smooth surfaces on foam.
  • Spray Nozzle: For shotcrete application on mesh formwork. Requires concrete pump integration.

Programming Approaches

Online Programming (Teach Pendant)

Move the robot manually to desired positions, record waypoints. Suitable for simple repetitive tasks. Not practical for complex AEC fabrication with thousands of unique targets.

Offline Programming (Simulation)

Model the entire workcell (robot, workpiece, fixtures, end effector) in software. Program toolpaths in the virtual environment. Simulate and verify before sending to the physical robot. Essential for AEC applications.

Grasshopper Plugins

HAL Robotics (multi-brand):

  • Procedure components: define motion sequences
  • Target components: Cartesian targets with tool orientation
  • Solver: inverse kinematics, collision detection, singularity checking
  • Export to RAPID, KRL, URScript, and others
  • Real-time cont

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.