FreeCAD Logo FreeCAD 1.0
  • English Afrikaans Arabic Belarusian Catalan Czech German Greek Spanish Spanish Basque Finnish Filipino French Galician Croatian Hungarian Indonesian Italian Japanese Kabyle Korean Lithuanian Dutch Norwegian Bokmal Polish Portuguese Portuguese Romanian Russian Slovak Slovenian Serbian Swedish Turkish Ukrainian Valencian Vietnamese Chinese Chinese
  • Features
  • Download
  • Blog
  • Documentation
    Documentation index Getting started Users documentation The FreeCAD manual Workbenches documentation Python coding documentation C++ coding documentation Tutorials Frequently asked questions Privacy policy About FreeCAD
  • Contribute
    How to help Sponsor Report a bug Make a pull request Jobs and funding Contribution guidelines Developers handbook Translations
  • Community
    Code of conduct Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendar
  • ♥ Donate

Donate

$
SEPA Information
Please set up your SEPA bank transfer to:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Bank agency: BNP Paribas Fortis
Address: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!

Lattice2 Workbench

align=center|The FreeCAD Lattice2 External Workbench Icon

Introduction

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

The Lattice2 Workbench is a FreeCAD external workbench that serves the purpose of 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

  • Author: DeepSOIC
  • Home page: https://github.com/DeepSOIC/Lattice2
  • Source code on github: https://github.com/DeepSOIC/Lattice2

Tools

Detailed description on the Lattice2 Github wiki

Toolbar

Lattice2 Toolbar

Commands

  • [Placement](wiki-test2.php?gitpage=Lattice2_Placement) - [Single Placement: Custom](wiki-test2.php?gitpage=Lattice2_Placement) - [Single Placement: XY plane](wiki-test2.php?gitpage=Lattice2_Placement) - [Single Placement: XZ plane](wiki-test2.php?gitpage=Lattice2_Placement) - [Single Placement: YZ plane](wiki-test2.php?gitpage=Lattice2_Placement) - [Single Placement: along X](wiki-test2.php?gitpage=Lattice2_Placement) - [Single Placement: along Y](wiki-test2.php?gitpage=Lattice2_Placement) - [Single Placement: along Z](wiki-test2.php?gitpage=Lattice2_Placement) - [Single Placement: Euler angles](wiki-test2.php?gitpage=Lattice2_Placement) - [Placement of shape: Copy object.Placement](wiki-test2.php?gitpage=Lattice2_PlacementFromShape) - [Placement of shape: Center of bounding box](wiki-test2.php?gitpage=Lattice2_PlacementFromShape) - [Placement of shape: Center of mass](wiki-test2.php?gitpage=Lattice2_PlacementFromShape) - [Placement of shape: Inertial axis system](wiki-test2.php?gitpage=Lattice2_PlacementFromShape)
  • [Attachable Placement](wiki-test2.php?gitpage=Lattice2_AttachablePlacement)
  • [Generate linear array](wiki-test2.php?gitpage=Lattice2_LinearArray)
  • [Generate polar array](wiki-test2.php?gitpage=Lattice2_PolarArray)
  • [Array from shape](wiki-test2.php?gitpage=Lattice2_ArrayFromShape) - [Internal placements](wiki-test2.php?gitpage=Lattice2_ArrayFromShape) - [Center of bounding box](wiki-test2.php?gitpage=Lattice2_ArrayFromShape) - [Center of mass](wiki-test2.php?gitpage=Lattice2_ArrayFromShape) - [Inertial axis system](wiki-test2.php?gitpage=Lattice2_ArrayFromShape)
  • [Invert lattice](wiki-test2.php?gitpage=Lattice2_InvertLattice)
  • [Join arrays](wiki-test2.php?gitpage=Lattice2_JoinArrays)
  • [Array filter](wiki-test2.php?gitpage=Lattice2_ArrayFilter) - [Selected items](wiki-test2.php?gitpage=Lattice2_ArrayFilter) - [Touching](wiki-test2.php?gitpage=Lattice2_ArrayFilter) - [Within distance window](wiki-test2.php?gitpage=Lattice2_ArrayFilter) - [Pointing at shape](wiki-test2.php?gitpage=Lattice2_ArrayFilter)
  • [Explode array](wiki-test2.php?gitpage=Lattice2_ExplodeArray)
  • [Project array](wiki-test2.php?gitpage=Lattice2_ProjectArray)
  • [Resample array](wiki-test2.php?gitpage=Lattice2_ResampleArray)
  • [Populate with copies](wiki-test2.php?gitpage=Lattice2_PopulateCopiesNormal) - [Populate with copies](wiki-test2.php?gitpage=Lattice2_PopulateCopiesNormal) - [Populate with copies: Build array](wiki-test2.php?gitpage=Lattice2_PopulateCopiesArray) - [Moved object](wiki-test2.php?gitpage=Lattice2_PopulateCopiesMove)
  • [Populate with children](wiki-test2.php?gitpage=Lattice2_PopulateChildrenNormal) - [Populate with children](wiki-test2.php?gitpage=Lattice2_PopulateChildrenNormal) - [Populate with children: Build array](wiki-test2.php?gitpage=Lattice2_PopulateChildrenArray) - [Moved children](wiki-test2.php?gitpage=Lattice2_PopulateChildrenMove)
  • [Parametric downgrade](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to ](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to Leaves](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to CompSolids](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to Shells](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to OpenWires](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to Faces](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to Wires](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to Edges](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to Seam edges](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to Non-seam edges](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade) - [Downgrade to Vertices](wiki-test2.php?gitpage=Lattice2_ParametricDowngrade)
  • [Sub link](wiki-test2.php?gitpage=Lattice2_SubLink)
  • [Make compound](wiki-test2.php?gitpage=Lattice2_MakeCompound)
  • [Explode compound](wiki-test2.php?gitpage=Lattice2_ExplodeCompound)
  • [Fuse compound](wiki-test2.php?gitpage=Lattice2_FuseCompound)
  • [Bounding box](wiki-test2.php?gitpage=Lattice2_BoundingBox) - [Whole](wiki-test2.php?gitpage=Lattice2_BoundingBox) - [Children](wiki-test2.php?gitpage=Lattice2_BoundingBoxCompound)
  • [Shape string for array](wiki-test2.php?gitpage=Lattice2_ShapeString)
  • [Para series](wiki-test2.php?gitpage=Lattice2_ParaSeries)
  • [Inspect](wiki-test2.php?gitpage=Lattice2_Inspect) - [Inspect seletion](wiki-test2.php?gitpage=Lattice2_InspectSelection) - [Shape info (feature)](wiki-test2.php?gitpage=Lattice2_InspectShape)
  • [Substitute object](wiki-test2.php?gitpage=Lattice2_SubstituteObject)
  • Expose links to subelements

Other

  • Recomputes
    • [Make recompute locher object](wiki-test2.php?gitpage=Lattice2_RecomputeMakeFeature):
    • [Lock recomputes](wiki-test2.php?gitpage=Lattice2_RecomputeLock):
    • [Unlock recomputes](wiki-test2.php?gitpage=Lattice2_RecomputeUnlock):
    • [Recompute feature](wiki-test2.php?gitpage=Lattice2_RecomputeFeature):
    • [Recompute document](wiki-test2.php?gitpage=Lattice2_RecomputeDocument):
    • [Force recompute](wiki-test2.php?gitpage=Lattice2_RecomputeForce):
    • [Touch selected feature](wiki-test2.php?gitpage=Lattice2_RecomputeTouch):
  • Lattice2 Workbench icon

Installation

Prerequisites: Lattice2 Workbench requires FreeCAD >= v0.16.5155.

Automatic installation

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

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

  • Tutorials: Gallery
  • Basic Tutorial
  • Lattice2 in PartDesign
  • Making a Cogset
  • Feature Patterns in Lattice2 Workbench by \@sliptonic

Links to Lattice2 workbench

  • Lattice2 Wiki: https://github.com/DeepSOIC/Lattice2/wiki
  • FreeCAD Wiki: https://www.freecadweb.org/wiki/Lattice2_Workbench
  • FreeCAD Forum: Lattice workbench - v2.0 is becoming stable
  • Gallery: https://github.com/DeepSOIC/Lattice2/wiki/Gallery
  • Report bugs: Please report bugs at https://github.com/DeepSOIC/Lattice2/issues

Other useful links

  • Lattice aka Lattice1 Workbench (obsolete)
  • External Workbenches: List of FreeCAD workbenches.
  • Macros recipes
  • FreeCAD Community Portal

⏵ documentation index > Addons > External Workbenches > Lattice2 Workbench

This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Lattice2_Workbench.md

Get in touch!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© The FreeCAD Team. Homepage image credits (top to bottom): ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

This project is supported by: , KiCad Services Corp. and other sponsors

GitHubImprove this page on GitHub