bool theInversed)
{
fillAttribute(SketchPlugin_MacroArc::ARC_TYPE_BY_TANGENT_EDGE(), myarcType);
- fillAttribute(theTangentPoint, mytransversalPoint);
+ fillAttribute(theTangentPoint, mytangentPoint);
fillAttribute(theEnd, myendPoint3);
fillAttribute(theInversed, myreversed);
aSession.startOperation()
anArc = aSketchFeature.addFeature("SketchMacroArc")
assert (anArc.getKind() == "SketchMacroArc")
-anArcTgPnt = anArc.refattr("tangent_point")
+anArcTgPnt = anArc.refattr("transversal_point")
assert (not anArcTgPnt.isInitialized())
-anArcEnd = geomDataAPI_Point2D(anArc.attribute("end_point_3"))
+anArcEnd = geomDataAPI_Point2D(anArc.attribute("end_point_4"))
assert (not anArcEnd.isInitialized())
anArcType = anArc.string("arc_type")
assert (not anArcType.isInitialized())
anArcEndPnt = [50., 100.]
aSession.startOperation()
anArc = aSketchFeature.addFeature("SketchMacroArc")
-anArcTgPnt = anArc.refattr("tangent_point")
-anArcEnd = geomDataAPI_Point2D(anArc.attribute("end_point_3"))
+anArcTgPnt = anArc.refattr("transversal_point")
+anArcEnd = geomDataAPI_Point2D(anArc.attribute("end_point_4"))
anArcType = anArc.string("arc_type")
# initialize attributes
anArcType.setValue("by_transversal_line")
aPrevArcEnd = geomDataAPI_Point2D(aPrevArc.attribute("end_point"))
aSession.startOperation()
anArc = aSketchFeature.addFeature("SketchMacroArc")
-anArcTgPnt = anArc.refattr("tangent_point")
-anArcEnd = geomDataAPI_Point2D(anArc.attribute("end_point_3"))
+anArcTgPnt = anArc.refattr("transversal_point")
+anArcEnd = geomDataAPI_Point2D(anArc.attribute("end_point_4"))
anArcEndRef = anArc.refattr("end_point_ref")
anArcType = anArc.string("arc_type")
# initialize attributes