Misc. typo fixes
Various workbenches
This commit is contained in:
@@ -65,7 +65,7 @@ for pre in Presets:
|
||||
|
||||
|
||||
def makeStructure(baseobj=None,length=None,width=None,height=None,name="Structure"):
|
||||
'''makeStructure([obj],[length],[width],[heigth],[swap]): creates a
|
||||
'''makeStructure([obj],[length],[width],[height],[swap]): creates a
|
||||
structure element based on the given profile object and the given
|
||||
extrusion height. If no base object is given, you can also specify
|
||||
length and width for a cubic object.'''
|
||||
|
||||
@@ -1553,7 +1553,7 @@ def offset(obj,delta,copy=False,bind=False,sym=False,occ=False):
|
||||
print("the offset tool is currently unable to offset a non-Draft object directly - Creating a copy")
|
||||
|
||||
def getRect(p,obj):
|
||||
"returns length,heigh,placement"
|
||||
"returns length,height,placement"
|
||||
pl = obj.Placement.copy()
|
||||
pl.Base = p[0]
|
||||
diag = p[2].sub(p[0])
|
||||
|
||||
@@ -49,7 +49,7 @@ class Snapper:
|
||||
3 functions are useful for the scriptwriter: snap(), constrain()
|
||||
or getPoint() which is an all-in-one combo.
|
||||
|
||||
The indivudual snapToXXX() functions return a snap definition in
|
||||
The individual snapToXXX() functions return a snap definition in
|
||||
the form [real_point,marker_type,visual_point], and are not
|
||||
meant to be used directly, they are all called when necessary by
|
||||
the general snap() function.
|
||||
|
||||
@@ -83,7 +83,7 @@ AutocadPatterns = {
|
||||
"AR-RROOF":"", # seemingly random lines
|
||||
"AR-RSHKE":"", # seemingly random tiles
|
||||
"AR-SAND":"sand",
|
||||
"BOX":"", # stupid unuseful square-inside-square
|
||||
"BOX":"", # stupid useless square-inside-square
|
||||
"BRASS":"", # horizontal ansi33
|
||||
"BRICK":"brick",
|
||||
"BRSTONE":"", # material symbol
|
||||
|
||||
@@ -463,7 +463,7 @@ void OrthoViews::calc_scale() // compute scale req
|
||||
|
||||
void OrthoViews::calc_offsets() // calcs SVG coords for centre of upper left view
|
||||
{
|
||||
// space_x is the emptry clear white space between views
|
||||
// space_x is the empty clear white space between views
|
||||
// gap_x is the centre - centre distance between views
|
||||
|
||||
float space_x = (page_dims[2] - scale * layout_width) / num_gaps_x;
|
||||
|
||||
@@ -148,7 +148,7 @@ void GLImageBox::drawImage()
|
||||
if (_image.hasValidData() == false)
|
||||
return;
|
||||
|
||||
// Gets the size of the diplayed image area using the current display settings
|
||||
// Gets the size of the displayed image area using the current display settings
|
||||
// (in units of image pixels)
|
||||
int dx, dy;
|
||||
getDisplayedImageAreaSize(dx, dy);
|
||||
@@ -213,7 +213,7 @@ void GLImageBox::drawImage()
|
||||
}
|
||||
}
|
||||
|
||||
// Gets the size of the diplayed image area using the current display settings
|
||||
// Gets the size of the displayed image area using the current display settings
|
||||
// (in units of image pixels)
|
||||
void GLImageBox::getDisplayedImageAreaSize(int &dx, int &dy)
|
||||
{
|
||||
|
||||
@@ -200,7 +200,7 @@ void GLImageBox::drawImage()
|
||||
if (_image.hasValidData() == false)
|
||||
return;
|
||||
|
||||
// Gets the size of the diplayed image area using the current display settings
|
||||
// Gets the size of the displayed image area using the current display settings
|
||||
// (in units of image pixels)
|
||||
int dx, dy;
|
||||
getDisplayedImageAreaSize(dx, dy);
|
||||
@@ -265,7 +265,7 @@ void GLImageBox::drawImage()
|
||||
}
|
||||
}
|
||||
|
||||
// Gets the size of the diplayed image area using the current display settings
|
||||
// Gets the size of the displayed image area using the current display settings
|
||||
// (in units of image pixels)
|
||||
void GLImageBox::getDisplayedImageAreaSize(int &dx, int &dy)
|
||||
{
|
||||
|
||||
@@ -69,7 +69,7 @@ PyMOD_INIT_FUNC(InspectionGui)
|
||||
PyMOD_Return(0);
|
||||
}
|
||||
|
||||
// instanciating the commands
|
||||
// instantiating the commands
|
||||
CreateInspectionCommands();
|
||||
InspectionGui::ViewProviderInspection ::init();
|
||||
InspectionGui::ViewProviderInspectionGroup ::init();
|
||||
|
||||
@@ -40,10 +40,10 @@ UltimateTensileStrength = value MPa
|
||||
; Poisson's ratio [unitless], see https://en.wikipedia.org/wiki/Poisson%27s_ratio for the details
|
||||
PoissonRatio =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
AmbientColor =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
Color =
|
||||
|
||||
; Compressive strength https://en.wikipedia.org/wiki/Compressive_strength
|
||||
@@ -52,76 +52,76 @@ CompressiveStrength =
|
||||
; Density in [kg/m^3] https://en.wikipedia.org/wiki/Density
|
||||
Density = value kg/m^3
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
DiffuseColor =
|
||||
|
||||
; Elasticity https://en.wikipedia.org/wiki/Elasticity_%28physics%29
|
||||
Elasticity =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
EmissiveColor =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
Enlargen =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
EnvironmentalEfficiencyClass =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
ExecutionInstructions =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
Finish =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
FireResistanceClass =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
FractureToughness =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
FragmentShader =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
KindOfMaterial =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
KindOfMaterialDE =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
MaterialNumber =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
Model =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
ModulusOfShare =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
Norm =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
SectionFillPattern =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
SectionLinewidth =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
Shininess =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
SoundTransmissionClass =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
SpecularColor =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
StandardCode =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
TexturePath =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
TextureScaling =
|
||||
|
||||
; Thermal conductivity https://en.wikipedia.org/wiki/Thermal_conductivity
|
||||
@@ -130,25 +130,25 @@ ThermalConductivity =
|
||||
; Thermal expansion coefficient (linear) in [1/K] https://en.wikipedia.org/wiki/Thermal_expansion
|
||||
ThermalExpansionCoefficient =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
Transparency =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
UltimateStrain =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
UnitsPerQuantity =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
VertexShader =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
ViewColor =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
ViewFillPattern =
|
||||
|
||||
; Descrition to be updated
|
||||
; Description to be updated
|
||||
ViewLinewidth =
|
||||
|
||||
; Yield strength in [MPa] https://en.wikipedia.org/wiki/Yield_%28engineering%29
|
||||
|
||||
@@ -127,7 +127,7 @@ public:
|
||||
);
|
||||
initialize("The functions in this module allow working with mesh objects.\n"
|
||||
"A set of functions are provided for reading in registered mesh\n"
|
||||
"file formats to either a new or exising document.\n"
|
||||
"file formats to either a new or existing document.\n"
|
||||
"\n"
|
||||
"open(string) -- Create a new document and a Mesh feature\n"
|
||||
" to load the file into the document.\n"
|
||||
|
||||
@@ -932,12 +932,12 @@ void MeshAlgorithm::GetFacetsFromToolMesh(const MeshKernel& rToolMesh, const Bas
|
||||
MeshAlgorithm cToolAlg(rToolMesh);
|
||||
|
||||
// To speed up the algorithm we use the grid built up from the associated mesh. For each grid
|
||||
// element we check whether it lies completely inside or outside the toolmesh or even intersect
|
||||
// element we check whether it lies completely inside or outside the toolmesh or even intersects
|
||||
// with the toolmesh. So we can reduce the number of facets with further tests dramatically.
|
||||
// If the grid box is outside the toolmesh all the facets inside can be skipped. If the grid
|
||||
// box is inside the toolmesh all facets are stored with no further tests because they must
|
||||
// also lie inside the toolmesh. Finally, if the grid box intersect with the toolmesh we must
|
||||
// also check for each whether it intersect we the toolmesh as well.
|
||||
// also lie inside the toolmesh. Finally, if the grid box intersects with the toolmesh we must
|
||||
// also check for each whether it intersects with the toolmesh as well.
|
||||
std::vector<unsigned long> aulInds;
|
||||
for (clGridIter.Init(); clGridIter.More(); clGridIter.Next()) {
|
||||
int ret = cToolAlg.Surround(clGridIter.GetBoundBox(), rcDir);
|
||||
@@ -947,15 +947,15 @@ void MeshAlgorithm::GetFacetsFromToolMesh(const MeshKernel& rToolMesh, const Bas
|
||||
// these facets can be removed without more checks
|
||||
clGridIter.GetElements(raclCutted);
|
||||
}
|
||||
// the box intersect with toolmesh
|
||||
// the box intersects with toolmesh
|
||||
else if (ret == 0) {
|
||||
// these facets must be tested for intersectons with the toolmesh
|
||||
// these facets must be tested for intersections with the toolmesh
|
||||
clGridIter.GetElements(aulInds);
|
||||
}
|
||||
// the box is outside the toolmesh but this could still mean that the triangles
|
||||
// inside the grid intersect with the toolmesh
|
||||
else if (ret == -1) {
|
||||
// these facets must be tested for intersectons with the toolmesh
|
||||
// these facets must be tested for intersections with the toolmesh
|
||||
clGridIter.GetElements(aulInds);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ std::vector<unsigned long> MeshEvalOrientation::GetIndices() const
|
||||
ulStartFacet = ULONG_MAX;
|
||||
}
|
||||
|
||||
// in some very rare cases where we have some strange artefacts in the mesh structure
|
||||
// in some very rare cases where we have some strange artifacts in the mesh structure
|
||||
// we get false-positives. If we find some we check all 'invalid' faces again
|
||||
cAlg.ResetFacetFlag(MeshFacet::TMP0);
|
||||
cAlg.SetFacetsFlag(uIndices, MeshFacet::TMP0);
|
||||
|
||||
@@ -104,7 +104,7 @@ private:
|
||||
|
||||
/**
|
||||
* This class searches for inconsistent orientation of neighboured facets.
|
||||
* Note: The 'TMP0' flag for facets must be resetted before using this class.
|
||||
* Note: The 'TMP0' flag for facets must be reset before using this class.
|
||||
* @author Werner Mayer
|
||||
*/
|
||||
class MeshExport MeshOrientationCollector : public MeshOrientationVisitor
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
/** @name Transformation */
|
||||
//@{
|
||||
/// Transforms the returned facet points with the current tranformation
|
||||
/// Transforms the returned facet points with the current transformation
|
||||
inline void Transform( const Base::Matrix4D& rclTrf );
|
||||
//@}
|
||||
|
||||
@@ -180,7 +180,7 @@ public:
|
||||
|
||||
/** @name Transformation */
|
||||
//@{
|
||||
/// Transforms the returned points with the current tranformation
|
||||
/// Transforms the returned points with the current transformation
|
||||
inline void Transform( const Base::Matrix4D& rclTrf );
|
||||
//@}
|
||||
|
||||
|
||||
@@ -531,7 +531,7 @@ bool SetOperations::CollectFacetVisitor::AllowVisit (const MeshFacet& rclFacet,
|
||||
|
||||
if (it != _edges.end()) {
|
||||
if (_addFacets == -1) {
|
||||
// detemine if the facets shoud add or not only once
|
||||
// determine if the facets should add or not only once
|
||||
MeshGeomFacet facet = _mesh.GetFacet(rclFrom); // triangulated facet
|
||||
MeshGeomFacet facetOther = it->second.facets[1-_side][0]; // triangulated facet from same edge and other mesh
|
||||
Vector3f normalOther = facetOther.GetNormal();
|
||||
|
||||
@@ -79,11 +79,11 @@ public:
|
||||
const std::vector<MeshGeomFacet>& GetTriangles() const { return _triangles;}
|
||||
/** Returns the topologic facets of the polygon. */
|
||||
const std::vector<MeshFacet>& GetFacets() const { return _facets;}
|
||||
/** Returns the the triangle to a given topologic facet. */
|
||||
/** Returns the triangle to a given topologic facet. */
|
||||
virtual MeshGeomFacet GetTriangle(const MeshPointArray&, const MeshFacet&) const;
|
||||
/** Returns the length of the polygon */
|
||||
float GetLength() const;
|
||||
/** Get information about the pol<gons that were processed.
|
||||
/** Get information about the polygons that were processed.
|
||||
* It returns an array of the number of edges for each closed
|
||||
* polygon.
|
||||
*/
|
||||
|
||||
@@ -245,7 +245,7 @@ GtsSurface* GTSAlgos::createGTSSurface(const Mesh::MeshObject& Mesh)
|
||||
Base::Vector3f Vertex;
|
||||
|
||||
|
||||
// Geting all the points
|
||||
// Getting all the points
|
||||
GtsVertex ** aVertex = (GtsVertex **) malloc(Mesh.getKernel().CountPoints() * sizeof (GtsVertex *));
|
||||
for (unsigned int PIter = 0;PIter < Mesh.getKernel().CountPoints(); PIter++)
|
||||
{
|
||||
|
||||
@@ -443,7 +443,7 @@ void SoFCMeshFaceSet::notify(SoNotList * node)
|
||||
* If \a simplest is true then the model is built from the bounding box instead.
|
||||
*
|
||||
* For every move event the complete data set must be iterated to refresh internal Inventor data @see generatePrimitives().
|
||||
* Doing this very often for very huge data sets slows down the system noticeably. Using a rough model as proxy instead of the orignal
|
||||
* Doing this very often for very huge data sets slows down the system noticeably. Using a rough model as proxy instead of the original
|
||||
* data set can speed up the user interaction extremely.
|
||||
* @note The proxy will never be displayed. It's just used for the picking mechanism.
|
||||
* @note The usage of the proxy might be confusing a little bit due to the fact that some details get lost. So it'll be possible
|
||||
|
||||
@@ -135,7 +135,7 @@ void SoFCMeshNode::setMesh(const Mesh::MeshObject* mesh)
|
||||
* If \a simplest is true then the model is built from the bounding box instead.
|
||||
*
|
||||
* For every move event the complete data set must be iterated to refresh internal Inventor data @see generatePrimitives().
|
||||
* Doing this very often for very huge data sets slows down the system noticeably. Using a rough model as proxy instead of the orignal
|
||||
* Doing this very often for very huge data sets slows down the system noticeably. Using a rough model as proxy instead of the original
|
||||
* data set can speed up the user interaction extremely.
|
||||
* @note The proxy will never be displayed. It's just used for the picking mechanism.
|
||||
* @note The usage of the proxy might be confusing a little bit due to the fact that some details get lost. So it'll be possible
|
||||
|
||||
@@ -448,7 +448,7 @@ void ViewProviderMesh::attach(App::DocumentObject *pcFeat)
|
||||
addDisplayMaskMode(pcWireRoot, "Wireframe");
|
||||
|
||||
// faces+wires
|
||||
// Avoid any Z-buffer artefacts, so that the lines always
|
||||
// Avoid any Z-buffer artifacts, so that the lines always
|
||||
// appear on top of the faces
|
||||
SoPolygonOffset* offset = new SoPolygonOffset();
|
||||
offset->styles = SoPolygonOffset::FILLED;
|
||||
|
||||
@@ -123,7 +123,7 @@ void ViewProviderMeshTransformDemolding::attach(App::DocumentObject *pcFeat)
|
||||
|
||||
calcNormalVector();
|
||||
calcMaterialIndex(SbRotation());
|
||||
// geting center point
|
||||
// getting center point
|
||||
center = static_cast<Feature*>(pcObject)->Mesh.getValue().getKernel().GetBoundBox().GetCenter();
|
||||
|
||||
//SoGetBoundingBoxAction boxAction;
|
||||
@@ -183,7 +183,7 @@ void ViewProviderMeshTransformDemolding::DragEndCallback(void)
|
||||
SbRotation rot = pcTrackballDragger->rotation.getValue();
|
||||
calcMaterialIndex(rot);
|
||||
|
||||
Base::Console().Log("View: Finish draging\n");
|
||||
Base::Console().Log("View: Finish dragging\n");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -337,7 +337,7 @@ GtsSurface* MeshAlgos::createGTSSurface(MeshCore::MeshKernel* Mesh)
|
||||
Base::Vector3f Vertex;
|
||||
|
||||
|
||||
// Geting all the points
|
||||
// Getting all the points
|
||||
GtsVertex ** aVertex = (GtsVertex **) malloc(Mesh->CountPoints() * sizeof (GtsVertex *));
|
||||
for (unsigned int PIter = 0;PIter < Mesh->CountPoints(); PIter++)
|
||||
{
|
||||
@@ -348,7 +348,7 @@ GtsSurface* MeshAlgos::createGTSSurface(MeshCore::MeshKernel* Mesh)
|
||||
// cycling through the facets
|
||||
for (unsigned int pFIter = 0;pFIter < Mesh->CountFacets(); pFIter++)
|
||||
{
|
||||
// geting the three points of the facet
|
||||
// getting the three points of the facet
|
||||
Mesh->GetFacetPoints(pFIter,p1,p2,p3);
|
||||
|
||||
// creating the edges and add the face to the surface
|
||||
|
||||
@@ -347,7 +347,7 @@ void ViewProviderScattered::attach(App::DocumentObject* pcObj)
|
||||
pcHighlight->documentName = pcObj->getDocument()->getName();
|
||||
pcHighlight->subElementName = "Main";
|
||||
|
||||
// Hilight for selection
|
||||
// Highlight for selection
|
||||
pcHighlight->addChild(pcPointsCoord);
|
||||
pcHighlight->addChild(pcPoints);
|
||||
|
||||
@@ -508,7 +508,7 @@ void ViewProviderStructured::attach(App::DocumentObject* pcObj)
|
||||
pcHighlight->documentName = pcObj->getDocument()->getName();
|
||||
pcHighlight->subElementName = "Main";
|
||||
|
||||
// Hilight for selection
|
||||
// Highlight for selection
|
||||
pcHighlight->addChild(pcPointsCoord);
|
||||
pcHighlight->addChild(pcPoints);
|
||||
|
||||
|
||||
@@ -377,7 +377,7 @@ void PovTools::transferToArray(const TopoDS_Face& aFace,gp_Vec** vertices,gp_Vec
|
||||
return;
|
||||
}
|
||||
|
||||
// geting the transformation of the shape/face
|
||||
// getting the transformation of the shape/face
|
||||
gp_Trsf myTransf;
|
||||
Standard_Boolean identity = true;
|
||||
if (!aLoc.IsIdentity()) {
|
||||
@@ -386,7 +386,7 @@ void PovTools::transferToArray(const TopoDS_Face& aFace,gp_Vec** vertices,gp_Vec
|
||||
}
|
||||
|
||||
Standard_Integer i;
|
||||
// geting size and create the array
|
||||
// getting size and create the array
|
||||
nbNodesInFace = aPoly->NbNodes();
|
||||
nbTriInFace = aPoly->NbTriangles();
|
||||
*vertices = new gp_Vec[nbNodesInFace];
|
||||
|
||||
@@ -105,7 +105,7 @@ public:
|
||||
const TopoDS_Shape& Shape,
|
||||
float fMeshDeviation=0.1);
|
||||
|
||||
/// write a given shape as points and normal Vectors in a coma separeted format
|
||||
/// write a given shape as points and normal Vectors in a comma separated format
|
||||
static void writeShapeCSV(const char *FileName,
|
||||
const TopoDS_Shape& Shape,
|
||||
float fMeshDeviation,
|
||||
|
||||
@@ -447,7 +447,7 @@ void ImageTriangulation::perform()
|
||||
|
||||
// Set parameters
|
||||
ofm.setInputCloud (cloud_organized);
|
||||
// This parameter is not yet implmented (pcl 1.7)
|
||||
// This parameter is not yet implemented (pcl 1.7)
|
||||
ofm.setMaxEdgeLength (1.5);
|
||||
ofm.setTrianglePixelSize (1);
|
||||
ofm.setTriangulationType (OrganizedFastMesh<PointXYZ>::TRIANGLE_ADAPTIVE_CUT);
|
||||
|
||||
@@ -270,7 +270,7 @@ PyMOD_INIT_FUNC(SandboxGui)
|
||||
PyMOD_Return(0);
|
||||
}
|
||||
|
||||
// instanciating the commands
|
||||
// instantiating the commands
|
||||
CreateSandboxCommands();
|
||||
SandboxGui::Workbench::init();
|
||||
SandboxGui::SoWidgetShape::initClass();
|
||||
|
||||
@@ -161,7 +161,7 @@ def saveShape(csg,filename,shape,name,hasplacement = True,cleanshape=False):
|
||||
sh=shape.copy()
|
||||
sh.Placement=FreeCAD.Placement()
|
||||
# it not yet tested if changing the placement recreated the
|
||||
# tesselation. but for now we simply do the cleaing once again
|
||||
# tessellation. but for now we simply do the cleaing once again
|
||||
# to stay on the safe side
|
||||
if cleanshape:
|
||||
shape = shape.cleaned()
|
||||
@@ -347,7 +347,7 @@ class Drawexporter(object):
|
||||
self.csg.write('explode %s E\n' % subobj.Name )
|
||||
self.csg.write('wire %s %s_1\n' %(sectionname,subobj.Name))
|
||||
if sh.ShapeType == 'Face':
|
||||
#we should use outer wire when it becomes avaiable
|
||||
#we should use outer wire when it becomes available
|
||||
self.csg.write('explode %s W\n' % subobj.Name )
|
||||
#csg.write('tcopy %s_1 %s\n' %(subobj.Name,sectionname))
|
||||
sectionname ='%s_1' % subobj.Name
|
||||
@@ -551,7 +551,7 @@ class Drawexporter(object):
|
||||
elif ob.TypeId == "Part::Extrusion" and ob.TaperAngle.Value == 0:
|
||||
if checksupported: return True # The object is supported
|
||||
self.process_object(ob.Base)
|
||||
#Warning does not fully ressemle the functionallity of
|
||||
#Warning does not fully resemble the functionality of
|
||||
#Part::Extrusion
|
||||
#csg.write('tcopy %s %s\n'%(ob.Base.Name,d1['name']))
|
||||
facename=ob.Base.Name
|
||||
@@ -589,7 +589,7 @@ class Drawexporter(object):
|
||||
for i,subobj in enumerate(ob.Sections):
|
||||
explodeshape = self.alwaysexplode or \
|
||||
self.process_object(suboobj,True)
|
||||
if explodeshape and False: #diabled TBD
|
||||
if explodeshape and False: #disabled TBD
|
||||
try:
|
||||
raise NotImplementedError
|
||||
sectionname = '%s-%02d-section' % (ob.Name,i)
|
||||
|
||||
@@ -73,7 +73,7 @@ PyMOD_INIT_FUNC(SurfaceGui)
|
||||
Base::Interpreter().runString("import Surface");
|
||||
Base::Interpreter().runString("import PartGui");
|
||||
|
||||
// instanciating the commands
|
||||
// instantiating the commands
|
||||
CreateSurfaceCommands();
|
||||
|
||||
SurfaceGui::Workbench::init();
|
||||
|
||||
@@ -228,7 +228,7 @@ App::DocumentObjectExecReturn * DrawSVGTemplate::execute(void)
|
||||
// Parse the document XML
|
||||
QDomElement docElem = doc.documentElement();
|
||||
|
||||
// Obtain the size of the SVG document by reading the document attirbutes
|
||||
// Obtain the size of the SVG document by reading the document attributes
|
||||
Base::Quantity quantity;
|
||||
|
||||
// Obtain the width
|
||||
|
||||
@@ -914,7 +914,7 @@ void MDIViewPage::clearSelection()
|
||||
blockSelection(false);
|
||||
}
|
||||
|
||||
//!Update QGVPage's selection based on Selection made outside Drawing Interace
|
||||
//!Update QGVPage's selection based on Selection made outside Drawing Interface
|
||||
//invoked from VPP
|
||||
void MDIViewPage::selectFeature(App::DocumentObject *obj, const bool isSelected)
|
||||
{
|
||||
|
||||
@@ -89,7 +89,7 @@ class DocumentBasicCases(unittest.TestCase):
|
||||
except:
|
||||
FreeCAD.Console.PrintLog(" exception thrown, OK\n")
|
||||
else:
|
||||
self.fail("no exeption thrown")
|
||||
self.fail("no exception thrown")
|
||||
self.Doc.RedoCount
|
||||
self.Doc.UndoNames
|
||||
self.Doc.RedoNames
|
||||
|
||||
Reference in New Issue
Block a user