GuiCommand: Name: Mesh BuildRegularSolid MenuLocation: Meshes , Regular solid... Workbenches: Mesh_Workbench
Mesh BuildRegularSolid
Description
The Mesh BuildRegularSolid command creates a regular parametric solid mesh object.
Usage
-
There are several ways to invoke the command:
- Press the
Regular solid... button.
- Select the Meshes →
Regular solid... option from the menu.
- Press the
-
The Regular Solid dialog box opens.
-
First select a mesh object type from the dropdown list:
**<img src="https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/Mesh_Cube.svg" width=16px> Cube
**
-
Cylinder
-
Cone
-
Sphere
-
Ellipsoid
-
Torus
-
-
Specify the required settings. The available settings depend on the mesh object type. See Properties.
-
For meshes with curved surfaces: a higher Sampling value results in a finer mesh.
-
Press the {{button|Create}} button to create the mesh object.
-
Optionally create more mesh objects.
-
Press the {{button|Close}} button to close the dialog box and finish the command.
Notes
- Mesh objects created with this command are parametric. Whenever they are recomputed, for example after changing one of their parameters, their mesh is reconstructed. This means that manipulating them with commands such as Mesh RemeshGmsh, Mesh Scale etc. usually does not make sense.
Properties
Mesh objects created with this command inherit all Mesh Feature properties. In addition each mesh object type has a number of properties to control its parametric behavior:
Cube
Data
{{TitleProperty|Cube}}
-
Height|FloatConstraint: the height of the cube.
-
Length|FloatConstraint: the length of the cube.
-
Width|FloatConstraint: the width of the cube.
Cylinder
Data
{{TitleProperty|Base}}
-
Closed|Bool: if set to
False
, the planar ends of the cylinder are left open. -
Edge Length|FloatConstraint: the edge length of the faces in the mesh.
-
Length|FloatConstraint: the length of the cylinder.
-
Radius|FloatConstraint: the radius of the cylinder.
-
Sampling|IntegerConstraint: the number of faces along the curved surface.
Cone
Data
{{TitleProperty|Base}}
-
Closed|Bool: if set to
False
, the planar end(s) of the cone are left open. -
Edge Length|FloatConstraint: the edge length of the faces in the mesh.
-
Length|FloatConstraint: the length of the cone.
-
Radius 1|FloatConstraint: the first radius of the cone. Can be {{value|0}}.
-
Radius 2|FloatConstraint: the second radius of the cone. Can be {{value|0}}.
-
Sampling|IntegerConstraint: the number of faces along the curved surface.
Sphere
Data
{{TitleProperty|Base}}
-
Radius|FloatConstraint: the radius of the sphere.
-
Sampling|IntegerConstraint: the number of faces along both directions of the curved surface.
Ellipsoid
Data
{{TitleProperty|Base}}
-
Radius 1|FloatConstraint: the first radius of the ellipsoid.
-
Radius 2|FloatConstraint: the second radius of the ellipsoid.
-
Sampling|IntegerConstraint: the number of faces along both directions of the curved surface.
Torus
Data
{{TitleProperty|Base}}
-
Radius 1|FloatConstraint: the first (main) radius the torus.
-
Radius 2|FloatConstraint: the second radius of the torus.
-
Sampling|IntegerConstraint: the number of faces along both directions of the curved surface.
{{Mesh Tools navi}}
⏵ documentation index > Mesh > Mesh BuildRegularSolid
This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Mesh_BuildRegularSolid.md