Macro FaceToSketch/cs


Text-x-python.png FaceToSketch

Description
Konvertuje povrch do náčrtu bez vazeb.
Author
Jreinhardt
Links
Makro návody
How to install macros
How to customize toolbars
Version
1.0
Date last modification
2013-12-23

Contents


Toto makro rozloží tvar funkcí Draft Downgrade.png Draft Downgrade a transformuje povrch vybraný v náčrtu bez vazeb s možností dalších úprav.


import Draft
  
wires,_faces = Draft.downgrade(FreeCADGui.Selection.getSelection(),delete=True)
  
sketch = Draft.makeSketch(wires[0:1])
for wire in wires[1:]:
    Draft.makeSketch([wire],addTo=sketch)
  
for wire in wires:
    FreeCAD.ActiveDocument.removeObject(wire.Name) 
Online version: "http://www.freecadweb.org/wiki/index.php?title=Macro_FaceToSketch/cs&oldid=240104"

Navigation menu