GstarCAD command

BOX command

Create rectangular 3D solid boxes or cubes using corner points, precise dimensions, a centre point or a two-point height.

Command
BOX
Alias
—
Tool group
3D
Level
Beginner

What does BOX do?

BOX creates a rectangular 3D solid directly from dimensions or selected points. It is one of the basic solid-modelling commands and is useful for quickly creating plates, blocks, walls and other rectangular components.

The box base is parallel to the XY plane of the current UCS. Its height normally extends along the Z axis, and you can use positive or negative values to control the direction.

How to use the command

  1. Type BOX, then press Enter.
  2. Specify the first corner of the box base.
  3. Specify the opposite corner, or choose Cube or Length.
  4. Specify the height of the box.
  5. GstarCAD creates the resulting 3D solid.
Command: BOX ↵
Specify first corner or [Center]: 0,0,0 ↵
Specify other corner or [Cube/Length]: 100,60 ↵
Specify height or [2Point]: 40 ↵

Key BOX options

The available options provide several ways to define the position and dimensions of the solid.

Center
Creates the box from a specified centre point instead of starting from a corner.
Cube
Creates a box with equal length, width and height.
Length
Lets you specify the length, width and height separately. Length corresponds to the X axis, width to the Y axis and height to the Z axis of the current UCS.
2Point
Defines the box height using the distance between two specified points instead of entering a numerical height.
Positive or negative height
A positive height extends along the positive Z direction, while a negative value creates the box in the negative Z direction.

Practical example: create a rectangular block

Suppose you need a solid block measuring 100 × 60 × 40 mm. Run BOX, specify 0,0,0 as the first corner and 100,60 as the opposite corner.

Enter 40 for the height. GstarCAD creates a rectangular 3D solid measuring exactly 100 mm long, 60 mm wide and 40 mm high.

Tip

If you already know all three dimensions, use the Length option for precise numerical input. Use Cube when all three sides should have the same length.

All commands Updated 14 October 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.