Draft WireToBSpline/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "==Použití==")
(Created page with "# Vyberte drát nebo B-křivku # Stiskněte tlačítko {{KEY|16px [[Draft WireToBSpline/cs|Kreslení D...")
Line 9: Line 9:
==Použití==
==Použití==


# Select a [[Draft Wire|wire]] or a [[Draft BSpline|BSpline]]
# Vyberte [[Draft Wire-cs|drát]] nebo [[Draft BSpline/cs|B-křivku]]
# Press the {{KEY|[[Image:Draft WireToBSpline.png|16px]] [[Draft WireToBSpline]]}} button
# Stiskněte tlačítko {{KEY|[[Image:Draft WireToBSpline.png|16px]] [[Draft WireToBSpline/cs|Kreslení Drát do B-křivky]]}}


==Options==
==Options==

Revision as of 18:08, 3 March 2014

Kreslení Drát do B-křivky

Umístění Menu
Kreslení -> Drát do B-křivky
Pracovní stoly
Kreslení, Architektura
Výchozí zástupce
Nikdo
Představen ve verzi
-
Viz také
Nikdo

Popis

Tento nástroj konvertuje Dráty do B-křivek a naopak.

Použití

  1. Vyberte drát nebo B-křivku
  2. Stiskněte tlačítko Kreslení Drát do B-křivky

Options

  • The original object will not be deleted after the operation, you must delete it manually if you wish so.

Scripting

Not available, but creating a new object with the points from another one is easy, for example:

  • If the active object is a wire:
 import FreeCAD,Draft
 points = FreeCAD.ActiveDocument.ActiveObject.Points
 Draft.makeBSpline(points)
  • if the active object is a bspline
 import FreeCAD,Draft
 points = FreeCAD.ActiveDocument.ActiveObject.Points
 Draft.makeWire(points)