Macro FC Convert Lines/de

FC Linien konvertieren

Beschreibung
Dieses Makro konvertiert die Objektlinie, den Linienzug in der Linie Strich, Strichpunkt oder StrichPunktStrich mit den angegebenen Abmessungen.

Versionsmakro : 00.07b
Datum der letzten Änderung : 2020-11-09
FreeCAD version : Alle
Herunterladen : Werkzeugleisten-Symbol
Autor: mario52
Autor
mario52
Herunterladen
Werkzeugleisten-Symbol
Links
Macro-Version
00.07b
Datum der letzten Änderung
2020-11-09
FreeCAD-Version(s)
Alle
Standardverknüpfung
None
Siehe auch
None

Beschreibung

Dieses Makro konvertiert die Objektlinie, den Linienzug in der Linie Strich, StrichPunkt, StrichPunktStrich, Zickzack, Freihand mit den angegebenen Abmessungen.

Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro


# This code is copied instead of the original macro code
# to guide the user to the online download page.
# Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki
# or if the RAW code URL is somewhere else in the wiki.

from PySide import QtGui, QtCore

diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://gist.githubusercontent.com/mario52a/3d719574089a5f9044ec/raw/812769b6b296a1da2e9c8cd8153ad7266fe80f8d/Macro_FCConvertLines.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()

import webbrowser 
webbrowser.open("https://gist.githubusercontent.com/mario52a/3d719574089a5f9044ec/raw/812769b6b296a1da2e9c8cd8153ad7266fe80f8d/Macro_FCConvertLines.FCMacro")
<class="rawcodeurl"><a href="https://gist.githubusercontent.com/mario52a/3d719574089a5f9044ec/raw/812769b6b296a1da2e9c8cd8153ad7266fe80f8d/Macro_FCConvertLines.FCMacro">raw code</a>


Konvertierte Linien Strich, Strichpunkt, Strich Punkt Punkt

Anwendung

Das Makro in den Makro-Ordner kopieren und die grafische Benutzeroberfläche FC Linien konvertieren starten.

Grafische Benutzeroberfläche FC Linien konvertieren
Grafische Benutzeroberfläche FC Linien konvertieren

Erster Abschnitt:

Linie schneiden (Standardmäßig aktiviert)

FC Linien konvertieren
FC Linien konvertieren

Farbe

Zweiter Abschnitt:

Linientyp : Strich

FC Linien konvertieren
FC Linien konvertieren

Dritter Abschnitt:

Type line : DashDot

FCConvertLines
FCConvertLines
  • The screen at the bottom of the macro change in line DashDot
  • Select one or more lines in the 3D View
  • Line A : dimension of the dash (see A in the screen)
  • Space B : dimension of the space (see B in the screen) (May be different D)
  • Line 2 C : dimension of the dash (see C in the screen)
  • Space 2 D : dimension of the space (see D in the screen) (May be different B)

Vierter Abschnitt:

Type line : DashDotDot

FCConvertLines
FCConvertLines
  • The screen at the bottom of the macro change in line DashDotDot
  • Select one or more lines in the 3D View
  • Line A : dimension of the dash (see A in the screen)
  • Space B : dimension of the space (see B in the screen)
  • Line 2 C : dimension of the dash (see C in the screen)
  • Space 2 D : dimension of the space (see D in the screen)

Fünfter Abschnitt:

Type line : ZigZag

FCConvertLines
FCConvertLines
  • The screen at the bottom of the macro change in line ZigZag
  • This line are created
  • Number heads : number of heads for the total line
  • _____140.0_____ : The length total of the line are calculate in real time and displayed in this window
  • Begin A : dimension of begin line until first head, this section line hare same in the end line (see A in the screen)
  • Dimension B : dimension between the end and begin head (see B in the screen)
  • Gap C : dimension of the head (see C in the screen)
  • Height D : height dimension of the the head (see D in the screen)
  • Number E : number of heads contiguous (see E in the screen)
  • The options Plane and Options lines are available

Sechster Abschnitt:

Type line : Hand

FCConvertLines
FCConvertLines
  • This line are created
  • Length A : The length total of the line (see A in the screen)
  • Height B : Height of the line (see B in the screen)
  • Wave : compression or uncompress of the wave (see Wave in the screen)
  • The options Plane and Options lines are available

Siebter Abschnitt:

Options line :

FCConvertLines
FCConvertLines

This options are available for all menu

  • __2,00 Width__ : dimension of the width of the line(s)
  • __2,00 Point S__ : dimension of the points of the line(s)
  • Color : color of the line(s) this button are colored with the color selected (if the checkbox "Bicolor" in the menu "Cut line" is checked this option are not used for this menu)

Achter Abschnitt:

Options-Ebene

Diese Option ist nur verfügbar für "ZickZack" und "Freihand"

FCConvertLines
FCConvertLines

Neunter Abschnitt:

Button

FCConvertLines
FCConvertLines
  • Save type : the line configured is saved in one file (one file for one type line). While saving a file header is predetermined depending on the chosen menu (example : Dash is saved, in the save window is displayed "Dash_.FCConvertL" you can modify to "Dash_my_config_10.FCConvertL" or the name you want... this method allow sharpens clear)
  • Load type : load one file configured
  • Name type line________________ : name of the type configured this name is saved in the file
  • Reset : reset the data's in the original configuration
  • Create Comp : this button create on compound with the lines created (ten lines selected = one compound)
  • Create : create the lines separately (ten lines selected = ten lines created)
  • Quit : quit the macro

Die Dateien, die mit dem Makro in das Verzeichnis kopiert werden müssen (10 Bilddateien)

Das Symbol für die Werkzeugleiste

Macro_FCConvertLines
Macro_FCConvertLines

Title

ConvertLines_Title
ConvertLines_Title

Line Dash :

ConvertLines_Dash
ConvertLines_Dash

Line DashDot :

ConvertLines Dash dot
ConvertLines Dash dot

Line DashDotDot :

ConvertLines Dash dot dot
ConvertLines Dash dot dot

Line Zigzag :

ConvertLines_Zigzag
ConvertLines_Zigzag

Line Hand :

ConvertLines_Hand
ConvertLines_Hand

View :

ConvrtLines_View-front ConvrtLines_View-right ConvrtLines_View-right

Skript

Das Makro Macro_FCConvertLines.FCMacro in den Makro-Ordner kopieren.

Das Skript auf Gist Macro_FCConvertLines.FCMacro

Werkzeugleisten-Symbol


Macro_FCConvertLines.FCMacro

Beispiele

Beispiel Punkt, Strich Punkt, Strich Punkt, Strich Punkt Punkt

Beispiel Freihand, Zickzack

Beispiel Hand

Alle Linien wurden mit den in dieser Option festgelegten Konfigurations-Spezifikationen erstellt.

Beispielsweise kann Freihand schöne Sinuswellen oder völlig anarchische Wellen erzeugen.

Beispiel: Textform in Skizze konvertieren (die Kurven sind für die Konvertierung von Hülle in Skizze nicht zugelassen)

Version

ver 00.07b 09/11/2020 Fehler korrigiert # (ajoute recompute() pour corriger)# Die Inventor-Darstellung für die Form von Hülle und Linie nach Beschriftung kann nicht berechnet werden.

ver 00.07 13/05/2017 Fehler korrigiert nach dem Erstellen "Alternate ..." Die Abmessungen der Linien bleiben bei der Abmessungsalternative und werden nicht auf die gewünschten Abmessungen zurückgesetzt.

ver 00.06 20/02/2017 Korrektur des Präzisionsschnitts ("numberOfPoints = longueur" ersetzt mit "numberOfPoints = (longueur + 1)")

ver 00.05 11/01/2017 Die Suchmethode macro path ersetzt

ver 00.04 05/09/2016 setPointSize(8.0)

ver 00.02 18/02/2016

ver 00.01 19/01/2016

ver 00.00 19/01/2016