3D view/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "Ponieważ widok drzewa wyszczególnia większość obiektów widocznych w widoku 3D, wiele akcji pokrywa się z tymi, które mogą być wykonane z tree view|wi...")
(Created page with "Więcej informacji można znaleźć w dokumentacji dla Power użytkowników: * Scenografia, opis Coin3D. * Pivy, użycie Coin3D z konsoli Pythona. * ...")
Line 50: Line 50:
It is possible to interact directly with the 3D view scenegraph from the [[Python console|Python console]] by using the Python library Pivy.
It is possible to interact directly with the 3D view scenegraph from the [[Python console|Python console]] by using the Python library Pivy.


Więcej informacji można znaleźć w dokumentacji dla Power użytkowników:
For more information see the power user documentation:
* [[Scenegraph|Scenegraph]], description of Coin3D.
* [[Scenegraph|Scenografia]], opis Coin3D.
* [[Pivy|Pivy]], usage of Coin3D from the Python console.
* [[Pivy|Pivy]], użycie Coin3D z konsoli Pythona.
* [[Third_Party_Libraries|Third party libraries]] used by FreeCAD.
* [[Third_Party_Libraries|Biblioteki zewnętrzne]] używane przez FreeCAD.


{{Interface}}
{{Interface}}

Revision as of 19:13, 29 November 2019

Wprowadzenie

Widok 3D programu FreeCAD jest przykłademscenografii Coin3D . Coin3D jest biblioteką, która implementuje standard opisu sceny OpenInventor 2.1.

Niektóre właściwości widoku, takie jak kolor tła, styl nawigacja myszki oraz przybliżanie kroków, można skonfigurować w etytorze preferencji.

Domyślnie widok 3D pokazuje mały widżet z osiami współrzędnych, oraz kostkę nawigacyjną również z osiami współrzędnych. Siatka może być wyświetlana i konfigurowana przez załadowanie Środowisko pracy Draft.

Działania

Note: działania związane z linkami zostały dodane w wersji 0.19.

Ponieważ widok drzewa wyszczególnia większość obiektów widocznych w widoku 3D, wiele akcji pokrywa się z tymi, które mogą być wykonane z widoku drzewa.

When the default Start Workbench is active, right clicking on the 3D view shows only one command:

  • Navigation styles: different button styles to use with a 3-button mouse or laptop trackpad.

However, once a Workbench is loaded, there are additional commands:

Additionally, depending on the workbench and object that is active, other contextual commands may become available.

For example, with the Part Workbench and one object selected:

  • Appearance: launches the dialog to change color and sizes of lines and vertices, and color of faces.
  • Toggle visibility: makes the object visible or invisible in the 3D view.
  • Toggle selectability: makes the object no longer selectable in the 3D view; use again this command to cancel its effect. It sets the object's Selectable attribute to true or false. Change the property by toggling WIDOKSelectable in the property editor.
  • Go to selection: expand the tree view to show the selected object in the hierarchy.
  • Random color: assigns a random color to the object. It sets the object's ShapeColor attribute to a tuple (r,g,b) with tree random floats between 0 and 1. Change the property by modifying WIDOKShape Color in the property editor.
  • Delete: removes the object from the document, and from the 3D view, by calling the document's removeObject() method.

Another example, with the Draft Workbench and one object selected, it shows the same commands as with the Part Workbench, but also:

Details

FreeCAD uses the Quarter library to use Coin3D in a Qt environment.

It is possible to interact directly with the 3D view scenegraph from the Python console by using the Python library Pivy.

Więcej informacji można znaleźć w dokumentacji dla Power użytkowników:

Template:Interface