Fix misc. typos, whitespace, and http:// to https:// issues
This commit is contained in:
@@ -723,7 +723,7 @@ def getCoinSVG(cutplane,objs,cameradata=None,linewidth=0.2,singleface=False,face
|
||||
vz = cutplane.Placement.Rotation.multVec(FreeCAD.Vector(0,0,1))
|
||||
rot = FreeCAD.Rotation(vx,vy,vz,"ZXY")
|
||||
v.setCameraOrientation(rot.Q)
|
||||
# this is needed to set correct focal depth, otherwise saving doesnt work properly
|
||||
# this is needed to set correct focal depth, otherwise saving doesn't work properly
|
||||
v.fitAll()
|
||||
|
||||
# save view
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# ***************************************************************************
|
||||
# * *
|
||||
# * Copyright (c) 2014 *
|
||||
# * Yorik van Havre <yorik@uncreated.net> *
|
||||
# * Copyright (c) 2014 Yorik van Havre <yorik@uncreated.net> *
|
||||
# * *
|
||||
# * This program is free software; you can redistribute it and/or modify *
|
||||
# * it under the terms of the GNU Lesser General Public License (LGPL) *
|
||||
@@ -25,7 +24,7 @@ from __future__ import print_function
|
||||
|
||||
__title__ = "FreeCAD IFC export"
|
||||
__author__ = "Yorik van Havre","Jonathan Wiedemann","Bernd Hahnebach"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
__url__ = "https://www.freecadweb.org"
|
||||
|
||||
import six
|
||||
import os
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
__title__= "FreeCAD Draft Edit Tool"
|
||||
__author__ = "Yorik van Havre, Werner Mayer, Martin Burbaum, Ken Cline, Dmitry Chigrin, Carlo Pavan"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
__url__ = "https://www.freecadweb.org"
|
||||
|
||||
import FreeCAD
|
||||
import Draft
|
||||
@@ -1000,7 +1000,7 @@ class Edit():
|
||||
self.trackers[self.obj.Name][1].set(self.obj.Shape.Vertexes[2].Point)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# EDIT OBJECT TOOLS : Ellipse (yet to be implemented)
|
||||
# EDIT OBJECT TOOLS : Ellipse (# TODO: yet to be implemented)
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
def setEllipsePts(self):
|
||||
@@ -1362,4 +1362,4 @@ class Edit():
|
||||
|
||||
if FreeCAD.GuiUp:
|
||||
# setup command
|
||||
FreeCADGui.addCommand('Draft_Edit', Edit())
|
||||
FreeCADGui.addCommand('Draft_Edit', Edit())
|
||||
|
||||
@@ -190,7 +190,7 @@ def getTeighaConverter():
|
||||
def convertToDxf(dwgfilename):
|
||||
"""Convert a DWG file to a DXF file.
|
||||
|
||||
If the converter is found it is used, otherwise the convesion fails.
|
||||
If the converter is found it is used, otherwise the conversion fails.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -234,7 +234,7 @@ def convertToDxf(dwgfilename):
|
||||
def convertToDwg(dxffilename, dwgfilename):
|
||||
"""Convert a DXF file to a DWG file.
|
||||
|
||||
If the converter is found it is used, otherwise the convesion fails.
|
||||
If the converter is found it is used, otherwise the conversion fails.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
||||
@@ -192,7 +192,7 @@ void ImportOCAF2::setMode(int m) {
|
||||
Base::FileInfo fi(pDocument->FileName.getValue());
|
||||
filePath = fi.dirPath();
|
||||
}else
|
||||
FC_WARN("Diable multi-document mode because the input document is not saved.");
|
||||
FC_WARN("Disable multi-document mode because the input document is not saved.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -982,7 +982,7 @@ void ExportOCAF2::setupObject(TDF_Label label, App::DocumentObject *obj,
|
||||
names.push_back(prefix + obj->getNameInDocument() + "_i" + name + ".");
|
||||
}
|
||||
// Finally, the subname reference allows to use the label for naming
|
||||
// with preceeding '$'
|
||||
// with preceding '$'
|
||||
names.push_back(prefix + "$" + obj->Label.getValue() + ".");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
This is the FreeCAD standard material library. It's intended to gather
|
||||
the most common Material definitions.
|
||||
How to do a description is explained here:
|
||||
http://www.freecadweb.org/wiki/index.php?title=Material
|
||||
https://www.freecadweb.org/wiki/Material
|
||||
|
||||
To make the material description useful for a lot of applications only
|
||||
files with the (CC BY 3.0) license will be accepted into the FreeCAD
|
||||
|
||||
@@ -46,7 +46,7 @@ if FreeCAD.GuiUp:
|
||||
|
||||
__title__ = "Path Circular Holes Base Operation"
|
||||
__author__ = "sliptonic (Brad Collette)"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
__url__ = "https://www.freecadweb.org"
|
||||
__doc__ = "Base class an implementation for operations on circular holes."
|
||||
__contributors__ = "russ4262 (Russell Johnson)"
|
||||
__created__ = "2017"
|
||||
@@ -150,7 +150,7 @@ class ObjectOp(PathOp.ObjectOp):
|
||||
return shape.Edges[i].Curve.Radius * 2
|
||||
|
||||
|
||||
# for all other shapes the diameter is just the dimension in X. This may be inaccurate as the BoundBox is calculated on the tesselated geometry
|
||||
# for all other shapes the diameter is just the dimension in X. This may be inaccurate as the BoundBox is calculated on the tessellated geometry
|
||||
PathLog.warning(translate("Path", "Hole diameter may be inaccurate due to tessellation on face. Consider selecting hole edge."))
|
||||
return shape.BoundBox.XLength
|
||||
except Part.OCCError as e:
|
||||
|
||||
@@ -1606,7 +1606,7 @@ double Adaptive2d::CalcCutArea(Clipper &clip, const IntPoint &c1, const IntPoint
|
||||
Perf_CalcCutAreaClip.Start();
|
||||
// old way of calculating cut area based on polygon clipping
|
||||
// used in case when there are multiple intersections of tool with cleared poly (very rare case, but important)
|
||||
// 1. find differene between old and new tool shape
|
||||
// 1. find difference between old and new tool shape
|
||||
Path oldTool;
|
||||
Path newTool;
|
||||
TranslatePath(toolGeometry, oldTool, c1);
|
||||
|
||||
@@ -592,7 +592,7 @@ bool ViewProviderSketch::mouseButtonPressed(int Button, bool pressed, const SbVe
|
||||
const Gui::View3DInventorViewer *viewer)
|
||||
{
|
||||
assert(edit);
|
||||
App::AutoTransaction comitter;
|
||||
App::AutoTransaction committer;
|
||||
|
||||
// Calculate 3d point to the mouse position
|
||||
SbLine line;
|
||||
|
||||
Reference in New Issue
Block a user