Oink
GeoImport GeoImport

GeoImport

Imports a 3D scene file (USD, Alembic, OBJ, FBX, glTF, PLY, STL, or a Blender .blend) into the 3D system; the file's animation follows the frame through time offset and time scale.

raw .md

Imports a 3D scene file (USD, Alembic, OBJ, FBX, glTF, PLY, STL, or a Blender .blend) into the 3D system; the file's animation follows the frame through time offset and time scale. No Blender is needed except for .blend, which is converted to USD in the background and converted again when saved. Opening a new file shows an import dialog with the contents, the file's frame range, units scale and up axis.

NodeGeoImport
Menu3D › GeoImport
Names in each format
.oink comp (JSON)"type": "OC_N_geoimport"
.nk scriptGeoImport, also imports ReadGeo, ReadGeo2 (how .nk import works)
Pythonnuke.createNode("GeoImport")
Assistant (MCP)create_node(type="GeoImport")
Tab searchgeoimport, or its initials gi

GeoImport properties

Frame range

  • range_first, range_last: the file's animation holds its first and last frame outside this range. The default (1 to 1) means no range.
  • units_scale, up_axis: scale the file (for example centimetres to metres) and turn Z up to Y up, or the other way.

Localization

localization policy and Update work as on the Read node, for Alembic (.abc) files only, as in Other formats are always read from where they are. See Localization.

Inputs and outputs

PortNameType
input 0scenescene
output 0scenescene

Knobs

Panel tab Geoimport, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
filefilefilefile
localization_policylocalization policymenufromAutoLocalizePathon, fromAutoLocalizePath (from auto-localize path), onDemand (on demand), offlocalizationPolicywhen the .abc file is copied to the local cache (.nk localizationPolicy).
updateLocalizationUpdatebutton (panel only)Update: copy the file now, or again when its source changed.
range_firstframe rangefloat1-10000 to 100000 (integer)range_first
range_lasttofloat1-10000 to 100000 (integer)range_last
time_offsettime offsetfloat0-1000 to 1000time_offset
time_scaletime scalefloat10 to 10time_scale
units_scaleunits scalefloat10.0001 to 1000
up_axisup axismenufilefile (as imported), z_to_y (Z up -> Y up), y_to_z (Y up -> Z up)

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / values.nk knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring

Knob names in .nk scripts

.nk knobKnob here
localizationPolicylocalization_policy
cacheLocallocalization_policy

Other .nk knobs use the same name here. See .nk import.

On this page