OpenSCAD Minkowski: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 7: Line 7:
|[[OpenSCAD_Module|OpenSCAD]]
|[[OpenSCAD_Module|OpenSCAD]]
|IconL=OpenSCAD_Hull.svg
|IconL=OpenSCAD_Hull.svg
|IconC=Workbench_OpenSCAD.svg
|IconR=
|IconR=
|IconC=Workbench_OpenSCAD.svg
}}
}}


Line 23: Line 23:


<!--T:7-->
<!--T:7-->
Applies a minkowski sum to selected shapes.
Applies a Minkowski sum to selected shapes.


===Mathematical Definition=== <!--T:13-->
===Mathematical Definition=== <!--T:13-->


<!--T:14-->
<!--T:14-->
Add each element of subset A to each element of subset B to get minkowski sum.
Add each element of subset A to each element of subset B to get Minkowski sum.


===Geometrical Definition=== <!--T:15-->
===Geometrical Definition=== <!--T:15-->


<!--T:16-->
<!--T:16-->
Sweep element A along all boundaries of element B. Resulting space which is occupied by both elements is minkowski sum.
Sweep element A along all boundaries of element B. Resulting space which is occupied by both elements is Minkowski sum.


<!--T:17-->
<!--T:17-->
[[Image:Minkowski_example.jpg|An example of a minkowski sum]]
[[Image:Minkowski_example.jpg|An example of a Minkowski sum]]


<!--T:18-->
<!--T:18-->
Example of minkowski sum applied to cylinder and cube. Note: that the height of minkowski sum is height of cylinder plus height of cube.
Example of Minkowski sum applied to cylinder and cube. Note: that the height of minkowski sum is height of cylinder plus height of cube.


==Usage== <!--T:3-->
==Usage== <!--T:3-->
Line 59: Line 59:
|[[OpenSCAD_Module|OpenSCAD]]
|[[OpenSCAD_Module|OpenSCAD]]
|IconL=OpenSCAD_Hull.svg
|IconL=OpenSCAD_Hull.svg
|IconC=Workbench_OpenSCAD.svg
|IconR=
|IconR=
|IconC=Workbench_OpenSCAD.svg
}}
}}



Revision as of 22:22, 30 November 2020

OpenSCAD Minkowski

Menu location
OpenSCAD → Minkowski

‏‎

Workbenches
OpenSCAD
Default shortcut
none
Introduced in version
-
See also
---

Description

Applies a Minkowski sum to selected shapes.

Mathematical Definition

Add each element of subset A to each element of subset B to get Minkowski sum.

Geometrical Definition

Sweep element A along all boundaries of element B. Resulting space which is occupied by both elements is Minkowski sum.

An example of a Minkowski sum

Example of Minkowski sum applied to cylinder and cube. Note: that the height of minkowski sum is height of cylinder plus height of cube.

Usage

  1. Select shapes in Tree view or in 3D view
  2. Click on or choose OpenSCAD Minkowski from the top menu.

Limitations

Feature needs OpenSCAD installed and configured in EditPreferences

Notes