• Home
  • User Manual
  • Tutorials
  • Updates
Search Results for

    Show / Hide Table of Contents
    • Welcome to twin
    • Getting Started
      • Install and uninstall twin
      • Install and uninstall a licence
      • Start twin
    • Simulation Component Library
      • Automation
        • ScriptComponent
        • Sequence
      • BitManipulator
        • BitsToBytesConverter
        • BytesToBitsConverter
        • EndiannessChanger
      • BooleanOperations
        • BooleanFunction
        • Invert
        • InputSwitch
      • ControlPanel
        • ControlPanel
      • Conveyor
        • Conveyor
        • VacuumConveyor
      • Debug
        • Counter
      • DataManipulator
        • DataReader
        • DataTypeConverter
        • DataWriter
      • FMU
        • FMU
      • Gripper
        • KinematicGripper
        • ObjectCoupler
        • VacuumGripper
      • HardwareConnector
        • PLCConnector
        • RobotControllerConnector
      • Math
        • Gain
        • LinearFunction
        • LowPassFilter
        • NumberComparer
        • Sum
      • Motor
        • FCControlledMotor
        • ServoMotor
      • Movers
        • BoolToSignedDirection
        • DynamicCylinder
        • DynamicRotationMover
        • DynamicTranslationMover
        • KinematicCylinder
        • KinematicPathMover
        • KinematicRotationMover
        • KinematicTranslationMover
      • ObjectManipulator
        • Colorizer
        • Object3DCutter
        • VisiblityChanger
      • Sensors
        • AngleLimitSwitch
        • CollisionObserver
        • DistanceSensor
        • DynamicObjectDetector
        • LightBarrier
        • PositionLimitSwitch
        • PositionTracker
      • Sinks
        • FileLogger
        • CollisionSink
        • RaySink
      • Sources
        • BoolConstant
        • BoxSource
        • DoubleConstant
        • Object3DFileSource
        • Object3DSource
        • RandomBoolean
        • RandomNumber
        • SinusGenerator
        • SphereSource
        • StringConstant
      • Timers
        • IntervalTrigger
        • TOF
        • TON
    • Collision Detection
      • What is essential for collision detection?
      • Where can I find the mesh simplifiers?
      • Which mesh simplification methods are available?
    • twin Mirror
      • Install the twin Mirror
      • Embed the twin Mirror into your HMI
      • React on user-events
      • Manipulate 3D objects
      • Add labels and buttons
    • Video Guides
      • How to install twin
      • How to organize projects
      • How to import CAD files
      • How to handle 3D objects
      • How to activate physics in your simulation
      • How to simulate conveyor systems
      • How to simulate cylinders
      • How to simulate axis systems and portals
      • How to simulate sensors
      • How to simulate grippers
      • How to create program sequences
      • How to connect to PLCs
      • How to simulate robots
      • How to model complex mechanical motion systems
      • How to debug and analyse signals in twin

    Object3DFileSource

    This simulation component is a source for generating 3D objects. It allows you to import 3D models from a file.

    Object3DFileSource

    When to use

    Use this simulation component if it is not yet clear during the simulation which products are to be produced in the future.

    How to use

    Create an instance of this simulation component and set the TemplateFolder property to specify the location of the 3D model file. You can also set the Scale property to adjust the size of the imported 3D model. The TemplateFilename input is the name of the file in the defined folder. Trigger the input Trigger to import and create the selected file.

    Parameters

    TemplateFolder

    Specifies the folder where the 3D model file is located.

    Scale

    Specifies a scaling factor for the imported 3D model. The value must be greater than zero.

    NewObjectBehavior

    Indicates the rigid body behavior of the new 3D sphere object.

    Slope

    Indicates on which slope (rising or falling) of the input Trigger a new sphere should be added to the simulation.

    Material

    Defines the physical material of the imported 3D model.

    Inputs

    RemoveObjects

    If set to true, all 3D objects created by this source will be removed from the simulation.

    TemplateFilename

    Specifies the name of the 3D model file in the TemplateFolder.

    Trigger

    If triggered, this input adds a new object 3D to the simulation based on the specified slope.

    Outputs

    AddedObjectsCount

    Outputs the number of objects, this source has added to the simulation since the last reset.

    Example

    In this example, the twin project is used as a digital machine mirror project. The customer has the requirement to add 3D objects by himself without adapting the simulation model. For this purpose Object3DFileSource simulation component is used.

    When the simulation component is added, a container will be created in the assembly structure which holds the created objects.

    Moveable Container

    The container coordinate system has been moved to the position where the 3D objects should be created.

    Moving Container

    As can be seen in the following picture, a local path has been defined and the scale is set to 0.001.

    Example Properties

    In this case, the file name and the trigger is controlled by the PLC.

    PLC controls the FileSource

    When the PLC triggers the simulation component, the product will be loaded from the defined file and will be created with the defined object behavior at the defined (container) position.

    PLC triggers File import

    In This Article
    Back to top Copyright © Eberle Automatische Systeme GmbH & Co KG