WOLFRAM

Products
  • Wolfram|One
  • Mathematica
  • Wolfram Notebook Assistant + LLM Kit
  • Wolfram|Alpha Notebook Edition
  • System Modeler
  • All Products
Consulting & Solutions
  • Wolfram Consulting
  • Industry Solutions
  • Solutions for Education
Learning & Support
  • Wolfram U Courses
  • Wolfram Language Resources
  • Wolfram Community
  • Support FAQs
  • Contact Support
Company
  • About Wolfram
  • Careers
  • Events
  • Educational Programs
  • All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
  • Your Account
  • User Portal
Search

Mechanical Systems  / Function Index  /
Previous section-----Next section

SetBodies
2D/3D

• SetBodies[bodies] incorporates the local coordinates, initial guesses, and inertia properties provided by the bodies into the current mechanism model. The bodies must be a list or sequence of SysBody data objects that are built by the Body function.

• If any of the SysBody objects received by SetBodies contains a PointList option, SetBodies automatically rebuilds the entire system of constraint expressions in the current model so that the changed coordinates are reflected in the current model.
• If none of the SysBody objects contains the PointList option, SetBodies only updates the necessary mass properties or initial guesses.
• See also: SetConstraints, SetLoads.

Further Examples

Load the Modeler2D package.

In[1]:=

This adds two bodies to the model with points and inertia properties. Only the PointList option is meaningful for body 1, other options are ignored.

In[2]:=

This changes the initial guesses for bodies 2 and 3 but leaves their other properties unchanged.

In[3]:=

Any of the values assigned with Body options can be retrieved by using the option name as a function.

In[4]:=
Out[4]=
Out[5]=
Out[6]=

The defined points can be referenced in any MechanicalSystems geometry.

In[7]:=
Out[7]=


  • Products
  • Wolfram|One
  • Mathematica
  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps
  • Finance Platform
  • System Modeler
  • Wolfram Player
  • Wolfram Engine
  • WolframScript
  • Wolfram Workbench
  • Volume & Site Licensing
  • Enterprise Private Cloud
  • Application Server
  • View all...
  • Services
  • Technical Consulting
  • Corporate Consulting
  • For Customers
  • Online Store
  • Product Registration
  • Product Downloads
  • Service Plans Benefits
  • User Portal
  • Your Account
  • Support
  • Support FAQ
  • Customer Service
  • Contact Support
  • Learning
  • Wolfram Language Documentation
  • Wolfram Language Introductory Book
  • Get Started with Wolfram
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Webinars & Training
  • Wolfram U
  • Summer Programs
  • Videos
  • Books
  • Public Resources
  • Wolfram|Alpha
  • Demonstrations Project
  • Resource System
  • Connected Devices Project
  • Wolfram Data Drop
  • Wolfram + Raspberry Pi
  • Wolfram Science
  • Computer-Based Math
  • MathWorld
  • Hackathons
  • Computational Thinking
  • View all...
  • Company
  • Events
  • About Wolfram
  • Careers
  • Contact
  • Connect
  • Wolfram Community
  • Wolfram Blog
  • Newsletter
© 2025 Wolfram
  • Legal & Privacy Policy
  • Site Map
  • WolframAlpha.com
  • WolframCloud.com