OpenSCAD AddOpenSCADElement/ru: Difference between revisions
(Created page with "Каждый раз, когда Добавить в OpenSCAD код выполняется и элементы импортируются.") |
(Updating to match new version of source page) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
|||
|[[OpenSCAD_ExplodeGroup|Explode Group]] |
|||
|[[OpenSCAD_MeshBoolean|Mesh Boolean]] |
|||
|[[OpenSCAD_Workbench|OpenSCAD]] |
|||
|IconL=OpenSCAD_ExplodeGroup.svg |
|||
|IconR=OpenSCAD_MeshBoolean.svg |
|||
|IconC=Workbench_OpenSCAD.svg |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
|Name=OpenSCAD AddOpenSCADElement |
|Name=OpenSCAD AddOpenSCADElement |
||
|Name/ru=OpenSCAD AddOpenSCADElement |
|Name/ru=OpenSCAD AddOpenSCADElement |
||
|Workbenches=[[ |
|Workbenches=[[OpenSCAD_Workbench/ru|OpenSCAD]] |
||
|MenuLocation=OpenSCAD -> Add OpenSCAD Element |
|MenuLocation=OpenSCAD -> Add OpenSCAD Element |
||
}} |
}} |
||
</div> |
|||
==Description== |
|||
<div class="mw-translate-fuzzy"> |
|||
==== Описание ==== |
==== Описание ==== |
||
Добавьте элемент OpenSCAD, введя код OpenSCAD в панель задач и выполнив двоичный файл OpenSCAD (требуется OpenSCAD) |
Добавьте элемент OpenSCAD, введя код OpenSCAD в панель задач и выполнив двоичный файл OpenSCAD (требуется OpenSCAD) |
||
</div> |
|||
Когда выбран «как сетка», OpenSCAD визуализирует сетку. |
Когда выбран «как сетка», OpenSCAD визуализирует сетку. |
||
Line 14: | Line 30: | ||
Каждый раз, когда Добавить в OpenSCAD код выполняется и элементы импортируются. |
Каждый раз, когда Добавить в OpenSCAD код выполняется и элементы импортируются. |
||
If OpenSCAD returns successfully, its messages are displayed as warnings in the report window. This will be the case if the path to imported, included and used files is broken. |
If OpenSCAD returns successfully, its messages are displayed as warnings in the report window. This will be the case if the path to imported, included and used files is broken. In case of undesired results it is highly recommend to have a look at the report windows, as there might be a lot of other output, created by the importer. If OpenSCAD fails, its messages will be logged as errors. |
||
In case of undesired results it is highly recommend to have a look at the report windows, as there might be a lot of other output, created by the importer. |
|||
⚫ | |||
If OpenSCAD fails, its messages will be loged as errors. |
|||
⚫ | |||
{{Code|code= |
{{Code|code= |
||
include <../examples/example001.scad>; |
include <../examples/example001.scad>; |
||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
**Switch to the OpenSCAD Workbench Menu -> View Workbench -> OpenSCAD |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
* Switch to the [[Image:Workbench_OpenSCAD.svg|24px]] [[OpenSCAD_Workbench|OpenSCAD Workbench]] via {{MenuCommand|View → Workbench → OpenSCAD}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* Close and restart FreeCAD |
|||
⚫ | |||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
Начиная с FreeCAD версии 0.14, FreeCAD будет искать исполняемый файл OpenSCAD, если вышеупомянутая настройка пуста. |
Начиная с FreeCAD версии 0.14, FreeCAD будет искать исполняемый файл OpenSCAD, если вышеупомянутая настройка пуста. |
||
</div> |
|||
{{Docnav |
|||
|[[OpenSCAD_ExplodeGroup|Explode Group]] |
|||
|[[OpenSCAD_MeshBoolean|Mesh Boolean]] |
|||
|[[OpenSCAD_Workbench|OpenSCAD]] |
|||
|IconL=OpenSCAD_ExplodeGroup.svg |
|||
|IconR=OpenSCAD_MeshBoolean.svg |
|||
|IconC=Workbench_OpenSCAD.svg |
|||
}} |
|||
{{OpenSCAD_Tools_navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 11:06, 28 December 2022
OpenSCAD AddOpenSCADElement |
Системное название |
---|
OpenSCAD AddOpenSCADElement |
Расположение в меню |
OpenSCAD -> Add OpenSCAD Element |
Верстаки |
OpenSCAD |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Нет |
Description
Описание
Добавьте элемент OpenSCAD, введя код OpenSCAD в панель задач и выполнив двоичный файл OpenSCAD (требуется OpenSCAD)
Когда выбран «как сетка», OpenSCAD визуализирует сетку.
Каждый раз, когда Добавить в OpenSCAD код выполняется и элементы импортируются.
If OpenSCAD returns successfully, its messages are displayed as warnings in the report window. This will be the case if the path to imported, included and used files is broken. In case of undesired results it is highly recommend to have a look at the report windows, as there might be a lot of other output, created by the importer. If OpenSCAD fails, its messages will be logged as errors.
Libraries should be accessible as usual, whereas example can be reached as stated below.
include <../examples/example001.scad>;
would include the first examples also known as the OpenSCAD icon.
Setup OpenSCAD within FreeCAD
Note: OpenSCAD needs to be installed on your computer before FreeCAD will have this functionality
Install OpenSCAD in the appropriate manner for your operating system. See the OpenSCAD web site for more information.
FreeCAD needs to be told where to find the OpenSCAD executable:
- Switch to the OpenSCAD Workbench via View → Workbench → OpenSCAD
- Open the preferences dialog Edit → Preferences
- Click on "OpenSCAD" on the left plane
- Click on the button labled ... in General Settings → General OpenSCAD Settings → OpenSCAD executable to browse the directory or enter the path (e.g. Ubuntu based Linux distributions
/usr/bin/openscad
) directly into the line input right to the button - Close and restart FreeCAD
- Result: A new OpenSCAD icon will appear on the tool bar, and in the OpenSCAD menu, in the FreeCAD OpenSCAD workbench.
Note: It is also possible to add another optional Parameter which controls the maximum sides of a polygon before it is considered a circle (fn).
Начиная с FreeCAD версии 0.14, FreeCAD будет искать исполняемый файл OpenSCAD, если вышеупомянутая настройка пуста.
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework