helppyFormex - Support: sr #109155, How to join a PolyLine with an Arc?


sr #109155: How to join a PolyLine with an Arc?

Submitter:  Klaus Burkart <klausb>
Submitted:  Sat 01 Oct 2016 08:23:48 PM UTC
Category:  Open discussion Priority:  5 - Normal
Severity:  3 - Normal Privacy:  Public
Assigned to:  None Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sun 02 Oct 2016 10:15:08 AM UTC, comment #1: 

The problem is that you have the Arc Q oriented in clockwise direction, while the PolyLine B is counter-clockwise. As a result the concatenation of the curves jumps from the bottom (end of Qa) to the top layer (start of B).
You can just reverse one of the curves: Qa = Qa.reverse(), and it will work.

Hint: in detecting such problems, it is useful to display the vertex numbers: drawNumbers(Qb.coords) 

Hint2: you can use short notation Qa+B instead of Qa.append(B)

Benedict Verhegghe <bverheg>
Project Administrator
Sat 01 Oct 2016 08:23:48 PM UTC, original submission:  

I'd like to close a PolyLine with an Arc. I tried to replace the Arc by a PolyLine using approximate() and use append() to join the two Lines comprising the offset boundary without success.

append() seems to close one of the curves before append() is applied.

How can I join the curves?

Klaus Burkart <klausb>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #38639: added by klausb (2KiB - text/x-python)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bverheg (Posted a comment)
  • -email is unavailable- added by klausb (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-01 klausb Attached File- Added, #38639

    Back to the top

    Powered by Savane 3.9