GstarCAD command

3DDISTANCE command

Interactively move the camera closer to or farther from a 3D model to adjust the apparent viewing distance.

Command
3DDISTANCE
Alias
—
Tool group
3D
Level
Intermediate

What does 3DDISTANCE do?

3DDISTANCE interactively changes the viewing distance in a 3D view. It simulates moving the camera closer to or farther away from the model, making objects appear larger or smaller without modifying the geometry itself.

The command is useful when inspecting a 3D model in perspective and you want direct control over the camera-to-target distance.

How to use the command

  1. Type 3DDISTANCE, then press Enter.
  2. The cursor changes to indicate the interactive distance adjustment mode.
  3. Click and drag vertically towards the top of the drawing area to move the camera closer to the model.
  4. Drag towards the bottom of the drawing area to move the camera farther away.
  5. Press Esc or Enter when the required viewing distance is reached.
Command: 3DDISTANCE ↵
Press ESC or ENTER to exit, or right-click to display shortcut-menu.
click and drag vertically to adjust distance
Esc

Key 3DDISTANCE options

3DDISTANCE is controlled interactively with the mouse rather than through a list of command-line options.

Move closer
Drag towards the top of the drawing area to move the camera closer to the model and make objects appear larger.
Move farther
Drag towards the bottom of the drawing area to increase the camera distance and make objects appear smaller.
Shortcut menu
Right-click while the command is active to access other available 3D navigation modes.
Exit
Press Esc or Enter to finish adjusting the viewing distance.

Practical example: inspect a 3D assembly

Suppose you are viewing a mechanical assembly in perspective and need a closer look at a connection between two components. Run 3DDISTANCE and drag upwards to move the camera towards the model.

The components become larger on screen as the viewing distance decreases. After inspecting the detail, drag downwards to move away from the assembly and restore a wider view. The model coordinates and dimensions remain unchanged because only the camera position relative to the target is adjusted.

Tip

Use 3DDISTANCE when you want to simulate moving the camera towards or away from the model. Use 3DZOOM when you want interactive zoom control in a perspective view.

All commands Updated 8 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.