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!

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

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

Introduction

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.

Installation

Automatic installation

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

Manual Install

  • Go to the repository 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.

Tools

Detailed description on the Lattice2 Github wiki

Toolbar

Lattice2 Toolbar

Commands

  • 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
  • Attachable Placement
  • 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 Workbench icon

Tutorials

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

References

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

Links to Lattice2 workbench

  • Lattice2 Wiki: https://github.com/DeepSOIC/Lattice2/wiki
  • FreeCAD Wiki: https://wiki.freecad.org/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


This page is retrieved from https://wiki.freecad.org/Lattice2_Workbench

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