CoppeliaSim 4.3.0 User Manual - CoppeliaSim 4.3.0 使用者手冊

  • Home
    • Site Map
    • reveal
    • blog
  • welcome
  • userInterface
    • pagesAndViews
    • coordinateDialog
    • positionDialog
    • orientationDialog
    • objectMovement
    • positionOrientationTransformation
    • settings
    • shortcuts
  • scenesAndModels
    • scenes
    • models
    • modelDialog
  • environment
    • environmentPropertiesDialog
    • textureDialog
  • entities
    • collections
    • objects
      • sceneObjectPropertiesDialog
      • commonPropertiesDialog
    • collidableObjects
    • measurableObjects
    • detectableObjects
    • viewableObjects
    • convexHull
    • layerSelectionDialog
      • cameras
      • cameraPropertiesDialog
      • lights
      • lightPropertiesDialog
      • shapes
      • shapeReferenceFrames
      • primitiveShapes
      • convexDecomposition
      • shapeProperties
      • shapeDynamicsProperties
      • shapeDynamicEngineProperties
      • geometryDialog
      • shapeEditModes
      • triangleEditMode
      • vertexEditMode
      • edgeEditMode
      • groupedShapeEditMode
      • joints
      • jointModes
      • jointProperties
      • jointDynamicsProperties
      • jointDynamicEngineProperties
      • dummies
      • dummyPropertiesDialog
      • graphs
      • graphPropertiesDialog
      • proximitySensors
      • proximitySensorDescription
      • proximitySensorPropertiesDialog
      • proximitySensorVolumeDialog
      • proximitySensorDetectionParameterDialog
      • visionSensors
      • visionSensorDescription
      • visionSensorPropertiesDialog
      • forceSensors
      • forceSensorPropertiesDialog
      • octrees
      • octreePropertiesDialog
      • pointClouds
      • pointCloudPropertiesDialog
    • paths
  • functionality
    • geometricCalculations
    • collisionDetection
    • distanceCalculation
      • geometricPlugin
      • simGeom API
      • coppeliaGeometricRoutines
      • CoppeliaGeometricRoutinesAPI
    • IGLPluginAPIreference
    • kinematics
    • basicsOnIkGroupsAndIkElements
    • solvingIkAndFk
      • kinematicsPlugin
      • simIKAPI
      • coppeliaKinematicsRoutines
      • CoppeliaKinematicsRoutinesAPI
    • dynamicsModule
    • designingDynamicSimulations
      • dynamicsDialog
      • dynamicsEngineDialog
    • dataVisualizationAndOutput
    • externalFrontEnd
    • dataTransformation
    • meansOfCommunication
      • remoteApiOverview
      • zmqRemoteApiOverview
      • wsRemoteApiOverview
      • rosInterfaces
      • rosInterf
      • ROSPluginAPIreference
      • ros2Interface
      • ROS2PluginAPIreference
    • ZMQPluginAPIreference
    • WSPluginAPIreference
    • pathsAndTrajectories
    • pathAndMotionPlanningModules
    • OMPLPluginAPIreference
    • syntheticVision
    • IMPluginAPIreference
    • simVisionAPI
    • customUIPlugin
    • UIPluginAPIreference
    • simUI-widgets
    • QMLPluginAPIreference
    • importExport
    • xmlFormat
      • urdfPlugin
      • APIFunctions
      • sdfPlugin
      • SDFPluginAPIreference
    • aviRecorder
    • AssimpPluginAPIreference
    • GLTFPluginAPIreference
      • commandLine
      • LuaCmdPluginAPIreference
      • miscellaneousFunctionality
      • SurfRecPluginAPIreference
      • ICPPluginAPIreference
      • SubprocessPluginAPIreference
  • writingCode
    • scripts
      • embeddedScripts
      • simulationScripts
      • mainScript
      • childScripts
      • customizationScripts
      • scriptProperties
      • scriptEditor
    • addOns
    • sandboxScript
    • scriptExecution
    • threadedAndNonThreadedCode
      • callbackFunctions
      • dynCallbackFunctions
      • jointCallbackFunctions
      • contactCallbackFunction
      • visionCallbackFunctions
      • triggerCallbackFunctions
      • userConfigCallbackFunctions
    • luaPythonDifferences
    • luaCrashCourse
    • plugins
    • mainClientApplication
    • accessingSceneObjects
    • explicitHandling
    • apisOverview
      • apiFunctions
      • apiConstants
      • objectParameterIDs
  • simulation
    • simulationPropertiesDialog
  • tutorials
    • bubbleRobTutorial
    • buildingAModelTutorial
    • lineFollowingBubbleRobTutorial
    • inverseKinematicsTutorial
    • externalControllerTutorial
    • pluginTutorial
    • robotLanguageIntegrationTutorial
    • rosTutorial
      • ros1Tutorial
      • ros2Tutorial
    • compilingCoppeliaSim
AssimpPluginAPIreference << Previous Next >> commandLine

GLTFPluginAPIreference

GLTF Plugin API reference

Plugin for glTF format support

simGLTF.animationFrameCount
simGLTF.clear
simGLTF.exportAllObjects
simGLTF.exportAnimation
simGLTF.exportObject
simGLTF.exportObjects
simGLTF.exportSelectedObjects
simGLTF.exportShape
simGLTF.loadASCII
simGLTF.loadBinary
simGLTF.recordAnimation
simGLTF.saveASCII
simGLTF.saveBinary
simGLTF.serialize

simGLTF.animationFrameCount
Description Return count of animation frames.
Lua synopsis int count=simGLTF.animationFrameCount()
Lua parameters -
Lua return values
count (int): count of frames
Python synopsis int count=simGLTF.animationFrameCount()
See also


simGLTF.clear
Description Clear all data stored in memory (geometry, material, animation, cache).
Lua synopsis simGLTF.clear()
Lua parameters -
Lua return values -
Python synopsis simGLTF.clear()
See also


simGLTF.exportAllObjects
Description Export all objects to glTF model.
Lua synopsis simGLTF.exportAllObjects()
Lua parameters -
Lua return values -
Python synopsis simGLTF.exportAllObjects()
See also


simGLTF.exportAnimation
Description Export animation data to glTF model.
Lua synopsis simGLTF.exportAnimation()
Lua parameters -
Lua return values -
Python synopsis simGLTF.exportAnimation()
See also


simGLTF.exportObject
Description Export object to glTF model.
Lua synopsis int nodeIndex=simGLTF.exportObject(int objectHandle)
Lua parameters
objectHandle (int): handle of the object
Lua return values
nodeIndex (int): index of the new node (may contain sub-nodes)
Python synopsis int nodeIndex=simGLTF.exportObject(int objectHandle)
See also


simGLTF.exportObjects
Description Export objects to glTF model.
Lua synopsis simGLTF.exportObjects(int[] objectHandles)
Lua parameters
objectHandles (table of int): handles of the objects
Lua return values -
Python synopsis simGLTF.exportObjects(list objectHandles)
See also


simGLTF.exportSelectedObjects
Description Export selected objects to glTF model.
Lua synopsis simGLTF.exportSelectedObjects()
Lua parameters -
Lua return values -
Python synopsis simGLTF.exportSelectedObjects()
See also


simGLTF.exportShape
Description Export shape to glTF model.
Lua synopsis int nodeIndex=simGLTF.exportShape(int shapeHandle, int parentHandle=-1, int parentNodeIndex=0)
Lua parameters
shapeHandle (int): handle of the shape
parentHandle (int, default: -1): handle of the parent object. if specified the matrix of the node will be relative to this. use this in conjunction with parentNodeIndex parameter.
parentNodeIndex (int, default: 0): index of parent node
Lua return values
nodeIndex (int): index of the new node (may contain sub-nodes)
Python synopsis int nodeIndex=simGLTF.exportShape(int shapeHandle, int parentHandle=-1, int parentNodeIndex=0)
See also


simGLTF.loadASCII
Description Load an ASCII glTF model.
Lua synopsis bool result, string warnings, string errors=simGLTF.loadASCII(string filepath)
Lua parameters
filepath (string):
Lua return values
result (bool): true if success
warnings (string): warning message(s)
errors (string): error message(s)
Python synopsis bool result, string warnings, string errors=simGLTF.loadASCII(string filepath)
See also


simGLTF.loadBinary
Description Load a binary (.glb) glTF model.
Lua synopsis bool result, string warnings, string errors=simGLTF.loadBinary(string filepath)
Lua parameters
filepath (string):
Lua return values
result (bool): true if success
warnings (string): warning message(s)
errors (string): error message(s)
Python synopsis bool result, string warnings, string errors=simGLTF.loadBinary(string filepath)
See also


simGLTF.recordAnimation
Description Export animation data to glTF model.
Lua synopsis simGLTF.recordAnimation(bool enable)
Lua parameters
enable (bool): if true the plugin will record the pose of all objects during simulation
Lua return values -
Python synopsis simGLTF.recordAnimation(bool enable)
See also


simGLTF.saveASCII
Description Save a glTF model to an ASCII file.
Lua synopsis bool result=simGLTF.saveASCII(string filepath)
Lua parameters
filepath (string):
Lua return values
result (bool): true if success
Python synopsis bool result=simGLTF.saveASCII(string filepath)
See also


simGLTF.saveBinary
Description Save a glTF model to a binary file.
Lua synopsis bool result=simGLTF.saveBinary(string filepath)
Lua parameters
filepath (string):
Lua return values
result (bool): true if success
Python synopsis bool result=simGLTF.saveBinary(string filepath)
See also


simGLTF.serialize
Description Serialize glTF model to JSON string.
Lua synopsis string json=simGLTF.serialize()
Lua parameters -
Lua return values
json (string): the JSON document
Python synopsis string json=simGLTF.serialize()
See also

, , , ,
AssimpPluginAPIreference << Previous Next >> commandLine

Copyright © All rights reserved | This template is made with by Colorlib