Translate

docs/0.4/freecad/basefunction
docs/0.3/freecad/basefunction

### The function
SourceTranslationState
38
Once the parameters are specified, the part can be inserted into the active
document by clicking the `Add part` button. In the combo view on the right side
you can see that the label of the object gives the standard and the value of
all the parameters we have specified.
39
[<img alt="Expanded treeview" src="{{ static(partsselector3.png) }}" />]({{ static(partsselector3.png) }})
[<img alt="Vista de árbol expandida" src="{{ static(partsselector3.png) }}" />]({{ static(partsselector3.png) }})
40
How to setup a base function
Cómo configurar una función base
41

You need to have FreeCAD and [FreeCAD for BOLTS installed]({{ doc(freecad, installation) }}).

Necesitas tener FreeCAD y [BOLTS para FreeCAD instalado]({{ doc(freecad, installation) }}).
42
This assumes that the [blt file]({{ doc(general, blt-files) }}) for this part
is already created, and you have a python function that creates the part that
you want to add to BOLTS. For more information on part scripting in FreeCAD see
the [FreeCAD documentation on this topic](http://freecadweb.org/wiki/index.php?title=Power_users_hub).
43

### The function

### La función
44
As an example we use the follwing function to create washers:
Como un ejemplo, nosotros usamos la siguiente función para crear arandelas:
45
import Part
46
def washer1(params,document):
key = params['key']
d1 = params['d1']
d2 = params['d2']
s = params['s']
name = params['name']
47
part = document.addObject("Part::Feature",name)
outer = Part.makeCylinder(d2,s)
inner = Part.makeCylinder(d1,s)
part.Shape = outer.cut(inner).removeSplitter()
48
This function uses the CSG facilities of FreeCAD, but it is equally possible to
use BRep scripting.
Esta función usa las facilidades CSG de FreeCAD, pero es igualmente posible usar guiones con BRep.

Loading…

Glossary

Source Translation
No related strings were found in the glossary.

Source information

Comments
docs/0.4/freecad/basefunction docs/0.3/freecad/basefunction
Source string age
3 years ago
Translation file
translations/es/LC_MESSAGES/docs.po, translation unit 43
String priority
Medium