Draft: Downgrade/Dezasamblare

From FreeCAD Documentation
Revision as of 19:00, 25 October 2018 by Luc (talk | contribs)

Draft Downgrade

Menu location
Draft → Downgrade
Workbenches
Draft, Arch
Default shortcut
D N
Introduced in version
-
See also
Draft Upgrade

Descriere

Acest instrument downgradează obiectele selectate în moduri diferite. Dacă nu este selectat niciun obiect, veți putea selecta unul.

Cum se folosește

  1. Selectați unul sau mi multe obiecte pe caer vreți să le downgradați
  2. apăsați pe butonul Draft Downgrade sau apăsați pe tasta D și apoi pe N

Opţiuni

The selected objects are modified/downgraded, according to the following conditions (in order):

  • if only one object is selected and it contains more than one face, each face becomes a separate object
  • if there are more than one face in the selection, the subsequent objects are subtracted from the first one
  • if there is only one face in the selection, it gets converted into a wire
  • otherwise all wires found in the selection are exploded into single edges

Exemplu

Script

Instrumentul Downgrade poate fi folosit în scripturile python și macros utilizând următoarea funcție:

downgrade (objects, [delete], [force])
  • Downgrades the given object(s) (can be an object or a list of objects).
  • If delete is True, old objects are deleted.
  • The force attribute can be used to force a certain way of downgrading. It can be: explode, shapify, subtr, splitFaces, cut2, getWire, splitWires.
  • Returns a dictionary containing two lists, a list of new objects and a list of objects to be deleted

Exempluː

import FreeCADGui,Draft
selection = FreeCADGui.Selection.getSelection()
Draft.downgrade(selection)