Skip to content

Commit

Permalink
Merge pull request #7 from luzpaz/typos
Browse files Browse the repository at this point in the history
Typos and wiki URL fixes
  • Loading branch information
galou authored Oct 30, 2017
2 parents 1cefe79 + ad7e4cb commit 9916141
Show file tree
Hide file tree
Showing 19 changed files with 41 additions and 41 deletions.
6 changes: 3 additions & 3 deletions CartoucheFC.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions FCCamera.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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#####
Expand All @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion GenevaWheelGUI.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion ObjectCreation/Airfoil_Import_and_Scale.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ObjectCreation/HyperbolaCreater.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions ObjectCreation/Macro_FCCircularText.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
***************************************************************************
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions ParametricObjectCreation/Rectellipse.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions ScrewMaker.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions Utility/ForceRecompute.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions Utility/HighlightCommon.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions Utility/HighlightDifference.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions Utility/MeasureCircle.FCMacro
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
4 changes: 2 additions & 2 deletions Utility/MessageBox.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions Utility/SelectVisible.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion apothemBasedPrism.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions myMacroDir/myMacro.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion unfoldBox.py
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> *
Expand Down
4 changes: 2 additions & 2 deletions unrollRuledSurface.py
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> *
Expand Down Expand Up @@ -122,7 +122,7 @@ def close():

#####################################
# Class unrollRuledSurface
# - file_name : ouput file
# - file_name : output file
# - pts_nbr : nbr point of
# discretization
#####################################
Expand Down

0 comments on commit 9916141

Please sign in to comment.