WorkFeature icon indicating copy to clipboard operation
WorkFeature copied to clipboard

Tool utility to create Points (mid points, center of circle, center of object(s)...), Axes (from 2 points, Normal of a plane...), Planes (from 3 points, from one axis and a point...) and many other us...

forthebadge made-with-python

Work features addon-on (macro) for FreeCAD

Tool utility that creates:

  • Origin (X, Y Z axes, Origin (0,0,0) point and XZ, XY, YZ planes)
  • Points (Center of Mass of object(s), mid points, center of circle, ...),
  • Axes (from 2 points, Normal of a plane...),
  • Planes (from 3 points, from one axis and a point...)
    and many other useful features to facilitate the creation of your project.

Version 2019-05 by @Rentlau_64
This project is a fork of @wood-galaxy's FC-WorkFeature macro

Installing

Download and install FreeCAD from wiki Download page and either install this macro by:

  • using the FreeCAD Addon Manager to easily install WorkFeatures and other interesting macros or,
  • manually by copying the WorkFeature folder into the Macro sub-directory of the FreeCAD application (most of the time ~/.FreeCAD/Macro).

Tip: Learn more about Macros at "How to install FreeCAD macros" for more details.

Requirements

Freecad >= v0.15
Numpy is a required dependency (numpy >= v1.14.3).
The development of the macro is still currently done with Python2.7 but now compatible with Python3 (so this addon is py3 compatible (yet) and was tested on FreeCAD >= v0.18 :FreeCAD_0.18.15671_Conda_Py3Qt5_glibc2.12-x86_64.AppImage).

Please "Open an issue", if you detect any problem.

Abstract

This utility is in the combo view labeled "Work Features".
Several Tab panels will be added into this widget:

  • Origin (for Origin tools)
  • Point (for Point creation)
  • Axis (for Axis creation)
  • Circle (for Circle and Ellipse creation)
  • Plane (for Plane creation)
  • Object (for Bounding box and Object creation)
  • View (for View change)
  • Modif. (for Object cutting)

This macro will create a new Group named WorkFeatures.
Depending of the tool you will use, it can create the following sub-Groups:

  • WorkFeatures/
    • Origin
    • WorkPoints
    • WorkAxes
    • WorkPlanes
    • WorkBoxes
    • WorkObjects

Tutorials

Find some more detailed documentations in ./WorkFeature/Doc directory:

  • WF_documentation
  • WF_releasesDocumentation

Find some tutorials in ./WorkFeature/Doc/Tutorials directory:

  • TranslationBySegment
  • ProjectedPoints
  • RandomPoints
  • 2DConvexPolygon
  • CreatePolygon
  • Regression2D