Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad * Migrate src/Mod/Material files * Migrate Stylesheet related files * Migrate *.svg files * Migrate miscellaneous files * Migrate some build files * Migrate recently added TD AR_IRAM template files Closes #6415
This commit is contained in:
@@ -495,9 +495,9 @@ std::pair<Base::Vector3d, Base::Vector3d> CenterLine::calcEndPoints2Lines(DrawVi
|
||||
|
||||
// The centerline is drawn using the midpoints of the two lines that connect l1p1-l2p1 and l1p2-l2p2.
|
||||
// However, we don't know which point should be l1p1 to get a geometrically correct result, see
|
||||
// https://wiki.freecadweb.org/File:TD-CenterLineFlip.png for an illustration of the problem.
|
||||
// https://wiki.freecad.org/File:TD-CenterLineFlip.png for an illustration of the problem.
|
||||
// Thus we test this by a circulation test, see this post for a brief explanation:
|
||||
// https://forum.freecadweb.org/viewtopic.php?p=505733#p505615
|
||||
// https://forum.freecad.org/viewtopic.php?p=505733#p505615
|
||||
if (DrawUtil::circulation(l1p1, l1p2, l2p1) != DrawUtil::circulation(l1p2, l2p2, l2p1)) {
|
||||
Base::Vector3d temp; // reverse line 1
|
||||
temp = l1p1;
|
||||
|
||||
@@ -152,7 +152,7 @@ protected:
|
||||
|
||||
/// Annoying helper - keep in sync with DrawProjGroupItem::TypeEnums
|
||||
/*!
|
||||
* \todo {See note regarding App::PropertyEnumeration on my wiki page http://freecadweb.org/wiki/User:Ian.rees}
|
||||
* \todo {See note regarding App::PropertyEnumeration on my wiki page http://freecad.org/wiki/User:Ian.rees}
|
||||
* \return true iff 'in' is a valid name for an orthographic/isometric view
|
||||
*/
|
||||
bool checkViewProjType(const char *in);
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
#define VECTORTOLERANCE (Precision::Confusion())
|
||||
|
||||
#define SVG_NS_URI "http://www.w3.org/2000/svg"
|
||||
#define FREECAD_SVG_NS_URI "http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace"
|
||||
#define FREECAD_SVG_NS_URI "http://www.freecad.org/wiki/index.php?title=Svg_Namespace"
|
||||
|
||||
//some shapes are being passed in where edges that should be connected are in fact
|
||||
//separated by more than 2*Precision::Confusion (expected tolerance for 2 TopoDS_Vertex)
|
||||
|
||||
@@ -139,7 +139,7 @@ std::string DrawViewArch::getSVGHead()
|
||||
{
|
||||
return std::string("<svg\\n") +
|
||||
std::string(" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\"\\n") +
|
||||
std::string(" xmlns:freecad=\"http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace\">\\n");
|
||||
std::string(" xmlns:freecad=\"http://www.freecad.org/wiki/index.php?title=Svg_Namespace\">\\n");
|
||||
}
|
||||
|
||||
std::string DrawViewArch::getSVGTail()
|
||||
|
||||
@@ -126,7 +126,7 @@ std::string DrawViewDraft::getSVGHead()
|
||||
{
|
||||
return std::string("<svg\\n") +
|
||||
std::string(" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\"\\n") +
|
||||
std::string(" xmlns:freecad=\"http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace\">\\n");
|
||||
std::string(" xmlns:freecad=\"http://www.freecad.org/wiki/index.php?title=Svg_Namespace\">\\n");
|
||||
}
|
||||
|
||||
std::string DrawViewDraft::getSVGTail()
|
||||
|
||||
@@ -129,7 +129,7 @@ std::string DrawViewSpreadsheet::getSVGHead()
|
||||
{
|
||||
return std::string("<svg\n") +
|
||||
std::string(" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\"\n") +
|
||||
std::string(" xmlns:freecad=\"http://www.freecadweb.org/wiki/index.php?title=Svg_Namespace\">\n");
|
||||
std::string(" xmlns:freecad=\"http://www.freecad.org/wiki/index.php?title=Svg_Namespace\">\n");
|
||||
}
|
||||
|
||||
std::string DrawViewSpreadsheet::getSVGTail()
|
||||
|
||||
@@ -317,7 +317,7 @@ Base::Vector3d BaseGeom::getEndPoint()
|
||||
|
||||
Base::Vector3d BaseGeom::getMidPoint()
|
||||
{
|
||||
// Midpoint calculation - additional details here: https://forum.freecadweb.org/viewtopic.php?f=35&t=59582
|
||||
// Midpoint calculation - additional details here: https://forum.freecad.org/viewtopic.php?f=35&t=59582
|
||||
|
||||
BRepAdaptor_Curve curve(occEdge);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user