Forge Manual 中文

Chapter 2: Model Define — Global and General

2.1 Global group

The Global group edits scene-level settings. Both buttons require that no object is selected.

Global group

Global Properties

Operator ID: forge.properties_global

The dialog contains:

Global Properties dialog
Compiler Properties
  • Compiler settings. The Autolimits switch controls automatic range inference. MJCF reference
Global Properties dialog
Option Properties
Flag Option
  • A nested subpanel inside Option Properties containing Override and the individual flag switches. MJCF reference
Global Properties dialog
Statistic Properties

Changes are written directly to the scene's Forge_GlobalConfig.

Visual Properties

Operator ID: forge.properties_visual

The dialog contains Global, Headlight, Map, RGBA, Quality, SSGI, and Tonemapping:

Visual Global Properties dialog
Global Properties
Headlight Properties dialog
Headlight Properties
  • Headlight parameters. When Active is disabled, the Headlight sub-parameters cannot be edited. Export writes the Active state to the headlight active attribute as 1/0; import accepts both 1/0 and true/false. MJCF reference
Map Properties dialog
Map Properties
RGBA Properties dialog
RGBA Properties
  • Color and transparency settings for different decorative objects. MJCF reference
Quality Properties dialog
Quality Properties
SSGI Properties dialog
SSGI Properties
  • SSGI settings. When Active is disabled, SSGI sub-parameters cannot be edited. MJCF reference
Tonemapping Properties dialog
Tonemapping Properties

Changes are written directly to the scene's Forge_VisualConfig.

2.2 General group

General group

Define model

Operator ID: forge.define_model_type

Dialog:

Define model dialog

This operator is available only for objects whose Forge_Model_Type == UNDEFINED. The available Forge types depend on the Blender object type:

Blender object type Forge types available Additional behavior
Empty Link Move to the Link or World Collection and use the LNK_ prefix.
Mesh Visual, Collider Initialize as Mesh; Visual uses Group 2 with contact disabled, Collider uses Group 3; use the GEO_ or COL_ prefix.
Light Light Area Light is unsupported; initialize a Forge Light and use the LIT_ prefix.
Camera Camera Perspective and Orthographic only; use the CAM_ prefix.

Procedure:

  1. Select Blender objects of the same type that have not been defined.
  2. Click Define model.
  3. Choose a Model Type and confirm.

Batch Rename

Operator ID: forge.batch_rename

Dialog:

Batch Rename dialog

The operator becomes available when at least one object is selected:

  1. Enter a common name prefix in New Name.
  2. Enter a numbering placeholder in Numerate; the number of characters determines the zero padding.
  3. Confirm. Names are generated as prefix_number.

For example, with New Name arm and Numerate ###, the results are arm_000, arm_001, and so on.


Forge · Blender add-on documentation