• 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

    RaySink

    This simulation component removes any rigid body object (e.g. dynamic, kinematic) which are in contact with the ray during simulation.

    RaySink

    When to use

    Use this simulation component if you want to remove any rigid body object which ray of the RaySink while the simulation is running. For example, the sphere in the figure below is rolling down a slope and should be removed when it touches the ray.

    Sphere rolling down a slope

    How to use

    Add this simulation component from the simulation component library. Select a SinkObject, if desired, and define if dynamic or/and kinematic objects should be removed when they touch the LightBarrier. Set the EnableSink input to True and start the simulation.

    Note

    The objects which are removed can't get restored with the reset!

    Parameters

    RemoveDynamicObjects

    Indicates whether dynamic 3D objects will be removed when they touch the sink object or not.

    RemoveKinematicObjects

    Indicates whether kinematic 3D objects will be removed when they touch the sink object or not.

    GlobalDirection

    Indicates the direction of the light ray in the global coordinate system.

    GlobalOrigin

    Indicates the origin of the light ray in the global coordinate system.

    Length

    Indicates the length of the light ray in m.

    Object3D

    Indicates the 3D object the light ray is attached to. If not set, the reference of the light ray is the world origin.

    Inputs

    EnableSink

    An input indicating whether the sink removes touching objects or not.

    Outputs

    RemovedObjects

    An output indicating how many 3D objects have been removed by this sink since the last simulation reset.

    Example

    In this example, Sphere rolling down a slope into RaySink, should be deleted.

    RaySink Example Properties

    The EnableSink is connected to a BoolConstant simulation component which outputs a constant True value.

    RaySink connected with BoolConstant

    Further Information

    For more details visit the Video Guides section, where you can find a video guide demonstrating this topic under Remove 3D-Objects with sinks.

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