doc:user:geometry:mesh:3d
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:user:geometry:mesh:3d [2015/01/08 15:29] – boman | doc:user:geometry:mesh:3d [2021/11/19 14:52] (current) – papeleux | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| | '' | | '' | ||
| - | In this case, the '' | + | In this case, the '' |
| {{ doc: | {{ doc: | ||
| Line 85: | Line 85: | ||
| === Example ==== | === Example ==== | ||
| - | Extrusion of a circle pierced by a square (see'' | + | Extrusion of a circle pierced by a square (see '' |
| - | {{ commit: | + | {{commit: |
| + | {{: | ||
| + | {{: | ||
| + | {{: | ||
| The definition and meshing of the circle can be seen in the the file. To extrude the result ('' | The definition and meshing of the circle can be seen in the the file. To extrude the result ('' | ||
| Line 94: | Line 97: | ||
| mesher.setFillGroup(True) | mesher.setFillGroup(True) | ||
| mesher.setDirection(0.0, | mesher.setDirection(0.0, | ||
| - | mesher.setLength(8) | + | mesher.setLength(length) |
| - | mesher.setNbOfLayers(10) | + | mesher.setNbOfLayers(nLayers, dist = 1.0) |
| + | mesher.setAnglefct(fctAngle) | ||
| + | mesher.setXfct(fctX) | ||
| + | mesher.setYfct(fctY) | ||
| mesher.execute() | mesher.execute() | ||
| grpNo = mesher.getLastLayer(no) | grpNo = mesher.getLastLayer(no) | ||
| Line 104: | Line 110: | ||
| | setLength | | setLength | ||
| - | | setNbOfLayers | + | | setNbOfLayers |
| + | | | dist : ratio between the length of the last and first element (default : dist = 1.0) | | ||
| + | | setAnglefct(fctAngle) | Application of a rotation of slices around extrusion vector (direction ' | ||
| + | | fctAngle | One parameter defining rotation of slices function in degrees (t) - t=[0,1] ATTENTION : fctAngle(0) = 0 | | ||
| + | | setXfct(fctX) | Application of a modification of the generatrice direction in X Direction | | ||
| + | | setYfct(fctY) | Application of a modification of the generatrice direction in Y Direction | | ||
| + | | fctX/fctY | One parameter defining modification of generatrice : fct(t) - ATTENTION t=[0, | ||
| | execute | | execute | ||
| | getLastLayer(no) | returns the group grpNo (number '' | | getLastLayer(no) | returns the group grpNo (number '' | ||
| Line 179: | Line 191: | ||
| mesher.execute() | mesher.execute() | ||
| - | | gobject | + | | gobject |
| - | | group | Group father of the 3D mesh elements | + | | group | Group father of the 3D mesh elements |
| - | | axe | Line which defines the revolution axis | + | | axe | Line which defines the revolution axis | |
| - | | setLength | + | | setAngle |
| | setNbOfLayers | | setNbOfLayers | ||
| + | | setFillGroup | ||
| | execute | | execute | ||
| + | | getLastLayer | ||
| ==== Example ==== | ==== Example ==== | ||
| {{: | {{: | ||
doc/user/geometry/mesh/3d.1420727399.txt.gz · Last modified: (external edit)
