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")
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
Erster Abschnitt:
Linie schneiden (Standardmäßig aktiviert)
FC Linien konvertieren
Eine oder mehrere Linien in der 3D-Ansicht auswählen
SpinBox : für die Eingabe der Anzahl der Schnitte oder Schnitte auf Länge ... (Standardmäßig wird das Suffix für die Anzahl der Schnitte "x Cut" angezeigt.)
Erzeuge L. : Wenn dieses Kontrollkästchen aktiviert ist, wird die Zeile erstellt
Dimension : Wenn dieses Kontrollkästchen aktiviert ist, wird die Anzahl der Stellen, um die die Definition geändert wird, durch drei Dezimalstellen angegeben, und das angezeigte Suffix lautet "x.000 Dim"
Zweifarbig : Wenn dieses Kontrollkästchen aktiviert ist, werden die erstellten Linien abwechselnd rot und weiß dargestellt. Wenn es nicht aktiviert ist, wird die mit der Schaltfläche Farbe festgelegte Farbe verwendet
Punkte : Wenn dieses Kontrollkästchen aktiviert ist, wird ein Punkt erstellt und die Farbe ist die definierte Farbe. Zweifarbig oder * Die Optionen "Optionslinien" sind verfügbar
Farbe
Zweiter Abschnitt:
Linientyp : Strich
FC Linien konvertieren
Der Bildschirm am unteren Rand der Makro-Änderung in der Zeile Strich
Eine oder mehrere Zeilen in der 3D-Ansicht auswählen
Linie A : Abmessung des Strichs (siehe A auf dem Bildschirm)
Platz B : Abmessung des Leerraums (siehe B auf dem Bildschirm)
Die Linien wurden mit den in den Optionszeilen festgelegten Konfigurationsspezifikationen erstellt
Dritter Abschnitt:
Type line : DashDot
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
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
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
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
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
XY : Ebene XY
YZ : Ebene YZ
XZ : Ebene XZ
Neunter Abschnitt:
Button
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
Title
ConvertLines_Title
Line Dash :
ConvertLines_Dash
Line DashDot :
ConvertLines Dash dot
Line DashDotDot :
ConvertLines Dash dot dot
Line Zigzag :
ConvertLines_Zigzag
Line Hand :
ConvertLines_Hand
View :
Skript
Das Makro Macro_FCConvertLines.FCMacro in den Makro-Ordner kopieren.
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