OpenSCAD AddOpenSCADElement/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "{{GuiCommand/ro|Name=OpenSCAD AddOpenSCADElement|Workbenches=OpenSCAD|MenuLocation=OpenSCAD -> Add OpenSCAD Element}}")
(Updating to match new version of source page)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{GuiCommand/ro|Name=OpenSCAD AddOpenSCADElement|Workbenches=[[OpenSCAD Module|OpenSCAD]]|MenuLocation=OpenSCAD -> Add OpenSCAD Element}}


{{Docnav
====Description====
|[[OpenSCAD_ExplodeGroup|Explode Group]]
Add an OpenSCAD element by entering OpenSCAD code into the task panel and executing the OpenSCAD binary (requires OpenSCAD)
|[[OpenSCAD_MeshBoolean|Mesh Boolean]]
|[[OpenSCAD_Workbench|OpenSCAD]]
|IconL=OpenSCAD_ExplodeGroup.svg
|IconR=OpenSCAD_MeshBoolean.svg
|IconC=Workbench_OpenSCAD.svg
}}


<div class="mw-translate-fuzzy">
When 'as mesh' is selected, OpenSCAD renders a Mesh.
{{GuiCommand/ro|Nume=OpenSCAD_AddOpenSCADElement|Name/ro=OpenSCAD_AddOpenSCADElement|Workbenches=[[OpenSCAD Workbench/ro|OpenSCAD]]|MenuLocation=OpenSCAD Add OpenSCAD Element}}
</div>


==Description==
Each time Add is pressed the OpenSCAD code is executed and elements are imported.

<div class="mw-translate-fuzzy">
====Descriere====
Adăugați un element OpenSCAD introducând cod OpenSCAD în panoul de activități și executând binarul OpenSCAD (necesită OpenSCAD).
</div>

Atunci când o plasă 'as mesh' este selectată OpenSCAD randează o Mesh.

De fiecare dată când se execută codul openSCAD și se importă elemente.

<div class="mw-translate-fuzzy">
Dacă OpenSCAD revine cu succes, mesajele sale sunt afișate ca avertismente în fereastra raportului. Acesta va fi cazul în cazul în care calea către fișierele importate, incluse și utilizate nu este corectată.
În cazul unor rezultate nedorite, este recomandat să consultați ferestrele de raport, deoarece ar putea exista multe alte rezultate create pe durata importului.
Dacă OpenSCAD eșuează, mesajele sale vor fi înregistrate ca erori.
Bibliotecile trebuie să fie accesibile ca de obicei, în timp ce exemplul poate fi atins după cum se arată mai jos
</div>

Libraries should be accessible as usual, whereas example can be reached as stated below.


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 loged as errors.
Libraries should be accessible as usual, whereas example can be reached as stated below
{{Code|code=
{{Code|code=
include <../examples/example001.scad>;
include <../examples/example001.scad>;
}}
}}
would include the first examples also known as the OpenSCAD icon


<div class="mw-translate-fuzzy">
====Initial set up from within FreeCAD====
ar include primele exemple cunoscute și sub numele de iconița/pictograma OpenSCAD
*OpenSCAD needs to be installed on your computer before FreeCAD will have this functionality
</div>
**install OpenSCAD in the appropriate manner for your operating system. See [http://www.openscad.org/ the OpenSCAD web site] for more information

*FreeCAD needs to be told where to find the OpenSCAD executable
==Setup OpenSCAD within FreeCAD==
**Switch to the OpenSCAD Workbench Menu -> View Workbench -> OpenSCAD

**Open the preferences dialog Menu -> Edit -> Preferences
<div class="mw-translate-fuzzy">
**Click on "OpenSCAD" on the left plane
==== Setarea inițială din cadrul FreeCAD ====
**Click on the button labled "..." in General Settings -> General OpenSCAD Settings -> OpenSCAD executable to browser the directory or enter the path (e.g. Ubuntu based Linux distributions /usr/bin/openscad) directly into the line input right to the button
* OpenSCAD trebuie să fie instalat pe computer înainte ca FreeCAD să aibă această funcționalitate
**close and restart FreeCAD, a new OpenSCAD icon will appear on the tool bar, and in the OpenSCAD menu, in the FreeCAD OpenSCAD workbench
** instalați OpenSCAD în modul corespunzător pentru sistemul dvs. de operare. Consultați [http://www.openscad.org/ site-ul web OpenSCAD] pentru mai multe informații
*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 trebuie să-i spună unde să găsească executabilul OpenSCAD
** Comutați la meniul OpenBSD Workbench -> View Workbench -> OpenSCAD
** Deschideți meniul dialogului Preferințe -> Editare -> Preferințe
** Faceți clic pe "OpenSCAD" în planul din stânga
** Faceți clic pe butonul lasat "..." în Setări generale -> Setări generale OpenSCAD -> OpenSCAD executabil pentru a naviga în director sau introduceți calea (de ex. Distribuții Linux / usr / bin / openscad pe bază de Ubuntu) dreapta la buton
** închideți și reporniți FreeCAD, o nouă pictogramă OpenSCAD va apărea pe bara de unelte și în meniul OpenSCAD în bara de lucru FreeCAD OpenSCAD
* Este, de asemenea, posibil să adăugați un alt parametru opțional care controlează laturile maxime ale unui poligon înainte de a fi considerat un cerc (fn).
</div>

FreeCAD needs to be told where to find the OpenSCAD executable:
* Switch to the [[Image:Workbench_OpenSCAD.svg|24px]] [[OpenSCAD_Workbench|OpenSCAD Workbench]] via {{MenuCommand|View → Workbench → OpenSCAD}}
* Open the preferences dialog {{MenuCommand|Edit Preferences}}
* Click on "OpenSCAD" on the left plane
* Click on the button labled {{Button|...}} in {{MenuCommand|General Settings General OpenSCAD Settings OpenSCAD executable}} to browse the directory or enter the path (e.g. Ubuntu based Linux distributions {{incode|/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).

<div class="mw-translate-fuzzy">
Pornind de la FreeCAD Version 0.14, FreeCAD va căuta executabilul OpenSCAD dacă setarea menționată mai sus este goală.
</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:}}}}
Starting from FreeCAD Version 0.14, FreeCAD will search for the OpenSCAD executable if the setting mentioned above is empty.
{{Userdocnavi{{#translation:}}}}

Latest revision as of 11:05, 28 December 2022

OpenSCAD_AddOpenSCADElement

poziția meniului
OpenSCAD → Add OpenSCAD Element
Ateliere
OpenSCAD
scurtătură
nici unul
Prezentat în versiune
-
A se vedea, de asemenea,
nici unul

Description

Descriere

Adăugați un element OpenSCAD introducând cod OpenSCAD în panoul de activități și executând binarul OpenSCAD (necesită OpenSCAD).

Atunci când o plasă 'as mesh' este selectată OpenSCAD randează o Mesh.

De fiecare dată când se execută codul openSCAD și se importă elemente.

Dacă OpenSCAD revine cu succes, mesajele sale sunt afișate ca avertismente în fereastra raportului. Acesta va fi cazul în cazul în care calea către fișierele importate, incluse și utilizate nu este corectată. În cazul unor rezultate nedorite, este recomandat să consultați ferestrele de raport, deoarece ar putea exista multe alte rezultate create pe durata importului. Dacă OpenSCAD eșuează, mesajele sale vor fi înregistrate ca erori. Bibliotecile trebuie să fie accesibile ca de obicei, în timp ce exemplul poate fi atins după cum se arată mai jos

Libraries should be accessible as usual, whereas example can be reached as stated below.

include <../examples/example001.scad>;

ar include primele exemple cunoscute și sub numele de iconița/pictograma OpenSCAD

Setup OpenSCAD within FreeCAD

Setarea inițială din cadrul FreeCAD

  • OpenSCAD trebuie să fie instalat pe computer înainte ca FreeCAD să aibă această funcționalitate
    • instalați OpenSCAD în modul corespunzător pentru sistemul dvs. de operare. Consultați site-ul web OpenSCAD pentru mai multe informații
  • FreeCAD trebuie să-i spună unde să găsească executabilul OpenSCAD
    • Comutați la meniul OpenBSD Workbench -> View Workbench -> OpenSCAD
    • Deschideți meniul dialogului Preferințe -> Editare -> Preferințe
    • Faceți clic pe "OpenSCAD" în planul din stânga
    • Faceți clic pe butonul lasat "..." în Setări generale -> Setări generale OpenSCAD -> OpenSCAD executabil pentru a naviga în director sau introduceți calea (de ex. Distribuții Linux / usr / bin / openscad pe bază de Ubuntu) dreapta la buton
    • închideți și reporniți FreeCAD, o nouă pictogramă OpenSCAD va apărea pe bara de unelte și în meniul OpenSCAD în bara de lucru FreeCAD OpenSCAD
  • Este, de asemenea, posibil să adăugați un alt parametru opțional care controlează laturile maxime ale unui poligon înainte de a fi considerat un cerc (fn).

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).

Pornind de la FreeCAD Version 0.14, FreeCAD va căuta executabilul OpenSCAD dacă setarea menționată mai sus este goală.