Lattice2 Workbench

From FreeCAD Documentation
(Redirected from Sandbox:Lattice2)
Jump to: navigation, search
This Page is incomplete and requires more attention. Please consider contributing to it

Introduction

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

Lattice2 Workbench is an external addon/workbench for FreeCAD.

The workbench's 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

Lattice2-menu-orizz.png

  • Lattice2 Placement.svg Placement
    • Lattice2 Placement.svg Single Placement: Custom
    • Lattice2 Placement.svg Single Placement: XY plane
    • Lattice2 Placement.svg Single Placement: XZ plane
    • Lattice2 Placement.svg Single Placement: YZ plane
    • Lattice2 Placement.svg Single Placement: along X
    • Lattice2 Placement.svg Single Placement: along Y
    • Lattice2 Placement.svg Single Placement: along Z
    • Lattice2 Placement.svg Single Placement: Euler angles
    • Lattice2 PlacementFromShape.svg Placement of shape: Copy object.Placement
    • Lattice2 PlacementFromShape.svg Placement of shape: Center of bounding box
    • Lattice2 PlacementFromShape.svg Placement of shape: Center of mass
    • Lattice2 PlacementFromShape.svg Placement of shape: Inertial axis system
  • Lattice2 LinearArray.svg Generate linear array
  • Lattice2 PolarArray.svg Generate polar array
  • Lattice2 ArrayFromShape.svg Array from shape
    • Lattice2 ArrayFromShape.svg Internal placements
    • Lattice2 ArrayFromShape.svg Center of bounding box
    • Lattice2 ArrayFromShape.svg Center of mass
    • Lattice2 ArrayFromShape.svg Inertial axis system
  • Lattice2 InvertLattice.svg Invert lattice
  • Lattice2 JoinArrays.svg Join arrays
  • Lattice2 ArrayFilter.svg Array filter
    • Lattice2 ArrayFilter.svg Selected items
    • Lattice2 ArrayFilter.svg Touching
    • Lattice2 ArrayFilter.svg Within distance window
    • Lattice2 ArrayFilter.svg Pointing at shape
  • Lattice2 ExplodeArray.svg Explode array
  • Lattice2 ProjectArray.svg Project array
  • Lattice2 ResampleArray.svg Resample array
  • Lattice2 PopulateCopiesNormal.svg Populate with copies
    • Lattice2 PopulateCopiesNormal.svg Populate with copies
    • Lattice2 PopulateCopiesArray.svg Populate with copies: Build array
    • Lattice2 PopulateCopiesMove.svg Moved object
  • Lattice2 PopulateChildrenNormal.svg Populate with children
    • Lattice2 PopulateChildrenNormal.svg Populate with children
    • Lattice2 PopulateChildrenArray.svg Populate with children: Build array
    • Lattice2 PopulateChildrenMove.svg Moved children
  • Lattice2 ParametricDowngrade.svg Parametric downgrade
    • Lattice2 ParametricDowngrade.svg Downgrade to
    • Lattice2 ParametricDowngrade.svg Downgrade to Leaves
    • Lattice2 ParametricDowngrade.svg Downgrade to CompSolids
    • Lattice2 ParametricDowngrade.svg Downgrade to Shells
    • Lattice2 ParametricDowngrade.svg Downgrade to OpenWires
    • Lattice2 ParametricDowngrade.svg Downgrade to Faces
    • Lattice2 ParametricDowngrade.svg Downgrade to Wires
    • Lattice2 ParametricDowngrade.svg Downgrade to Edges
    • Lattice2 ParametricDowngrade.svg Downgrade to Seam edges
    • Lattice2 ParametricDowngrade.svg Downgrade to Non-seam edges
    • Lattice2 ParametricDowngrade.svg Downgrade to Vertices
  • Lattice2 SubLink.svg Sub link
  • Lattice2 MakeCompound.svg Make compound
  • Lattice2 ExplodeCompound.svg Explode compound
  • Lattice2 FuseCompound.svg Fuse compound
  • Lattice2 BoundingBox.svg Bounding box
    • Lattice2 BoundingBox.svg Whole
    • Lattice2 BoundingBoxCompound.svg Children
  • Lattice2 ShapeString.svg Shape string for array
  • Lattice2 ParaSeries.svg Para series
  • Lattice2 Inspect.svg Inspect
    • Lattice2 InspectSelection.svg Inspect seletion
    • Lattice2 InspectShape.svg Shape info (feature)
  • Lattice2 SubstituteObject.svg Substitute object
  • Expose links to subelements

Other

  • Recomputes
    • Lattice2 RecomputeMakeFeature.svg Make recompute locher object:
    • Lattice2 RecomputeLock.svg Lock recomputes:
    • Lattice2 RecomputeUnlock.svg Unlock recomputes:
    • Lattice2 RecomputeFeature.svg Recompute feature:
    • Lattice2 RecomputeDocument.svg Recompute document:
    • Lattice2 RecomputeForce.svg Force recompute:
    • Lattice2 RecomputeTouch.svg Touch selected feature:
  • Lattice2 Lattice2.svg Lattice2 icon

Installation

Prerequisites Lattice2 WB requires FreeCAD >= v0.16.5155.

Automatic installation

As of v0.17 one can use the Addon Manager to install Lattice2 Workbench

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.

Tutorials

Links to Lattice2 WB

Other useful links