FreeCAD Logo FreeCAD 1.0
  • Английский Африкаанс Арабский Белорусский Каталанский Чешский Немецкий Греческий Испанский Испанский Баскский Финский Филиппинский Французский Галисийский Хорватский Венгерский Индонезийский Итальянский Японский Кабильский Корейский Литовский Нидерландский Норвежская букмол Польский Португальский Португальский Румынский Русский Словацкий Словенский Сербский Шведский Турецкий Украинский Валенсианский Вьетнамский Китайский Китайский
  • Возможности
  • Скачать
  • Блог
  • Документация
    Индекс документации Приступая к работе Пользовательская документация Руководство по FreeCAD Документация верстаков Документация по кодированию на Python Документация по коду C++ Уроки Часто задаваемые вопросы Политика конфиденциальности О программе FreeCAD
  • Внести вклад
    Как помочь Sponsor Сообщить об ошибке Сделать запрос Задачи и финансирование Руководство по участию в разработке Руководство для разработчиков Переводы
  • Сообщество
    Кодекс поведения Форум The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Календарь
  • ♥ Donate

Donate

$
Информация о SEPA
Пожалуйста, настройте банковский перевод SEPA:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Банковское агентство: BNP Paribas Fortis
Адрес: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!

Tutorial
Topic
Assembly3, a simple mechanism
Level
Basic knowledge of Assembly3 tools is helpful
Time to complete
30 minutes
Authors
FBXL5
FreeCAD version
0.20 and later
Example files
None
See also
None

Введение

This tutorial is about how to set up a simple mechanism, mainly with the tools from the external Assembly3 Workbench.

The kinematic assembly we will create consists of four parts: a Base, a Slider, a Crank, and a connecting Rod. They are connected with four joints.

Assembled parts: Base (amber), Slider (light blue), Crank (red), connecting Rod (green)

Assembly

Parts

The Base is an object with two main geometries, a hole and a pin. Both are cylindrical. The rest of the shape is not relevant for this tutorial unless it causes clashes. The same goes for the other parts.

The Slider consists of a shaft with a pin on one end. Both are cylindrical.

The Crank has a hole and a pin. Again both are cylindrical.

The Rod has two cylindrical holes.

Joints

Locked Base

To keep the assembly at the desired position, the base part should be locked.

(If the Lock mover command is activated, motion tools are deactivated as long as a locked part is selected.)
  1. Select one face of the Base.
  2. Press the button Create "Locked" constraint to keep the Base in place permanently.

Selected face → Resulting Element

Then all four parts are connected with four joints. The kinematic chain starts at the base.

Base-to-Slider joint

The Base-to-Slider joint is a cylindrical joint. It enables the Slider to slide along and spin around the Base hole's Z axis while keeping both elements' Z axes aligned (colinear).

The matching constraint is the "AxialAlignment" constraint. It works with elements that represent cylindrical geometry such as cylindrical faces, circular faces and circular edges.

  1. Select the cylindrical faces of the Base hole and the Slider shaft.
  2. Press the button Create "AxialAlignment" constraint.
  3. Optionally relabel the created elements (edit their ДанныеLabel property).

Selected faces → Aligned objects

Base-to-Crank joint

The Base-to-Crank joint is a hinge joint. It enables the Crank to spin around the Base pin's Z axis while keeping both elements' Z axes aligned (colinear) and the offset between their XY planes constant.

The matching constraint is the "PlaneCoincident" constraint. It works with elements that represent planar geometry such as circular faces and circular edges (in this case).

  1. Select the circular face or the outer circular edge of the Base pin, and the outer circular edge of the Crank hole.
  2. Press the button Create "PlaneCoincident" constraint.
  3. Optionally relabel the created elements.

Selected face and edge → Aligned objects

Slider-to-Rod joint

The Slider-to-Rod joint is a hinge joint. It enables the Rod to spin around the Slider pin's Z axis while keeping both elements' Z axes aligned (colinear) and the offset between their XY planes constant.

The matching constraint is the "PlaneCoincident" constraint (see above).

  1. Select the circular face or the outer circular edge of the Slider pin, and the outer circular edge of the Rod hole.
  2. Press the button Create "PlaneCoincident" constraint.
  3. Optionally relabel the created elements.

Selected face and edge → Aligned objects

Crank-to-Rod joint

The Crank-to-Rod joint is a cylindrical joint. It enables the Rod to spin around and slide along the Crank pin's Z axis while keeping both elements' Z axes aligned (colinear). But only spinning will be possible as the sliding movement is restricted through the combination of the Base-to-Crank joint and the Slider-to-Rod joint.

The matching constraint is the "AxialAlignment" constraint (see above).

  1. Select the cylindrical faces of the Crank pin and the Rod hole.
  2. Press the button Create "AxialAlignment" constraint.
  3. Optionally relabel the created elements.

Selected faces → Aligned objects

Redundant Constraints

When the Base is fixed and all four joints are constrained two messages appear in the Report view:

  • A warning (orange): "...redundant constraints".
  • A simple message (black): "...dof remaining: 0".

This combination of messages occurs when parts of an assembly are over-constrained but the solver is still able to find a valid solution. But what causes the redundacy?

It is the Z direction of the pins. If we take a look at the Slider pin for example we will notice that the Z axis of its element object is constrained parallel to the Base pin's Z axis through the assembly chain Base-Crank-Rod-Slider. This means that the Slider pin is prevented from rotating around its X and Y axes.

On the other hand the rotation around the X axis (red) is already prevented by the Base-to-Crank joint; and so the corresponding degree of freedom (dof) is constrained twice (= redundant) and causes the warning.

To avoid this redundancy an auxilliary object and corresponding constraints could be inserted, but that is for some other tutorial.
To avoid double constraining the offset between base and Rod, different constraints were used, with only one of them fixing the motion along the Z axis.

Actuator

Now it is still a static assembly. To turn it into a kinematic assembly one constraint has to be used as an actuator. To use the "PlaneCoincident" constraint of the Base-to-Crank joint as an actuator, we need to control the angle between Base pin and Crank. This can be done by setting the property ДанныеLock Angle to true. And for later use the label is marked with the suffix .Driver.

The ДанныеAngle property can now be used to spin the Crank.

Controller

To have a dialog window to change property values without typing and with automatic recomputation would be nice.

Have a look at the Kinematic Controller tutorial.

Эта страница получена от https://wiki.freecad.org/Tutorial_KinematicAssembly

Свяжитесь с нами!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

©Команда FreeCAD. Авторы изображений (сверху вниз): ppemawm, r-frank, epileftric, regis, regis, rider_mortagnais, bejant.

Этот проект поддерживается: , KiCad Services Corp. и другие спонсоры

GitHubУлучшить эту страницу на GitHub