Tutorial and changed names #57
@ -369,5 +369,5 @@ tube(50, 40, 20, 0f, PI, name = "fragmented tube"){
|
|||||||
|
|||||||
### 7) Extruded
|
### 7) Extruded
|
||||||
|
|
||||||
`extruded` is set by two values: `shape`, and `layer`.
|
`extruded` is set by two values: `shape`, and `layer`.
|
||||||
* `shape` is a value of `List<Point2D>` type. It' s just a list of all points of the solid. *`shape` has to consist of not less than two points!*
|
* `shape` is a value of `List<Point2D>` type. It's just a list of all points of the solid. *`shape` has to consist of not less than two points!*
|
||||||
Use Use `—` (—) instead of ` - `.
```suggestion
hexagon(
Point3D(5, 30, 5),
Point3D(24, 30, 8),
Point3D(20, 30, -10),
Point3D(5, 30, -7),
Point3D(8, 16, 0),
Point3D(12, 16, 0),
Point3D(10, 16, -5),
Point3D(6.5, 12, -3),
name = "custom_hexagon"
) {
color("brown")
}
```
```suggestion
It's scarcely a solid, but it can be visualized, so we mention it.
```
```suggestion
* `shape` is a value of `List<Point2D>` type. It's just a list of all points of the solid. *`shape` has to consist of not less than two points!*
```
```suggestion
#### The main goal of this tutorial is to show the main capabilities of the visualization instrument.
```
```suggestion
3. `rotation` - it's the point, which sets rotations along axes. Initially, the value is `Point3D(0, 0, 0)`. Changing `x` coordinate of the point, you make pivot around `x axis`. The same for other coordinates: changing `y` - pivot around `y axis`, changing `z` - pivot around `z axis`.
```
```suggestion
***There is plenty of other properties, especially those, which you can create by yourself. Here we mention just a small part.***
```
```suggestion
* `name` is an identifier of *any solid*; but in this case, it is an identifier of `polyline`.
```
```suggestion
As you can see, only the rib of `y-axis` differs from other ribs.
```
```suggestion
For a final trial, let's create a `box` with a bigger `x` value.
```
```suggestion
Predictably, only the `x-axis` rib is bigger than other ribs.
```
```suggestion
As for `radius`, it has `Float` type, and, as you can guess, it sets the radius of the sphere which will be created.
```
```suggestion
As the hexagon takes in specific points, we understand that this solid cannot be moved, it is fixed in space, and it can't make pivots.
```
```suggestion
Obviously, `bottomRadius` is responsible for the radius of a bottom base, and `height` sets the height of a cone along the `z-axis`.
```
```suggestion
* `layer` is `MutableList` types variable. (here is a sentence with a description of the work of this function). *The amount of `layer`-s has to be more than one*
```
Use Use `—` (—) instead of ` - `.
```suggestion
hexagon(
Point3D(5, 30, 5),
Point3D(24, 30, 8),
Point3D(20, 30, -10),
Point3D(5, 30, -7),
Point3D(8, 16, 0),
Point3D(12, 16, 0),
Point3D(10, 16, -5),
Point3D(6.5, 12, -3),
name = "custom_hexagon"
) {
color("brown")
}
```
```suggestion
It's scarcely a solid, but it can be visualized, so we mention it.
```
```suggestion
* `shape` is a value of `List<Point2D>` type. It's just a list of all points of the solid. *`shape` has to consist of not less than two points!*
```
```suggestion
#### The main goal of this tutorial is to show the main capabilities of the visualization instrument.
```
```suggestion
3. `rotation` - it's the point, which sets rotations along axes. Initially, the value is `Point3D(0, 0, 0)`. Changing `x` coordinate of the point, you make pivot around `x axis`. The same for other coordinates: changing `y` - pivot around `y axis`, changing `z` - pivot around `z axis`.
```
```suggestion
***There is plenty of other properties, especially those, which you can create by yourself. Here we mention just a small part.***
```
```suggestion
* `name` is an identifier of *any solid*; but in this case, it is an identifier of `polyline`.
```
```suggestion
As you can see, only the rib of `y-axis` differs from other ribs.
```
```suggestion
For a final trial, let's create a `box` with a bigger `x` value.
```
```suggestion
Predictably, only the `x-axis` rib is bigger than other ribs.
```
```suggestion
As for `radius`, it has `Float` type, and, as you can guess, it sets the radius of the sphere which will be created.
```
```suggestion
As the hexagon takes in specific points, we understand that this solid cannot be moved, it is fixed in space, and it can't make pivots.
```
```suggestion
Obviously, `bottomRadius` is responsible for the radius of a bottom base, and `height` sets the height of a cone along the `z-axis`.
```
```suggestion
* `layer` is `MutableList` types variable. (here is a sentence with a description of the work of this function). *The amount of `layer`-s has to be more than one*
```
|
|||||||
* `layer` is `MutableList` types variable. (here is a sentence with description of the work of this function). *The amount of `layer`-s has to be more than one*
|
* `layer` is `MutableList` types variable. (here is a sentence with description of the work of this function). *The amount of `layer`-s has to be more than one*
|
||||||
|
|||||||
Use Use `—` (—) instead of ` - `.
Use Use `—` (—) instead of ` - `.
```suggestion
hexagon(
Point3D(5, 30, 5),
Point3D(24, 30, 8),
Point3D(20, 30, -10),
Point3D(5, 30, -7),
Point3D(8, 16, 0),
Point3D(12, 16, 0),
Point3D(10, 16, -5),
Point3D(6.5, 12, -3),
name = "custom_hexagon"
) {
color("brown")
}
```
```suggestion
hexagon(
Point3D(5, 30, 5),
Point3D(24, 30, 8),
Point3D(20, 30, -10),
Point3D(5, 30, -7),
Point3D(8, 16, 0),
Point3D(12, 16, 0),
Point3D(10, 16, -5),
Point3D(6.5, 12, -3),
name = "custom_hexagon"
) {
color("brown")
}
```
```suggestion
It's scarcely a solid, but it can be visualized, so we mention it.
```
```suggestion
It's scarcely a solid, but it can be visualized, so we mention it.
```
```suggestion
* `shape` is a value of `List<Point2D>` type. It's just a list of all points of the solid. *`shape` has to consist of not less than two points!*
```
```suggestion
* `shape` is a value of `List<Point2D>` type. It's just a list of all points of the solid. *`shape` has to consist of not less than two points!*
```
```suggestion
#### The main goal of this tutorial is to show the main capabilities of the visualization instrument.
```
```suggestion
#### The main goal of this tutorial is to show the main capabilities of the visualization instrument.
```
```suggestion
3. `rotation` - it's the point, which sets rotations along axes. Initially, the value is `Point3D(0, 0, 0)`. Changing `x` coordinate of the point, you make pivot around `x axis`. The same for other coordinates: changing `y` - pivot around `y axis`, changing `z` - pivot around `z axis`.
```
```suggestion
3. `rotation` - it's the point, which sets rotations along axes. Initially, the value is `Point3D(0, 0, 0)`. Changing `x` coordinate of the point, you make pivot around `x axis`. The same for other coordinates: changing `y` - pivot around `y axis`, changing `z` - pivot around `z axis`.
```
```suggestion
***There is plenty of other properties, especially those, which you can create by yourself. Here we mention just a small part.***
```
```suggestion
***There is plenty of other properties, especially those, which you can create by yourself. Here we mention just a small part.***
```
```suggestion
* `name` is an identifier of *any solid*; but in this case, it is an identifier of `polyline`.
```
```suggestion
* `name` is an identifier of *any solid*; but in this case, it is an identifier of `polyline`.
```
```suggestion
As you can see, only the rib of `y-axis` differs from other ribs.
```
```suggestion
As you can see, only the rib of `y-axis` differs from other ribs.
```
```suggestion
For a final trial, let's create a `box` with a bigger `x` value.
```
```suggestion
For a final trial, let's create a `box` with a bigger `x` value.
```
```suggestion
Predictably, only the `x-axis` rib is bigger than other ribs.
```
```suggestion
Predictably, only the `x-axis` rib is bigger than other ribs.
```
```suggestion
As for `radius`, it has `Float` type, and, as you can guess, it sets the radius of the sphere which will be created.
```
```suggestion
As for `radius`, it has `Float` type, and, as you can guess, it sets the radius of the sphere which will be created.
```
```suggestion
As the hexagon takes in specific points, we understand that this solid cannot be moved, it is fixed in space, and it can't make pivots.
```
```suggestion
As the hexagon takes in specific points, we understand that this solid cannot be moved, it is fixed in space, and it can't make pivots.
```
```suggestion
Obviously, `bottomRadius` is responsible for the radius of a bottom base, and `height` sets the height of a cone along the `z-axis`.
```
```suggestion
Obviously, `bottomRadius` is responsible for the radius of a bottom base, and `height` sets the height of a cone along the `z-axis`.
```
```suggestion
* `layer` is `MutableList` types variable. (here is a sentence with a description of the work of this function). *The amount of `layer`-s has to be more than one*
```
```suggestion
* `layer` is `MutableList` types variable. (here is a sentence with a description of the work of this function). *The amount of `layer`-s has to be more than one*
```
|
Loading…
Reference in New Issue
Block a user
Use
—
(—) instead of-
.Use
—
(—) instead of-
.