Draft WireToBSpline/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "==Popis==")
(Created page with "Tento nástroj konvertuje Dráty do B-křivek a naopak.")
Line 3: Line 3:
==Popis==
==Popis==


This tool converts [[Draft Wire|Wires]] to [[Draft BSpline|BSplines]], and vice-versa.
Tento nástroj konvertuje [[Draft Wire/cs|Dráty]] do [[Draft BSpline/cs|B-křivek]] a naopak.


[[Image:Draft Wire2BSpline example.jpg|400px]]
[[Image:Draft Wire2BSpline example.jpg|400px]]

Revision as of 18:07, 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.

How to use

  1. Select a wire or a BSpline
  2. Press the Draft WireToBSpline button

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)