Lattice2 Workbench

From FreeCAD Documentation

Introduction

Lattice2 is stable. New features may be added, but no breaking changes are supposed to happen.

Lattice Workbench is a plug-in module (workbench) for FreeCAD.

The workbench purpose is working with placements and arrays of placements. It is a sort of assembly workbench, but with emphasis on arrays. There are no constraints and relations, there are just arrays of placements that can be generated, combined, transformed, superimposed and populated with shapes.

Ever wondered how to create a protractor with FreeCAD? That's the aim of the workbench (including tick labeling). Also, exploded assemblies can be made with the workbench.

Additionally, the workbench features a few general-purpose tools, such as parametric downgrade, bounding boxes, shape info tool, and tools for working with collections of shapes (compounds).

One of the big design goals of the workbench is being as parametric as possible.

References

Tools

Detailed description here

Toolbar

  • Placement
    • Single Placement: Custom
    • Single Placement: XY plane
    • Single Placement: XZ plane
    • Single Placement: YZ plane
    • Single Placement: along X
    • Single Placement: along Y
    • Single Placement: along Z
    • Single Placement: Euler angles
    • Placement of shape: Copy object.Placement
    • Placement of shape: Center of bounding box
    • Placement of shape: Center of mass
    • Placement of shape: Inertial axis system
  • Generate linear array
  • Generate polar array
  • Array from shape
    • Internal placements
    • Center of bounding box
    • Center of mass
    • Inertial axis system
  • Invert lattice
  • Join arrays
  • Array filter
    • Selected items
    • Touching
    • Within distance window
    • Pointing at shape
  • Explode array
  • Project array
  • Resample array
  • Populate with copies
    • Populate with copies
    • Populate with copies: Build array
    • Moved object
  • Populate with children
    • Populate with children
    • Populate with children: Build array
    • Moved children
  • Parametric downgrade
    • Downgrade to
    • Downgrade to Leaves
    • Downgrade to CompSolids
    • Downgrade to Shells
    • Downgrade to OpenWires
    • Downgrade to Faces
    • Downgrade to Wires
    • Downgrade to Edges
    • Downgrade to Seam edges
    • Downgrade to Non-seam edges
    • Downgrade to Vertices
  • Sub link
  • Make compound
  • Explode compound
  • Fuse compound
  • Bounding box
    • Whole
    • Children
  • Shape string for array
  • Para series
  • Inspect
    • Inspect seletion
    • Shape info (feature)
  • Substitute object
  • Expose links to subelements

Other

  • Recomputes
    • Make recompute locher object:
    • Lock recomputes:
    • Unlock recomputes:
    • Recompute feature:
    • Recompute document:
    • Force recompute:
    • Touch selected feature:
  • Lattice2 icon

Installation

Automatic installation

See Installing

From GitHub

Prerequisites

Lattice2 WB requires FreeCAD no less than v0.16.5155.

Manual install

  • Scroll to the top of the page, and click 'download zip' button
  • Unpack the contents into a "Lattice2" folder created in \Path\to\FreeCAD\Mod, and restart FreeCAD.
  • Note that InitGui.py (and the rest of .py files) should end up directly under Mod\Lattice2 (not under nested directory like Mod\Lattice2\Lattice2).

After you install the workbench, it should appear at the bottom of list of workbench selector in FreeCAD.

Links to Lattice2 WB

Other useful links