1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with sketch mapping

Discussion in 'Alibre Script' started by albie0803, Sep 30, 2020.

  1. albie0803

    albie0803 Alibre Super User

    S.StartMapping(MP2, MP1, PAA)

    # draw arcs
    arc1 = S.AddArcCenterStartEnd(ERC1, 0.0, ERC1, ER, ERC1, -ER, False)
    arc2 = S.AddArcCenterStartEnd(ERC2, 0.0, ERC2, -ER, ERC2, ER, False)

    # draw lines
    line1 = S.AddLine(arc1.StartPoint, arc2.EndPoint, False)
    line2 = S.AddLine(arc1.EndPoint, arc2.StartPoint, False)


    gives me this


    The start and end point values are absolute and not in reference to the mapped origin point. :mad::(:confused::rolleyes:

    So I will have to plot them manually.
  2. NateLiqGrav

    NateLiqGrav Alibre Super User

    I see what you mean but you have got the values right there to get by.

    I think this does it:
    line1 = S.AddLine(ERC1, ER, ERC2, ER, False)
    line2 = S.AddLine(ERC1, -ER, ERC2, -ER, False)
  3. albie0803

    albie0803 Alibre Super User

    Yes you are correct

Share This Page