Установка

From FreeCAD Documentation
Revision as of 19:11, 20 April 2017 by Baritone (talk | contribs) (Created page with "Поскольку проект FreeCAD и его сообщество быстро растёт, и поскольку его легко расширять, сторонни...")

FreeCAD распространяется под лицензией LGPL, которая даёт свободу загрузки, установки, распространения и использования FreeCAD любым способом, вне зависимости от выполняемой с ним работы (коммерческой или некоммерческой). Вы не связаны никакими ограничениями, и все файлы, которые Вы произвели с его помощью, принадлежат только Вам. Единственное, что запрещает Вам лицензия, это утверждать, что Вы сами написали FreeCAD!

FreeCAD работает одинаково на Windows, Mac OS и Linux. Однако способ установки отличается в зависимости от Вашей платформы. На Windows или Mac сообщество FreeCAD обеспечивает прекомпилированные пакеты (установщики), готовые для загрузки, в то время как на Linux майнтайнерам дистрибутивов предоставляется исходный код, и уже они отвечают за составление пакетов для их дистрибутива. В результате Вы обычно можете установить FreeCAD из программного менеджера пакетов.

Официальная страница загрузки FreeCAD для Windows и Mac OS находится по адресу https://github.com/FreeCAD/FreeCAD/releases

Версии FreeCAD

Официальные выпуски FreeCAD, которые Вы можете найти на странице выше и в менеджере пакетов Вашего дистрибутива, это стабильные версии. Тем не менее, FreeCAD разрабатывается быстро! Новые возможности и исправления ошибок добавляются почти каждый день. Поскольку порой требуется много времени до стабильного выпуска, Вас может заинтересовать последняя версия FreeCAD. Эти версии для разработчиков, или пре-релизы, загружаются время от времени на вышеупомянутую страницу загрузки, или, если Вы используется Ubuntu, сообщество FreeCAD так же поддерживает PPA (Personal Package Archives), или 'ежедневные сборки', которые регулярно обновляются самыми последними изменениями.

Если Вы установили FreeCAD на виртуальной машине, учтите низкую производительность, или даже в некоторых случаях неработоспособность из-за ограничений поддержки OpenGL на большинстве виртуальных машин.

Установка под Windows

  1. Download an installer (.exe) package corresponding to your version of Windows (32bit or 64bit) from the download page. The FreeCAD installers should work on any windows version starting from Windows 7.
  2. Double-click the downloaded installer.
  3. Accept the terms of the LGPL license, this will be one of the few cases where you can really, safely click the "accept" button without reading the text. No hidden clauses:
  4. You can leave the default path here, or change if you wish:
  5. No need to set the PYTHONPATH variable, unless you plan to do some advanced python programming, in which case you probably already know what this is for:
  6. During the installation, a couple of additional components, which are bundled inside the installer, will be installed too:
  7. That's it, FreeCAD is installed. You will find it in your start menu.

Installing a development version

Packaging FreeCAD and creating an installer takes some time and dedication, so usually, development (also called pre-release) versions are provided as .zip (or .7z) archives. These don't need to be installed, just unpack them and lauch FreeCAD by double-clicking the FreeCAD.exe file that you will find inside. This also allows you to keep both the stable and "unstable" versions together on the same computer.

Установка в Linux

On most modern Linux distributions (Ubuntu, Fedora, OpenSUSE, Debian, Mint, Elementary, etc), FreeCAD can be installed with the click of a button, directly from the software management application provided by your distribution (the aspect of it can differ from the images below, each distribution uses its own tool).

  1. Open the software manager and search for "freecad":
  2. Click the "install" button and that's it, FreeCAD gets installed. Don't forget to rate it afterwards!

Alternative ways

One of the big joys of using Linux is the multitude of possibilities to tailor your software, so don't restrain yourself. On Ubuntu and derivatives, FreeCAD can also be installed from a PPA maintained by the FreeCAD community (it contains both stable and development versions) and since this is open-source software, you can also easily compile FreeCAD yourself.

Установка в Mac OS

Installing FreeCAD on Mac OSX is nowadays as easy as on other platforms. However, since there are less people in the community who own a Mac, the available packages often lag a couple of versions behind the other platforms.

  1. Download a zipped package corresponding to your version from the download page.
  2. Open the Downloads folder, and expand the downloaded zip file:
  3. Drag the FreeCAD application from inside the zip to the Applications folder:
  4. That's it, FreeCAD is installed!

5. If the system prevents FreeCAD to launch, due to restricted permissions for applications not coming from the App store, you will need to enable it in the system settings:

Деинсталляция

Hopefully you won't want to do that, but it is good to know anyway. On Windows and Linux, uninstalling FreeCAD is very straightforward. Use the standard "remove software" option found in the control panel on Windows, or remove it with the same software manager you used to install FreeCAD on Linux. On Mac, all you need to do is remove it from the Applications folder.

Установка базовых параметров

Once FreeCAD is installed, you might want to open it and set a couple of preferences. Preferences settings in FreeCAD are located under menu Edit -> Preferences You can browse through the different pages to see if there is anything else you would want to change, but here are a couple of basic ones:

  1. Language: FreeCAD will automatically pick the language of your operating system, but you might want to change that. FreeCAD is almost fully translated to 5 or 6 languages, plus many others that are at the moment only partially translated. You can easily help to translate FreeCAD.
  2. Auto-load module: Normally, FreeCAD will start showing you the start center page. You can skip this and begin a FreeCAD session directly in the workbench of your choice. Workbenches will be explained in detail in the next chapter.
  3. Create document at startup: Combined with the option above, this starts FreeCAD ready for work.
  4. Storage options: As any complex application, FreeCAD might crash from time to time. Here you can configure a few options that will help you to recover your work in case of a crash.
  5. Authoring and license: You can set the default settings that will be used for your new files. Consider making your files shareable right from the start, by using a friendlier, copyleft license like Creative Commons.
  6. Redirect python messages to output view: These two options are always good to mark, as they will permit you to see what's wrong in the Report View when there's a problem with running a particular python script.
  7. Units: Here you can set the default units system you wish to use.

Установка дополнительного содержимого

Поскольку проект FreeCAD и его сообщество быстро растёт, и поскольку его легко расширять, сторонние разработчики и проекты членов сообщества и сторонних энтузиастов начинают появляться в самых неожиданных местах интернета. Существует попытка собрать эти интересные добавления в одном месте, на странице github FreeCAD. Здесь, среди прочего, Вы найдёте:

  1. A Parts library, which contains all kinds of useful models, or pieces of models, created by FreeCAD users that can be freely used in your projects. The library can be used and accessed right from inside your FreeCAD installation.
  2. A collection of addons, most of them additional workbenches, that extend the functionality of FreeCAD for certain tasks. Instructions for installing are given on each separate addon page.
  3. A collection of macros, which are also available on the FreeCAD wiki along with documentation about how to use them. The wiki contains many more macros.

If you are using Ubuntu or any of its derivatives, the FreeCAD-extras PPA contains most of these addons. On other platforms, any of the addons, including the Parts library, can easily be installed using an addon-installer macro provided in the addons repository. The following procedure shows how to install the addon-installer (other macros can be installed the same way)

  1. Download the addons-installer.FCMacro file from https://github.com/FreeCAD/FreeCAD-addons by clicking it, then right-clicking the "RAW" button, and choosing "Save as".
  2. Place the macro in your FreeCAD Macros destination path. You FreeCAD Macros destination path is indicated at the bottom of the Execute macro dialog in FreeCAD:
  3. Close and reopen the Execute macro dialog, and start the addons_installer.FCMacro. The installer will launch, from where you can install, update and uninstall any of the addons:

Read more