mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-16 13:50:05 +01:00
add convexity
This commit is contained in:
parent
29594b8688
commit
02895d6529
@ -18,6 +18,7 @@ Follow the steps described in [img2gray](https://github.com/JustinSDK/img2gray).
|
||||
- `depth` : The depth of the image. Default to half of `thickness`.
|
||||
- `angle` : The central angle of the arc. Default to 180.
|
||||
- `invert` : Inverts height values of the image. Default to `false`.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -17,6 +17,7 @@ Follow the steps described in [img2gray](https://github.com/JustinSDK/img2gray).
|
||||
- `thickness` : The thickness of the model.
|
||||
- `depth` : The depth of the image. Default to half of `thickness`.
|
||||
- `invert` : Inverts height values of the image. Default to `false`.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -19,6 +19,7 @@ Follow the steps described in [img2gray](https://github.com/JustinSDK/img2gray).
|
||||
- `angle` : The central angle of the arc. Default to 360.
|
||||
- `twist` : The number of degrees of through which the rectangle is twisted. Default to 0.
|
||||
- `invert` : Inverts height values of the image. Default to `false`.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -9,6 +9,7 @@ It solidifies two square surfaces, described by a m * n list of `[x, y, z]`s.
|
||||
- `surface1` : A m * n list of `[x, y, z]`s.
|
||||
- `surface2` : A m * n list of `[x, y, z]`s.
|
||||
- `slicing` : Given a rectangle, we have two ways to slice it into two triangles. Using this parameter to determine the way you want. It accepts `"SLASH"` (default) and `"BACK_SLASH"`.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -9,6 +9,7 @@ It solidifies two surfaces with triangular mesh.
|
||||
- `points1` : A list of `[x, y, z]`s.
|
||||
- `points2` : A list of `[x, y, z]`s.
|
||||
- `triangles` : Determine which points are connected by an edge. All triangles have points in the same direction, counter-clockwise. See examples below.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -22,6 +22,7 @@ Follow the steps described in [img2gray](https://github.com/JustinSDK/img2gray).
|
||||
- `depth` : The depth of the image. Default to half of `thickness`.
|
||||
- `angle` : `[za, xa]` mapping angles. Default to `[180, 360]`.
|
||||
- `invert` : Inverts height values of the image. Default to `false`.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -18,6 +18,7 @@ Follow the steps described in [img2gray](https://github.com/JustinSDK/img2gray).
|
||||
- `x_twist` : The number of twisted degrees along the x-axis. Default to 0.
|
||||
- `y_twist` : The number of twisted degrees along the y-axis. Default to 0.
|
||||
- `invert` : Inverts height values of the image. Default to `false`.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -7,6 +7,7 @@ It thickens a surface, described by a m * n list of `[x, y, z]`s.
|
||||
- `points` : A m * n list of `[x, y, z]`s. See examples below.
|
||||
- `thickness` : The depth of the thickening.
|
||||
- `direction` : The direction of thickening. It accepts `"BOTH"` (default), `"FORWARD"` or `"BACKWARD"`. Thickening is applied in both directions from the surface, the direction of the surface normals or the opposite direction to the surface normals. It also accept a direction vector `[x, y, z]`. Thickening is only applied in the direction you give.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -8,6 +8,7 @@ It thickens a surface with triangular mesh.
|
||||
- `thickness` : The depth of the thickening.
|
||||
- `triangles` : Determine which points are connected by an edge. All triangles have points in the same direction, counter-clockwise. If it's ignored, `sf_thickenT` would use `[x, y]` to do Delaunay trianglation.
|
||||
- `direction` : The direction of thickening. It accepts `"BOTH"` (default), `"FORWARD"` or `"BACKWARD"`. Thickening is applied in both directions from the surface, the direction of the surface normals or the opposite direction to the surface normals. It also accept a direction vector `[x, y, z]`. Thickening is only applied in the direction you give.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -19,6 +19,7 @@ Follow the steps described in [img2gray](https://github.com/JustinSDK/img2gray).
|
||||
- `angle` : The torus `[A, a]`. Default to `[360, 360]`.
|
||||
- `twist` : The number of degrees of through which the rectangle is twisted. Default to 0.
|
||||
- `invert` : Inverts height values of the image. Default to `false`.
|
||||
- `convexity` : Integer. This parameter is needed only for correct display of the object in OpenCSG preview mode. It has no effect on the polyhedron rendering. For display problems, setting it to 10 should work fine for most cases. **Since:** 3.3
|
||||
|
||||
## Examples
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user