When working with CAD models, you may have noticed that they often lack of cable structures, making it difficult to accurately simulate cable movement and interactions.
This is where wires come in handy. By creating wires within the frontline.io 3D Studio, you can easily add cables to your model, and use them to animate movement and interactions. With this guide, you'll be able to overcome the challenge of animating cables and bring your digital twin to life.
This action will generate a basic wire shape on the floor of your scene and create a corresponding Wire game object in the hierarchy panel.
To begin adjusting the wire's position, you'll need to make sure that Gizmos are visible in the Scene window:
Radial Resolution
Flatten Wire
Enabling this option will flatten out your wire, effectively turning it into a ribbon cable. You can further adjust this by modifying the Flatten Wire Ratio and Rotation Offset sub-options.
Thickness
Use this setting to adjust the wire's thickness.
Curves Per Segments
Increasing the curves per segment value will add more control points along the wire, giving you greater control over its shape.
Twist Angle
Use this setting to twist your cable, creating the effect of a metal wire. Note that applying this effect may require higher mesh and radial resolutions.
Elastic Wire
Enabling this option will make your wire more dynamic, allowing you to create a "natural and realistic" pose for it.
Connectors
Start / End Connector: You can add an object at the start and end of the wire to serve as a connector.
In the Mode setting, you can choose how the tangent of the control point behaves. You have 3 options to choose from:
Free: allows you to move the tangent freely
Aligned: aligns the tangent to the wire
Mirrored: mirrors both tangents and moves them together in opposite ways
Twist Angle
The Twist Angle setting acts like the twist angle in the wire settings, but only affects the control point.
Twist Offset
With the Twist Offset setting, you can move along the twist effect on the cable from the control point.
Thickness
The thickness setting allows you to edit the thickness for the control point.
Thickness offset
The thickness Offset setting lets you move along the thickness effect on the cable from the control point.
Prepend/Append
The Prepend/Append setting lets you create an extension wire from the start/end control points.
Straighten
To straighten the point, use the Straighten setting.
Remove
To remove a control point from the wire, use the Remove setting.
Alternatively, you can place a placeholder where you want the wire to go, and then create the wire between the placeholder and the start/end points. Once you've built the wire in the correct place, you can delete the placeholder.