This generator creates a 3D traditional or flat plate. A set of parameters control the size and the shape of the plate. It is possible to generale low-poly plate by reducing its complexity, removing edges and using flat shading. Click on a snapshot to open it online.
import { Plate } from "3d-assets/plate.js";
var model = new Plate ({
plateHeight: 1.6,
plateSize: 18,
plateShape: 25,
plateWidth: 0.3,
plateComplexity: 50,
simple: false,
flat: false
});
plateHeight
– height of the plate, in cm, [0.5, 5]plateSize
– diameter of the plate, in cm, [6, 30]plateShape
– slope of the walls, in degrees, [0, 35]plateWidth
– width of the walls, in cm, [0.3, 1]plateComplexity
– number of faces along the plate perimeter, [4, 120]simple
– if true the complexity of the profile is reduced, booleanflat
– if true flat shading is used, booleanAn instance of Plate
is a THREE.Group
with one submesh called body
.