Draft Downgrade/es: Difference between revisions

From FreeCAD Documentation
(Created page with "# Selecciona uno o más objetos que desees degradar # Presiona el botón {{KEY|16px Degradar}} o presiona las teclas {{KEY...")
(Created page with "==Opciones==")
Line 12: Line 12:
# Presiona el botón {{KEY|[[Image:Draft Downgrade.png|16px]] [[Draft Downgrade/es|Degradar]]}} o presiona las teclas {{KEY|D}} y {{KEY|N}}
# Presiona el botón {{KEY|[[Image:Draft Downgrade.png|16px]] [[Draft Downgrade/es|Degradar]]}} o presiona las teclas {{KEY|D}} y {{KEY|N}}


==Options==
==Opciones==


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

Revision as of 17:21, 13 February 2014

Draft_Downgrade

Ubicación en el Menú
Croquis -> Degradar
Entornos de trabajo
Croquis, Arquitectura
Atajo de teclado por defecto
D N
Introducido en versión
-
Ver también
Ninguno

Descripción

Esta herramienta degrada (convirtiendo entidades complejas en otras más simples) los objetos seleccionado de diversos modos. Si no se ha seleccionado ningún objeto, te invitará a seleccionar uno.

Utilización

  1. Selecciona uno o más objetos que desees degradar
  2. Presiona el botón Degradar o presiona las teclas D y N

Opciones

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

Example

Scripting

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

Example:

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