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)MeshSubdivisioninlinestatic Extrude(MolaMesh molaMesh, float height, bool capTop=true)MeshSubdivisioninlinestatic Extrude(MolaMesh molaMesh, List< float > heights, List< bool > capTops)MeshSubdivisioninlinestatic + ExtrudeAlongVec(MolaMesh molaMesh, Vec3 direction, float height, bool capTop=true)MeshSubdivisioninlinestatic + ExtrudeAlongVec(MolaMesh molaMesh, List< Vec3 > directions, List< float > heights, List< bool > capTops)MeshSubdivisioninlinestatic ExtrudeTapered(MolaMesh molaMesh, float height, float fraction, bool capTop)MeshSubdivisioninlinestatic ExtrudeTapered(MolaMesh molaMesh, List< float > heights, List< float > fractions, List< bool > capTops)MeshSubdivisioninlinestatic ExtrudeToPointCenter(MolaMesh molaMesh, float height=0f)MeshSubdivisioninlinestatic 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 @@

Returns
The 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
+ + + + + +
molaMeshA MolaMesh
directionsA list of Vec3
heightsA list Extruding height
capTopsA 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
+ + + + + +
molaMeshA MolaMesh
directionA Vec3 for direction
heightExtruding height
capTopWether 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 -