From ad7e4cb55838366d75f1b83dab8bf44df11aaa0f Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 23 Oct 2017 19:25:41 -0400 Subject: [PATCH] Typos and wiki URL fixes fixed some typos removed old `index.php?title=` from wiki URLs --- CartoucheFC.py | 6 +++--- FCCamera.FCMacro | 10 +++++----- GenevaWheelGUI.py | 2 +- ObjectCreation/Airfoil_Import_and_Scale.FCMacro | 2 +- ObjectCreation/HyperbolaCreater.FCMacro | 2 +- ObjectCreation/Macro_FCCircularText.FCMacro | 12 ++++++------ ParametricObjectCreation/Rectellipse.FCMacro | 4 ++-- README.md | 2 +- ScrewMaker.FCMacro | 4 ++-- Utility/ForceRecompute.FCMacro | 4 ++-- Utility/HighlightCommon.FCMacro | 4 ++-- Utility/HighlightDifference.FCMacro | 4 ++-- Utility/MeasureCircle.FCMacro | 4 ++-- Utility/MessageBox.FCMacro | 4 ++-- Utility/SelectVisible.FCMacro | 4 ++-- apothemBasedPrism.py | 2 +- myMacroDir/myMacro.py | 6 +++--- unfoldBox.py | 2 +- unrollRuledSurface.py | 4 ++-- 19 files changed, 41 insertions(+), 41 deletions(-) diff --git a/CartoucheFC.py b/CartoucheFC.py index 07eb1d4..659ffc9 100644 --- a/CartoucheFC.py +++ b/CartoucheFC.py @@ -2,10 +2,10 @@ # -*- coding: utf-8 -*- # Macro_CartoucheFC.py # Remplir les zones du cartouche de la feuille originale de FreeCAD -# http://www.freecadweb.org/wiki/index.php?title=Macro_CartoucheFC/fr +# http://www.freecadweb.org/wiki/Macro_CartoucheFC/fr # il faut que la page (drawing viewer) s'appelle " Page " qui est le nom par défaut du module Drawing # Fill the area of the cartridge -# http://www.freecadweb.org/wiki/index.php?title=Macro_CartoucheFC +# http://www.freecadweb.org/wiki/Macro_CartoucheFC # It is necessary that the page (drawing viewer) is called "Page", which is the default name of the Drawing module # ver 0.3 # Created: 02/07/2014 @@ -22,7 +22,7 @@ #Coin version: 3.1.0 #SoQt version: 1.4.1 -# see http://www.freecadweb.org/wiki/index.php?title=Macro_CartoucheFC +# see http://www.freecadweb.org/wiki/Macro_CartoucheFC try: import PyQt4 diff --git a/FCCamera.FCMacro b/FCCamera.FCMacro index af62815..751dd79 100644 --- a/FCCamera.FCMacro +++ b/FCCamera.FCMacro @@ -38,9 +38,9 @@ #Coin version: 4.0.0a #Coin version: 4.0.0a #OCC version: 6.7.1 #OCC version: 6.7.1 # -__title__ ="FCCamera" +__title__ = "FCCamera" __author__ = "Mario52" -__url__ = "http://www.freecadweb.org/wiki/index.php?title=Macro_FCCamera" +__url__ = "http://www.freecadweb.org/wiki/Macro_FCCamera" __version__ = "00.03" __date__ = "18/03/2015" @@ -641,7 +641,7 @@ class Ui_MainWindow(object): def on_PB_Quit_clicked(self): # quit App.Console.PrintMessage("Fin FCCamera"+"\n") - FreeCADGui.Selection.removeObserver(s) # desinstalle la fonction residente + FreeCADGui.Selection.removeObserver(s) # de-install the function in resident mode self.window.hide() ##Start##### @@ -651,8 +651,8 @@ if doc == None: doc = FreeCAD.newDocument() #Gui.ActiveDocument.ActiveView.setAxisCross(True) # GuiAxis true -s=SelObserver() # installe the function in resident mode SelObserver -FreeCADGui.Selection.addObserver(s) # installe the function in resident mode SelObserver +s=SelObserver() # install the function in resident mode SelObserver +FreeCADGui.Selection.addObserver(s) # install the function in resident mode SelObserver MainWindow = QtGui.QMainWindow() ui = Ui_MainWindow() diff --git a/GenevaWheelGUI.py b/GenevaWheelGUI.py index 970f254..1d3ae79 100644 --- a/GenevaWheelGUI.py +++ b/GenevaWheelGUI.py @@ -1,4 +1,4 @@ -# see http://www.freecadweb.org/wiki/index.php?title=Macro_Geneva_Wheel_GUI +# see http://www.freecadweb.org/wiki/Macro_Geneva_Wheel_GUI #Creation of a Geneva Wheel with Parametric values By: Isaac Ayala (drei) & Mark Stephen (quick61) #This Macro creates the main parts of a Geneva Wheel Mechanism diff --git a/ObjectCreation/Airfoil_Import_and_Scale.FCMacro b/ObjectCreation/Airfoil_Import_and_Scale.FCMacro index 3626a8a..5f51d09 100644 --- a/ObjectCreation/Airfoil_Import_and_Scale.FCMacro +++ b/ObjectCreation/Airfoil_Import_and_Scale.FCMacro @@ -12,7 +12,7 @@ __Comment__ = 'Imports and scales an Airfoil in the form of a Draft Wire (DWire) or Basic Spline (BSpline)' __Web__ = "http://forum.freecadweb.org/viewtopic.php?f=22&t=5554" -__Wiki__ = "http://www.freecadweb.org/wiki/index.php?title=Macro_Airfoil_Import_%26_Scale" +__Wiki__ = "http://www.freecadweb.org/wiki/Macro_Airfoil_Import_%26_Scale" __Icon__ = "/usr/lib/freecad/Mod/plugins/icons/airfoil.png" __Help__ = "" __Author__ = "quick61" diff --git a/ObjectCreation/HyperbolaCreater.FCMacro b/ObjectCreation/HyperbolaCreater.FCMacro index a06801e..4f7dac3 100644 --- a/ObjectCreation/HyperbolaCreater.FCMacro +++ b/ObjectCreation/HyperbolaCreater.FCMacro @@ -40,7 +40,7 @@ __IconW__ = "C:/Documents and Settings/YourUserName/Application Data/FreeCAD" __Help__ = "start the macro and follow the instructions" __Status__ = "" __Requires__ = "" -__Communication__ = "http://www.freecadweb.org/wiki/index.php?title=User:??" +__Communication__ = "http://www.freecadweb.org/wiki/User:??" import FreeCAD, FreeCADGui, Part, PySide diff --git a/ObjectCreation/Macro_FCCircularText.FCMacro b/ObjectCreation/Macro_FCCircularText.FCMacro index 42d301b..f06bb60 100644 --- a/ObjectCreation/Macro_FCCircularText.FCMacro +++ b/ObjectCreation/Macro_FCCircularText.FCMacro @@ -22,7 +22,7 @@ from __future__ import unicode_literals * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * * USA * *************************************************************************** -* http://www.freecadweb.org/wiki/index.php?title=Macro_FCCircularText * +* http://www.freecadweb.org/wiki/Macro_FCCircularText * * WARNING! All changes in this file will be lost and * * may cause malfunction of the program * *************************************************************************** @@ -60,13 +60,13 @@ __Date__ = "12/06/2015" __Comment__ = "This macro creates a text around a cylinder" __Web__ = "http://forum.freecadweb.org/viewtopic.php?f=3&t=7384" -__Wiki__ = "http://www.freecadweb.org/wiki/index.php?title=Macro_FCCircularText" +__Wiki__ = "http://www.freecadweb.org/wiki/Macro_FCCircularText" __Icon__ = "/usr/lib/freecad/Mod/plugins/icons/FCCircularTextButtom.png" __IconW__ = "C:/Documents and Settings/YourUserName/Application Data/FreeCAD" __Help__ = "start the macro and follow the instructions" __Status__ = "stable" __Requires__ = "freecad 0.14.3706" -__Communication__ = "http://www.freecadweb.org/wiki/index.php?title=User:Mario52" +__Communication__ = "http://www.freecadweb.org/wiki/User:Mario52" try: @@ -161,7 +161,7 @@ global precision ;precision = 0.0 global correctionAngle ;correctionAngle = 10.0 global correctionRayon ;correctionRayon = 0.15 global debout ;debout = 1 # 1=stand 0=flat -global exterieur ;exterieur = 1 # 1=exteral 0=internal +global exterieur ;exterieur = 1 # 1=external 0=internal global baseHelix ;baseHelix = 0.0 # base of helix global endHelix ;endHelix = 0.0 # end of helix (heigth) global pasHelix ;pasHelix = 2.0 # Pas of helix @@ -505,7 +505,7 @@ class Ui_MainWindow(object): self.DS_Radius_Support = QtGui.QDoubleSpinBox(self.groupBox_05) self.DS_Radius_Support.setGeometry(QtCore.QRect(10, 20, 81, 22)) - self.DS_Radius_Support.setToolTip(_fromUtf8("Radius of the support the clock (By defaut : Radius of circle)")) + self.DS_Radius_Support.setToolTip(_fromUtf8("Radius of the support the clock (By default : Radius of circle)")) self.DS_Radius_Support.setAccessibleDescription(_fromUtf8("")) self.DS_Radius_Support.setMaximum(99999999.99) self.DS_Radius_Support.setValue(cercleClock) @@ -703,7 +703,7 @@ class Ui_MainWindow(object): self.PU_Exit.setToolTip("Exit FCCircularText") self.PU_Reset.setText("Reset") self.groupBox_01.setTitle("Text to be displayed ( "+str(len(texte))+" characters )") - self.lineEdit.setToolTip("Font to defaut") + self.lineEdit.setToolTip("Font to default") self.lineEdit.setText(PolicePath) self.textEdit.setToolTip("Your text to be displayed") self.textEdit.setHtml(texte) diff --git a/ParametricObjectCreation/Rectellipse.FCMacro b/ParametricObjectCreation/Rectellipse.FCMacro index e66685f..811bc8e 100644 --- a/ParametricObjectCreation/Rectellipse.FCMacro +++ b/ParametricObjectCreation/Rectellipse.FCMacro @@ -7,8 +7,8 @@ from __future__ import division __Comment__ = 'Creates a parametric approximation of a rectellipse' -__Web__ = 'http://freecadweb.org/wiki/index.php?title=Macro_Rectellipse' -__Wiki__ = 'http://freecadweb.org/wiki/index.php?title=Macro_Rectellipse' +__Web__ = 'http://freecadweb.org/wiki/Macro_Rectellipse' +__Wiki__ = 'http://freecadweb.org/wiki/Macro_Rectellipse' __Icon__ = "" __Help__ = 'Run, zoom fit, and change parameters' __Author__ = 'fcaponi78, shoogen and other contributors' diff --git a/README.md b/README.md index adac0c8..f1a4d1c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # FreeCAD-macros -A repository for the FreeCAD macros from http://www.freecadweb.org/wiki/index.php?title=Macros_recipes +A repository for the FreeCAD macros from http://www.freecadweb.org/wiki/Macros_recipes To submit a macro, fork this repository, push to your repository, write a pull request, and get thanked. diff --git a/ScrewMaker.FCMacro b/ScrewMaker.FCMacro index c6976ac..bb780ae 100644 --- a/ScrewMaker.FCMacro +++ b/ScrewMaker.FCMacro @@ -36,8 +36,8 @@ Macro to generate screws with FreeCAD. """ __Comment__ = 'Generate a screw' -__Web__ = 'http://freecadweb.org/wiki/index.php?title=Macro_screw_maker1_2' -__Wiki__ = 'http://freecadweb.org/wiki/index.php?title=Macro_screw_maker1_2' +__Web__ = 'http://freecadweb.org/wiki/Macro_screw_maker1_2' +__Wiki__ = 'http://freecadweb.org/wiki/Macro_screw_maker1_2' __Icon__ = '' __Help__ = 'Select the characteristics of the screw and click on the create button' __Author__ = "Ulrich Brammer " diff --git a/Utility/ForceRecompute.FCMacro b/Utility/ForceRecompute.FCMacro index be8caa4..204d5d3 100644 --- a/Utility/ForceRecompute.FCMacro +++ b/Utility/ForceRecompute.FCMacro @@ -3,8 +3,8 @@ __Name__ = 'Force Recompute' __Comment__ = 'Force a manual recompute of the complete model' -__Web__ = 'http://www.freecadweb.org/wiki/index.php?title=Macro_ForceRecompute' -__Wiki__ = 'http://www.freecadweb.org/wiki/index.php?title=Macro_ForceRecompute' +__Web__ = 'http://www.freecadweb.org/wiki/Macro_ForceRecompute' +__Wiki__ = 'http://www.freecadweb.org/wiki/Macro_ForceRecompute' __Icon__ = 'ForceRecompute.png' __Help__ = 'Execute the macro to force a manual recompute of the complete model' __Author__ = 'shoogen, galou_breizh' diff --git a/Utility/HighlightCommon.FCMacro b/Utility/HighlightCommon.FCMacro index 08970be..dc4587b 100644 --- a/Utility/HighlightCommon.FCMacro +++ b/Utility/HighlightCommon.FCMacro @@ -4,8 +4,8 @@ from __future__ import unicode_literals __Name__ = 'Highlight Common parts' __Comment__ = 'Compute the common parts between selected shapes' -__Web__ = 'http://freecadweb.org/wiki/index.php?title=Macro_HighlightCommon' -__Wiki__ = 'http://freecadweb.org/wiki/index.php?title=Macro_HighlightCommon' +__Web__ = 'http://freecadweb.org/wiki/Macro_HighlightCommon' +__Wiki__ = 'http://freecadweb.org/wiki/Macro_HighlightCommon' __Icon__ = "" __Help__ = 'Select at least two objects and run' __Author__ = 'JMG, galou and other contributors' diff --git a/Utility/HighlightDifference.FCMacro b/Utility/HighlightDifference.FCMacro index c1db6e9..c4e210a 100644 --- a/Utility/HighlightDifference.FCMacro +++ b/Utility/HighlightDifference.FCMacro @@ -4,8 +4,8 @@ from __future__ import unicode_literals __Name__ = 'Highlight Difference' __Comment__ = 'Compute the difference between two shapes' -__Web__ = 'http://freecadweb.org/wiki/index.php?title=Macro_HighlightDifference' -__Wiki__ = 'http://freecadweb.org/wiki/index.php?title=Macro_HighlightDifference' +__Web__ = 'http://freecadweb.org/wiki/Macro_HighlightDifference' +__Wiki__ = 'http://freecadweb.org/wiki/Macro_HighlightDifference' __Icon__ = "" __Help__ = 'Select two objects and run' __Author__ = 'galou and other contributors' diff --git a/Utility/MeasureCircle.FCMacro b/Utility/MeasureCircle.FCMacro index febce9a..006b303 100644 --- a/Utility/MeasureCircle.FCMacro +++ b/Utility/MeasureCircle.FCMacro @@ -1,7 +1,7 @@ __Name__ = 'Measure Circle' __Comment__ = 'Compute the radius of a circle by 3 points or a circular edge' -__Web__ = 'http://www.freecadweb.org/wiki/index.php?title=Macro_MeasureCircle' -__Wiki__ = 'http://www.freecadweb.org/wiki/index.php?title=Macro_MeasureCircle' +__Web__ = 'http://www.freecadweb.org/wiki/Macro_MeasureCircle' +__Wiki__ = 'http://www.freecadweb.org/wiki/Macro_MeasureCircle' __Icon__ = 'MeasureCircle.svg' __Help__ = 'Make a selection of 3 points or an edge and launch, or launch first' __Author__ = 'peepsalot, galou_breizh' diff --git a/Utility/MessageBox.FCMacro b/Utility/MessageBox.FCMacro index 46253a0..dfe1378 100644 --- a/Utility/MessageBox.FCMacro +++ b/Utility/MessageBox.FCMacro @@ -3,8 +3,8 @@ __Name__ = 'Message Box' __Comment__ = 'Show how to give information to the user in macros' -__Web__ = 'http://freecadweb.org/wiki/index.php?title=Macro_MessageBox' -__Wiki__ = 'http://freecadweb.org/wiki/index.php?title=Macro_MessageBox' +__Web__ = 'http://freecadweb.org/wiki/Macro_MessageBox' +__Wiki__ = 'http://freecadweb.org/wiki/Macro_MessageBox' __Icon__ = "" __Help__ = 'Run and be warned' __Author__ = 'galou, Mario52 and other contributors' diff --git a/Utility/SelectVisible.FCMacro b/Utility/SelectVisible.FCMacro index ce302e7..2f2cd39 100644 --- a/Utility/SelectVisible.FCMacro +++ b/Utility/SelectVisible.FCMacro @@ -2,8 +2,8 @@ __Name__ = 'Select Visible' __Comment__ = 'All visible objects in the tree will be selected' -__Web__ = 'http://www.freecadweb.org/wiki/index.php?title=Macro_SelectVisible' -__Wiki__ = 'http://www.freecadweb.org/wiki/index.php?title=Macro_SelectVisible' +__Web__ = 'http://www.freecadweb.org/wiki/Macro_SelectVisible' +__Wiki__ = 'http://www.freecadweb.org/wiki/Macro_SelectVisible' __Icon__ = 'SelectVisible.svg' __Help__ = 'All visible objects in the tree and only these will be selected' __Author__ = 'galou_breizh' diff --git a/apothemBasedPrism.py b/apothemBasedPrism.py index 9183c42..6fb0020 100644 --- a/apothemBasedPrism.py +++ b/apothemBasedPrism.py @@ -8,7 +8,7 @@ # # # # # # # # # # # # -# see http://www.freecadweb.org/wiki/index.php?title=Macro_Apothem_Based_Prism_GUI +# see http://www.freecadweb.org/wiki/Macro_Apothem_Based_Prism_GUI import FreeCAD, FreeCADGui, Part, PartGui, math from FreeCAD import Base diff --git a/myMacroDir/myMacro.py b/myMacroDir/myMacro.py index 2761c78..25c21c1 100644 --- a/myMacroDir/myMacro.py +++ b/myMacroDir/myMacro.py @@ -2,11 +2,11 @@ # your copyright info here # -# meta data for macro management +# meta data for macro management __Comment__ = 'My macro is a super macro and can be used whenever other macros fail ' __Web__ = "http://forum.freecadweb.org/viewtopic.php?f=8&t=11302" -__Wiki__ = "http://www.freecadweb.org/wiki/index.php?title=Macro_FreeCAD_to_Kerkythea" +__Wiki__ = "http://www.freecadweb.org/wiki/Macro_FreeCAD_to_Kerkythea" __Icon__ = "Part_Common.svg" __Help__ = "This is the help text of this macro" __Author__ = "Freek Ad" @@ -20,7 +20,7 @@ # -# the macro should have a test method to check the sucess of the installation +# the macro should have a test method to check the success of the installation # def test(): errorMsg="There are some errors: a, b, c" diff --git a/unfoldBox.py b/unfoldBox.py index 3afd66a..6a13e7f 100644 --- a/unfoldBox.py +++ b/unfoldBox.py @@ -1,4 +1,4 @@ -# SEE http://www.freecadweb.org/wiki/index.php?title=Macro_unfoldBox +# SEE http://www.freecadweb.org/wiki/Macro_unfoldBox #*************************************************************************** #* * #* Copyright (c) 2013 - DoNovae/Herve BAILLY * diff --git a/unrollRuledSurface.py b/unrollRuledSurface.py index 996c397..02648d6 100644 --- a/unrollRuledSurface.py +++ b/unrollRuledSurface.py @@ -1,4 +1,4 @@ -# see http://www.freecadweb.org/wiki/index.php?title=Macro_unrollRuledSurface +# see http://www.freecadweb.org/wiki/Macro_unrollRuledSurface #*************************************************************************** #* * #* Copyright (c) 2013 - DoNovae/Herve BAILLY * @@ -122,7 +122,7 @@ def close(): ##################################### # Class unrollRuledSurface -# - file_name : ouput file +# - file_name : output file # - pts_nbr : nbr point of # discretization #####################################