Difference between revisions of "Draft Downgrade/cs"

From FreeCAD Documentation
Jump to navigation Jump to search
(Created page with "Kreslení Degradace")
(Created page with "{{GuiCommand/cs|Name=Draft_Downgrade|Name/cs=Kreslení Degradace/cs|Workbenches=Kreslení, Architektura|MenuLocation=Draft -> Downgrade|Shortc...")
Line 1: Line 1:
{{GuiCommand|Name=Draft_Downgrade|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Draft -> Downgrade|Shortcut=D N|SeeAlso=[[Draft Upgrade]]}}
{{GuiCommand/cs|Name=Draft_Downgrade|Name/cs=Kreslení Degradace/cs|Workbenches=[[Draft Module|Kreslení]], [[Arch Module|Architektura]]|MenuLocation=Draft -> Downgrade|Shortcut=D N|SeeAlso=[[Draft Upgrade]]}}

Revision as of 18:25, 17 February 2014

Draft Downgrade.svg Kreslení Degradace/cs

Umístění Menu
Draft -> Downgrade
Pracovní stoly
Kreslení, Architektura
Výchozí zástupce
Představen ve verzi
Viz také
Draft Upgrade


This tool downgrades selected objects in different ways. If no object is selected, you will be invited to select one.

Draft Downgrade example.jpg

How to use

  1. Select one or more objects you widh to downgrade
  2. Press the Draft Downgrade.png Draft Downgrade button or press D then N keys


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



The Downgrade tool can be used in python scripts and macros by using the following function:

 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 dictionnary containing two lists, a list of new objects and a list of objects to be deleted


 import FreeCADGui,Draft
 selection = FreeCADGui.Selection.getSelection()
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎română • ‎svenska • ‎čeština • ‎русский