WOLFRAM

Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • 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
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Facebook X Twitch LinkedIn YouTube Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English
  • en