Assembly CreateSimulation
Assembly CreateSimulation
|
Menu location
|
Assembly → Create Simulation
|
Workbenches
|
Assembly
|
Default shortcut
|
S
|
Introduced in version
|
1.1
|
See also
|
None
|
|
Description
The
Assembly CreateSimulation tool creates a simulation of the current assembly.
Usage
- Make sure that an assembly is active.
- There are several ways to invoke the tool:
- Press the
Create Simulation button.
- Select the Assembly →
Create Simulation option from the menu.
- Use the keyboard shortcut: S.
- If no Simulations object pre-exists: A Simulations container is added to the active assembly.
- A Simulation object is added to the Simulations container.
- The Create Simulation Task panel opens.
- Press the green plus button to open a dialog window.
- Select one joint from the list.
- If necessary select a Motion Type.
- Optionally edit the Formula.
- Press the OK button to close the dialog.
- Optionally adjust the Simulation settings.
- Press the Generate button.
- An Animation Player section is added to the Task panel.
- Use the player widgets to animate the assembly.
- Press the OK button to finish the tool and close the Task panel.
Notes
- The unnamed dialog helps to define an actuator:
- Select the desired joint from the Joints list.
- If there is more than one transformation available with the selected joint, select one from the Motion Type list.
- Edit the Formula that describes the relation between the time running and the driven angle/distance.
- Optionally press the Help button to see examples of Formula descriptions.
- In the Formula time seems to represent 1 rad per second, and with 360° = 6,283 rad for a full rotation we can do either:
- Enter
6.283 * time
in the Formula field and set a duration (End value - Start value) of one second under Simulation settings in the Task panel.
- Enter
1 * time
in the Formula field and set a duration (End value - Start value) of 6.283 seconds under Simulation settings in the Task panel.
Properties
See also: Property editor.
Simulations
A Simulations container is an Assembly::SimulationGroup
object which is derived from an App DocumentObjectGroup object and inherits all its properties. It has no additional properties.
Simulation
A Simulation object is derived from an App FeaturePython object and inherits all its properties. It also has the following additional properties:
Data
Base
- DataGroup (
LinkList
): The Motion objects of the object.
- Data (hidden)_ Group Touched (
Bool
):
Simulation
- Dataa Time Start (
Time
): Default is 0.0 s
. Simulation start time.
- Datab Time End (
Time
): Default is 4.0 s
. Simulation end time.
- Datac Time Step Output (
Time
): Default is 0.01 s
. Simulation time step for output.
- Dataf Global Error Tolerance (
Float
): Default is 1e-06
. Integration global error tolerance.
- Dataj Frames Per Second (
Integer
): Default is 30
. Frames Per Second.
View
Space
- ViewDecimals (
Integer
): Default is 9
. The number of decimals to use for calculated texts.
Motion
A Motion object is derived from an App FeaturePython object and inherits all its properties. It also has the following additional properties:
Data
Motion
- DataFormula (
String
): The formula of the motion. For example 1.0*time
.
- DataJoint (
XLinkSubHidden
): The joint that is moved by the motion.
- DataMotion Type (
Enumeration
): The type of the motion. The options are: Angular
and Linear
.
Assembly
- Joints: Toggle Grounded, Create a Fixed Joint, Create Revolute Joint, Create Cylindrical Joint, Create Slider Joint, Create Ball Joint, Create Distance Joint, Create Parallel Joint, Create Perpendicular Joint, Create Angle Joint, Create Rack and Pinion Joint, Create Screw Joint, Create Gears Joint, Create Belt Joint
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework