Creating Motion in SolidWorks-Motion Drivers
Creating Motion in SolidWorks-Motion Drivers
with SolidWorks
Motion Drivers
Jim Boland P.E., CSWP
Keypoint
Animation Wizard
Mates
Angle
Distance
Path
Motors
Constant Speed
Distance
Oscillating
Interpolated
(2010) / Data
Points (2011)
Segment
Expression
Physics
Gravity
Contact
Springs
Friction
Damping
Presentation Goals
Explore the different types of motion drivers available.
Explore the different methods to create animations.
Reduce frustration when creating animations
You can learn what the tools do from the Help menu, but not
methodology.
Key is to know how to use the tools and what to do if it doesnt work.
-Yogi Berra
Presentation Goals
Questions from the SolidWorks Forum
Why arent in-context parts solved in Basic Motion?
Why do parts overlap when using Contact?
Why doesnt contact stop motion driven by a motor?
Why doesnt my animation solve when I add a second or third motor?
How do I animate a robot?
Learning Resources
Tutorials
SolidWorks User Forum
Training classes
Step-by-Step books
Audience Makeup
SolidWorks Version
2011
2010
2009 or earlier
Animation Experience
Beginner
Intermediate
Advanced
Important
We are creating
Animations
NOT
Analysis
What is an Animation?
We are creating movies
No CG animations
3x3
The 3 X 3 Choices
3 - Motion Study Types
Animations
Basic Motion
Motion Analysis
3 - Motion Types
Kinematic
Dynamic
Free
3 - Things You Animate
Components
Properties
Viewpoint
Dynamic Motion
Move
Rebuild
Solve the mates
Solve in-context features
Take
another picture
Repeat
Physical Properties
Drivers:
Mass
Gravity
Gravity
Motors
Forces
Springs
Contact
Contact
Momentum
Forces
Friction
Dampers
Damping
Friction
Solvers.
Solver optimization.
Frame rate determines the intervals when the data is captured for
display.
Important: In-context features are not solved in either the Basic Motion or
SolidWorks Motion study types.
Key Points
Mates
Motors
Gravity
Springs
Contact
Force
Damper
Features
X = Available Function
L = Limit Functionality
Keypoint Animations
Basic Workflow
Adjust Properties
Repeat
01
Exploded View
Exploded Views provide a simple method to create a lot of motion.
02
Interpolation Methods
Snap
Ease In
Linear
Ease Out
Ease In/Ease Out
02
Mates
Global vs. Local Mates
Driving Mates
Distance Mate
Angle Mate
Path Mate
Driven Mates
Mate Order
Mate Names
Use Folders
Sub-assemblies
Easy to use
The Bad
Some mates dont work (or work well) in animations (Width mate)
Some mates better for SolidWorks Motion, others better for Basic
Motion
The Ugly
Mates
Distance Mate
Replace global mate with a local mate specifically for the animation
Angle Mate
Path Mate
Free
Distance
Percent
01
Path Mates
03
04
Try,
Try atry
different
again
method
Give
up,
why be
hard headed
Motors
Motor Types
Rotary
Linear
Motion
On/Off
Constant Speed
Distance
Interpolated/Data Point
Segment
Expression
Oscillating
Servo Motor
Motor Facts
Robot
There are seven motion drivers required
6 rotary
1 linear
Motors
Distance Motor
Angle or Distance
How far
Start
Duration
Graph
(no instantaneous change)
Motors
ON time
Speed
Smooth transitions
Motors
05
Linear
Akima
Cubic
Function Builder
Used to define the motion by:
Segments
Data Points
Expressions
Different data interpolation methods
Provides plots:
Distance
Velocity
Acceleration
Jerk
Text file
Values
Displacement
Velocity
Acceleration
Interpolation
Linear
Akima
Cubic
Segments (2011)
Expression
Predefined functions
Mathematical Functions
Variables and
Constants
Motors
Expression Motion
Only variable in Animations & Basic
Motion is Time
Can use most VB functions
There are three forms of time (2010)
Linear - TIME
Radians - TIMER
Degrees - TIMED
SolidWorks Motion can use other
variables
Allowable Functions
ABS
ACOS
AINT
ASIN
ATAN
ATAN2
COS
COSH
DIM
EXP
LOG
LOG10
MAX
MIN
MOD
SIGN
SIN
SINH
SQRT
STEP
TAN
TANH
DTOR
PI
RTOD
TIME
IF
24mm
35mm
50 m
m
85mm
135mm
200mm
The Problem
The Problem
Desired Video
07
Gravity
Contact
Spring
Used in Basic Motion and SolidWorks Motion
Spring only shows during calculation
Spring Constant
F=kxe
Problem
What type of Motion Study?
Animation
Basic Motion
Motion Analysis
Basic Motion
Spring
Gravity
Other Solutions
Oscillating Motor
Easy to set up
No damping
Expression Motor
Combined Curves
Friction
Used in Basic Motion and SolidWorks Motion
In Basic Motion, friction is determined by material.
In SolidWorks Motion, friction can be applied at:
Joints
Contact
Damping
Force
Only available in SolidWorks Motion
Options are similar to those used for motors
Constant
Interpolated
Expression
KISS principle
The Law of Diminishing Returns
At some point, more and more effort is required for smaller and smaller
improvements
Questions
The End