Generate Common Shape Point Cloud

Description

Generates common geometric point cloud models from parameters. The generated model uses its center as the origin, such as rectangles, parallelograms, isosceles trapezoids, circles, concentric circles, semicircles, and concentric semicircles.

Overview

Generates point cloud models of common geometric shapes, supporting 7 shapes: rectangle, parallelogram, isosceles trapezoid, circle, concentric circles, semicircle, and concentric semicircles.

Scenarios

Quickly generating a point cloud of a standard shape as a reference model when no real model file is available, which can be used for scene construction or algorithm flow testing.

Inputs and Outputs

Inputs

None: No input.

Outputs

Generated Point Cloud: Point cloud of a geometric shape generated from the parameters.

Parameters

Generate Template Type

Description

Select the geometric shape to generate. Options: Rectangle, Parallelogram, Isosceles Trapezoid, Circle, Concentric Circles, Semicircle, Concentric Semicircles.

Tuning Instructions

Rectangle: Length, Width

Parallelogram: Length, Height, Acute Angle

Isosceles Trapezoid: Top Base, Bottom Base, Height

Circle: Radius

Concentric Circles: Concentric Circle Radius, Concentric Circle Outer Diameter

Semicircle: Radius

Concentric Semicircles: Concentric Circle Radius, Concentric Circle Outer Diameter

Parameter Range

Value range [0, 1000]. The unit for Acute Angle is degrees (°), and other parameters are in mm.

Parameter Range

Values/Range:

  • Rectangle

  • Parallelogram

  • Isosceles Trapezoid

  • Circle

  • Concentric Circles

  • Semicircle

  • Concentric Semicircles

Default: Circle

Plane

Description

Controls whether to generate a 2D planar shape or a 3D solid shape.

Tuning Instructions

  • Enabled (Default): Generates a planar shape where the Z coordinates of all points are 0.

  • Disabled: Extrudes the 2D shape along the Z-axis to generate a 3D solid with the specified "Model Vertical Height". Configuration of "Model Vertical Height" is required.

Parameter Range

Values/Range:

  • True

  • False

Default: True

Model Vertical Height

Description

Specifies the height of the 3D extrusion when "Plane" is disabled. Defines the thickness of the generated 3D model along the Z-axis.

Parameter Range

[1, 1000000], Default value: 10, Unit: mm

Parameter Range

Values/Range: [1, 1000000]

Default: 10

Unit: mm

Enable Fill

Description

Controls whether to generate a solid surface or just contour lines.

Tuning Instructions

Enabled (Default): Generates surface points of the shape. For 3D objects, the top and bottom bases will be filled.

Disabled (False): Generates only the edges or wireframe of the shape. For example, for a circle, only points on the circumference are generated.

Parameter Range

Default: True

Point Distance

Description

  • Decrease this value: The generated point cloud is denser and smoother, but data volume and calculation time will increase.

  • Increase this value: The generated point cloud is sparser with smaller data volume, but shape details may be lost.

Parameter Range

[0, 200], Default value: 0.1, Unit: mm

Parameter Range

Values/Range: [0.0, 200.0]

Default: 0.1

Circle Radius

Description

Specifies the radius of the circle or semicircle.

Parameter Range

Values/Range: [0, 10000]

Default: 10

Inner Diameter

Description

Specifies the inner radius of the concentric circles.

Parameter Range

Values/Range: [0, 10000]

Default: 10

Outer Diameter

Description

Specifies the outer radius of the concentric circles.

Parameter Range

Values/Range: [0, 10000]

Default: 20

Top Base

Description

Specifies the length of the top base of the isosceles trapezoid.

Parameter Range

Values/Range: [0, 10000]

Default: 10

Bottom Base

Description

Specifies the length of the bottom base of the isosceles trapezoid.

Parameter Range

Values/Range: [0, 10000]

Default: 40

Height

Description

Specifies the height of the shape (Parallelogram, Trapezoid).

Parameter Range

Values/Range: [0, 10000]

Default: 20

Length

Description

Specifies the length of the shape (Rectangle, Parallelogram).

Parameter Range

Values/Range: [0, 10000]

Default: 20

Acute Angle

Description

Specifies the acute angle of the parallelogram.

Parameter Range

Values/Range: [0, 10000]

Default: 30

Unit: °

Width

Description

Specifies the width of the rectangle.

Parameter Range

Values/Range: [0, 10000]

Default: 30