diff --git a/class_mola_1_1_mesh_subdivision-members.html b/class_mola_1_1_mesh_subdivision-members.html
index 16aa3ec..5fbfb7f 100644
--- a/class_mola_1_1_mesh_subdivision-members.html
+++ b/class_mola_1_1_mesh_subdivision-members.html
@@ -90,6 +90,8 @@
CatmullClark(MolaMesh mesh) | MeshSubdivision | inlinestatic |
Extrude(MolaMesh molaMesh, float height, bool capTop=true) | MeshSubdivision | inlinestatic |
Extrude(MolaMesh molaMesh, List< float > heights, List< bool > capTops) | MeshSubdivision | inlinestatic |
+ ExtrudeAlongVec(MolaMesh molaMesh, Vec3 direction, float height, bool capTop=true) | MeshSubdivision | inlinestatic |
+ ExtrudeAlongVec(MolaMesh molaMesh, List< Vec3 > directions, List< float > heights, List< bool > capTops) | MeshSubdivision | inlinestatic |
ExtrudeTapered(MolaMesh molaMesh, float height, float fraction, bool capTop) | MeshSubdivision | inlinestatic |
ExtrudeTapered(MolaMesh molaMesh, List< float > heights, List< float > fractions, List< bool > capTops) | MeshSubdivision | inlinestatic |
ExtrudeToPointCenter(MolaMesh molaMesh, float height=0f) | MeshSubdivision | inlinestatic |
diff --git a/class_mola_1_1_mesh_subdivision.html b/class_mola_1_1_mesh_subdivision.html
index a062015..13f0a57 100644
--- a/class_mola_1_1_mesh_subdivision.html
+++ b/class_mola_1_1_mesh_subdivision.html
@@ -102,6 +102,12 @@
static MolaMesh | Extrude (MolaMesh molaMesh, List< float > heights, List< bool > capTops) |
| Extrudes the all faces in a MolaMesh straight by a list distance height.
|
|
+static MolaMesh | ExtrudeAlongVec (MolaMesh molaMesh, List< Vec3 > directions, List< float > heights, List< bool > capTops) |
+ | Extrudes the all faces in a MolaMesh along a list of directions and by a list distance height.
|
+ |
+static MolaMesh | ExtrudeAlongVec (MolaMesh molaMesh, Vec3 direction, float height, bool capTop=true) |
+ | Extrudes the all faces in a MolaMesh along a direction by a single distance height.
|
+ |
static MolaMesh | ExtrudeTapered (MolaMesh molaMesh, float height, float fraction, bool capTop) |
| Extrudes all face in a MolaMesh tapered like a window by creating an offset face and quads between every original edge and the corresponding new edge.
|
|
@@ -283,6 +289,109 @@ ReturnsThe result MolaMesh
+
+
+
+◆ ExtrudeAlongVec() [1/2]
+
+
+
+
+
+
+
+
+ static MolaMesh ExtrudeAlongVec |
+ ( |
+ MolaMesh | molaMesh, |
+
+
+ |
+ |
+ List< Vec3 > | directions, |
+
+
+ |
+ |
+ List< float > | heights, |
+
+
+ |
+ |
+ List< bool > | capTops ) |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Extrudes the all faces in a MolaMesh along a list of directions and by a list distance height.
+
The list length must much the face count.
+
- Parameters
-
+
+ molaMesh | A MolaMesh |
+ directions | A list of Vec3 |
+ heights | A list Extruding height |
+ capTops | A list of bool to decide Wether to cap the top or not |
+
+
+
+
- Returns
- The result MolaMesh
+
+
+
+
+◆ ExtrudeAlongVec() [2/2]
+
+
+
+
+
+
+
+
+ static MolaMesh ExtrudeAlongVec |
+ ( |
+ MolaMesh | molaMesh, |
+
+
+ |
+ |
+ Vec3 | direction, |
+
+
+ |
+ |
+ float | height, |
+
+
+ |
+ |
+ bool | capTop = true ) |
+
+
+ |
+
+inlinestatic |
+
+
+
+
+
Extrudes the all faces in a MolaMesh along a direction by a single distance height.
+
- Parameters
-
+
+ molaMesh | A MolaMesh |
+ direction | A Vec3 for direction |
+ height | Extruding height |
+ capTop | Wether to cp the top or not |
+
+
+
+
- Returns
- The result MolaMesh
+
diff --git a/functions.html b/functions.html
index 019f53f..b8295d5 100644
--- a/functions.html
+++ b/functions.html
@@ -102,6 +102,7 @@ - c -
- e -
diff --git a/functions_func.html b/functions_func.html
index d02c313..f6c6087 100644
--- a/functions_func.html
+++ b/functions_func.html
@@ -101,6 +101,7 @@ - c -
- e -
diff --git a/search/all_1.js b/search/all_1.js
index 3651cfa..df5f22b 100644
--- a/search/all_1.js
+++ b/search/all_1.js
@@ -2,6 +2,7 @@ var searchData=
[
['example_0',['Example',['../class_mola_1_1_mesh_analysis.html#autotoc_md0',1,'Example'],['../class_mola_1_1_mesh_tools.html#autotoc_md1',1,'Example'],['../class_mola_1_1_mola_grid.html#autotoc_md2',1,'Example'],['../class_mola_1_1_mola_mesh.html#autotoc_md3',1,'Example']]],
['extrude_1',['Extrude',['../class_mola_1_1_mesh_subdivision.html#a740b83a5e3882e80260b40d77ec5780e',1,'Mola.MeshSubdivision.Extrude(MolaMesh molaMesh, float height, bool capTop=true)'],['../class_mola_1_1_mesh_subdivision.html#a602e16bee4859442d4a7859514cf79b2',1,'Mola.MeshSubdivision.Extrude(MolaMesh molaMesh, List< float > heights, List< bool > capTops)']]],
- ['extrudetapered_2',['ExtrudeTapered',['../class_mola_1_1_mesh_subdivision.html#a01eba07f22ef9487188a6910bd15fd5b',1,'Mola.MeshSubdivision.ExtrudeTapered(MolaMesh molaMesh, float height, float fraction, bool capTop)'],['../class_mola_1_1_mesh_subdivision.html#a60fbf79a4203aa05321da53e89f367fc',1,'Mola.MeshSubdivision.ExtrudeTapered(MolaMesh molaMesh, List< float > heights, List< float > fractions, List< bool > capTops)']]],
- ['extrudetopointcenter_3',['ExtrudeToPointCenter',['../class_mola_1_1_mesh_subdivision.html#ab03fe6002a5226c66364ef177f75269d',1,'Mola.MeshSubdivision.ExtrudeToPointCenter(MolaMesh molaMesh, float height=0f)'],['../class_mola_1_1_mesh_subdivision.html#a81ebd54cc0eed11a91377ac2017581bd',1,'Mola.MeshSubdivision.ExtrudeToPointCenter(MolaMesh molaMesh, List< float > heightList)']]]
+ ['extrudealongvec_2',['ExtrudeAlongVec',['../class_mola_1_1_mesh_subdivision.html#a26b99635f7ebb469061e67e72241c342',1,'Mola.MeshSubdivision.ExtrudeAlongVec(MolaMesh molaMesh, Vec3 direction, float height, bool capTop=true)'],['../class_mola_1_1_mesh_subdivision.html#aa8dbbf2507a01ff90f6e575b4f6661e2',1,'Mola.MeshSubdivision.ExtrudeAlongVec(MolaMesh molaMesh, List< Vec3 > directions, List< float > heights, List< bool > capTops)']]],
+ ['extrudetapered_3',['ExtrudeTapered',['../class_mola_1_1_mesh_subdivision.html#a01eba07f22ef9487188a6910bd15fd5b',1,'Mola.MeshSubdivision.ExtrudeTapered(MolaMesh molaMesh, float height, float fraction, bool capTop)'],['../class_mola_1_1_mesh_subdivision.html#a60fbf79a4203aa05321da53e89f367fc',1,'Mola.MeshSubdivision.ExtrudeTapered(MolaMesh molaMesh, List< float > heights, List< float > fractions, List< bool > capTops)']]],
+ ['extrudetopointcenter_4',['ExtrudeToPointCenter',['../class_mola_1_1_mesh_subdivision.html#ab03fe6002a5226c66364ef177f75269d',1,'Mola.MeshSubdivision.ExtrudeToPointCenter(MolaMesh molaMesh, float height=0f)'],['../class_mola_1_1_mesh_subdivision.html#a81ebd54cc0eed11a91377ac2017581bd',1,'Mola.MeshSubdivision.ExtrudeToPointCenter(MolaMesh molaMesh, List< float > heightList)']]]
];
diff --git a/search/functions_1.js b/search/functions_1.js
index f5ef9c8..7342a41 100644
--- a/search/functions_1.js
+++ b/search/functions_1.js
@@ -1,6 +1,7 @@
var searchData=
[
['extrude_0',['Extrude',['../class_mola_1_1_mesh_subdivision.html#a740b83a5e3882e80260b40d77ec5780e',1,'Mola.MeshSubdivision.Extrude(MolaMesh molaMesh, float height, bool capTop=true)'],['../class_mola_1_1_mesh_subdivision.html#a602e16bee4859442d4a7859514cf79b2',1,'Mola.MeshSubdivision.Extrude(MolaMesh molaMesh, List< float > heights, List< bool > capTops)']]],
- ['extrudetapered_1',['ExtrudeTapered',['../class_mola_1_1_mesh_subdivision.html#a01eba07f22ef9487188a6910bd15fd5b',1,'Mola.MeshSubdivision.ExtrudeTapered(MolaMesh molaMesh, float height, float fraction, bool capTop)'],['../class_mola_1_1_mesh_subdivision.html#a60fbf79a4203aa05321da53e89f367fc',1,'Mola.MeshSubdivision.ExtrudeTapered(MolaMesh molaMesh, List< float > heights, List< float > fractions, List< bool > capTops)']]],
- ['extrudetopointcenter_2',['ExtrudeToPointCenter',['../class_mola_1_1_mesh_subdivision.html#ab03fe6002a5226c66364ef177f75269d',1,'Mola.MeshSubdivision.ExtrudeToPointCenter(MolaMesh molaMesh, float height=0f)'],['../class_mola_1_1_mesh_subdivision.html#a81ebd54cc0eed11a91377ac2017581bd',1,'Mola.MeshSubdivision.ExtrudeToPointCenter(MolaMesh molaMesh, List< float > heightList)']]]
+ ['extrudealongvec_1',['ExtrudeAlongVec',['../class_mola_1_1_mesh_subdivision.html#a26b99635f7ebb469061e67e72241c342',1,'Mola.MeshSubdivision.ExtrudeAlongVec(MolaMesh molaMesh, Vec3 direction, float height, bool capTop=true)'],['../class_mola_1_1_mesh_subdivision.html#aa8dbbf2507a01ff90f6e575b4f6661e2',1,'Mola.MeshSubdivision.ExtrudeAlongVec(MolaMesh molaMesh, List< Vec3 > directions, List< float > heights, List< bool > capTops)']]],
+ ['extrudetapered_2',['ExtrudeTapered',['../class_mola_1_1_mesh_subdivision.html#a01eba07f22ef9487188a6910bd15fd5b',1,'Mola.MeshSubdivision.ExtrudeTapered(MolaMesh molaMesh, float height, float fraction, bool capTop)'],['../class_mola_1_1_mesh_subdivision.html#a60fbf79a4203aa05321da53e89f367fc',1,'Mola.MeshSubdivision.ExtrudeTapered(MolaMesh molaMesh, List< float > heights, List< float > fractions, List< bool > capTops)']]],
+ ['extrudetopointcenter_3',['ExtrudeToPointCenter',['../class_mola_1_1_mesh_subdivision.html#ab03fe6002a5226c66364ef177f75269d',1,'Mola.MeshSubdivision.ExtrudeToPointCenter(MolaMesh molaMesh, float height=0f)'],['../class_mola_1_1_mesh_subdivision.html#a81ebd54cc0eed11a91377ac2017581bd',1,'Mola.MeshSubdivision.ExtrudeToPointCenter(MolaMesh molaMesh, List< float > heightList)']]]
];