FeaturesAPI_Fillet.h
FeaturesAPI_Intersection.h
FeaturesAPI_Measurement.h
+ FeaturesAPI_PointCoordinates.h
+ FeaturesAPI_GeometryCalculation.h
FeaturesAPI_MultiRotation.h
FeaturesAPI_MultiTranslation.h
FeaturesAPI_Partition.h
FeaturesAPI_Fillet.cpp
FeaturesAPI_Intersection.cpp
FeaturesAPI_Measurement.cpp
+ FeaturesAPI_PointCoordinates.cpp
+ FeaturesAPI_GeometryCalculation.cpp
FeaturesAPI_MultiRotation.cpp
FeaturesAPI_MultiTranslation.cpp
FeaturesAPI_Partition.cpp
%include "FeaturesAPI_Fillet.h"
%include "FeaturesAPI_Intersection.h"
%include "FeaturesAPI_Measurement.h"
+%include "FeaturesAPI_PointCoordinates.h"
+ %include "FeaturesAPI_GeometryCalculation.h"
%include "FeaturesAPI_MultiRotation.h"
%include "FeaturesAPI_MultiTranslation.h"
%include "FeaturesAPI_Partition.h"
#include "FeaturesAPI_Fillet.h"
#include "FeaturesAPI_Intersection.h"
#include "FeaturesAPI_Measurement.h"
+ #include "FeaturesAPI_PointCoordinates.h"
+ #include "FeaturesAPI_GeometryCalculation.h"
#include "FeaturesAPI_MultiRotation.h"
#include "FeaturesAPI_MultiTranslation.h"
#include "FeaturesAPI_Partition.h"
FeaturesPlugin_Fillet.h
FeaturesPlugin_Fillet1D.h
FeaturesPlugin_Measurement.h
+ FeaturesPlugin_PointCoordinates.h
+ FeaturesPlugin_GeometryCalculation.h
FeaturesPlugin_FusionFaces.h
FeaturesPlugin_RemoveResults.h
FeaturesPlugin_Chamfer.h
FeaturesPlugin_Fillet.cpp
FeaturesPlugin_Fillet1D.cpp
FeaturesPlugin_Measurement.cpp
+ FeaturesPlugin_PointCoordinates.cpp
+ FeaturesPlugin_GeometryCalculation.cpp
FeaturesPlugin_FusionFaces.cpp
FeaturesPlugin_RemoveResults.cpp
FeaturesPlugin_Chamfer.cpp
fillet_widget.xml
fillet1d_widget.xml
measurement_widget.xml
+ point_coordinates_widget.xml
+ geometry_calculation_widget.xml
fusion_faces_widget.xml
chamfer_widget.xml
copy_widget.xml
TestFillet1D_Wire_3.py
TestFillet1D_Wire_4.py
TestFillet1D_Wire_5.py
+ Test19931.py
+ Test20027.py
+ Test20245_1.py
+ Test20245_2.py
+ Test20245_3.py
+ Test20247.py
+ TestPointCoordinates.py
+ TestBasicProperties.py
)
#include <FeaturesPlugin_ExtrusionFuse.h>
#include <FeaturesPlugin_Fillet.h>
#include <FeaturesPlugin_Fillet1D.h>
++#include <FeaturesPlugin_GeometryCalculation.h>
#include <FeaturesPlugin_Intersection.h>
#include <FeaturesPlugin_Measurement.h>
-#include <FeaturesPlugin_GeometryCalculation.h>
+#include <FeaturesPlugin_PointCoordinates.h>
#include <FeaturesPlugin_MultiRotation.h>
#include <FeaturesPlugin_MultiTranslation.h>
#include <FeaturesPlugin_Partition.h>
return FeaturePtr(new FeaturesPlugin_Fillet1D);
} else if (theFeatureID == FeaturesPlugin_Measurement::ID()) {
return FeaturePtr(new FeaturesPlugin_Measurement);
+ } else if (theFeatureID == FeaturesPlugin_PointCoordinates::ID()) {
+ return FeaturePtr(new FeaturesPlugin_PointCoordinates);
+ } else if (theFeatureID == FeaturesPlugin_GeometryCalculation::ID()) {
+ return FeaturePtr(new FeaturesPlugin_GeometryCalculation);
} else if (theFeatureID == FeaturesPlugin_RemoveResults::ID()) {
return FeaturePtr(new FeaturesPlugin_RemoveResults);
} else if (theFeatureID == FeaturesPlugin_Chamfer::ID()) {
extrusionCutFeature.rst
extrusionFeature.rst
extrusionFuseFeature.rst
- fillet1dFeature.rst
filletFeature.rst
+ fillet1dFeature.rst
fuseFeatureFaces.rst
++ geometryCalculationFeature.rst
importResultFeature.rst
linearCopyFeature.rst
measurementFeature.rst
- pointCoordinatesFeature.rst
- geometryCalculationFeature.rst
pipeFeature.rst
++ pointCoordinatesFeature.rst
placementFeature.rst
recoverFeature.rst
removeSubShapesFeature.rst
--- /dev/null
- shape_types="edges faces solids compsolids"
+ <source>
+ <shape_selector id="main_object"
+ label="Object"
+ tooltip="Select a object"
++ shape_types="edges wires faces shells solids compsolids compounds"
+ default=""
+ geometrical_selection="true">
+ <validator id="GeomValidators_ShapeType" parameters="line,edge,wire,face,shell,solid,compsolid,compound"/>
+ </shape_selector>
+ <label id="lenght" isSelectable = "true"/>
+ <label id="area" isSelectable = "true"/>
+ <label id="volume" isSelectable = "true"/>
+ </source>
</group>
</workbench>
<workbench id="Inspection">
+ <group id="PointCoordinates">
+ <feature id="PointCoordinates" title="Point coordinates" tooltip="View point coordinate"
+ icon="icons/Features/point_coord.png" helpfile="pointCoordinatesFeature.html" abort_confirmation="false">
+ <source path="point_coordinates_widget.xml"/>
+ </feature>
+ </group>
<group id="Calculation">
+ <feature id="GeometryCalculation" title="Geometry Calculation" tooltip="Calculate properties of objects"
+ icon="icons/Features/basicproperties.png" helpfile="geometryCalculationFeature.html" abort_confirmation="false">
+ <source path="geometry_calculation_widget.xml"/>
+ </feature>
<feature id="Measurement" title="Measurement" tooltip="Calculate properties of objects"
icon="icons/Features/measurement.png" helpfile="measurementFeature.html" abort_confirmation="false">
<source path="measurement_widget.xml"/>
from FeaturesAPI import addFillet, addChamfer
from FeaturesAPI import addFusionFaces
from FeaturesAPI import measureLength, measureDistance, measureRadius, measureAngle
+from FeaturesAPI import getPointCoordinates
+ from FeaturesAPI import getBasicProperties
from FeaturesAPI import addRemoveResults
from FeaturesAPI import addCopy, addImportResult
from FeaturesAPI import addDefeaturing