reworking curve adds unwanted points

Next
 From:  macray
4958.1 
Michael,

when I have a curve and add a radius the first time the curve is fine.

the 2nd time I add a curve at another location along the curve (no matter how many) there are points added between all other bends so all the straights are suddenly split in half, adding points and thereby increasing file size.

attached a picture showing the situation.
- the polyline in the front has a radius
- the polyline in the background is a copy of the other and I rounded the corner on the left

=> suddenly 2 more points are added that I don't need. Why is that?

What you see is what you believe - so don't. (from an Amiga500 demo)
Image Attachments:
Size: 14.5 KB, Downloaded: 72 times, Dimensions: 902x555px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4958.2 In reply to 4958.1 
Hi macray,

> => suddenly 2 more points are added that I don't need. Why is that?

It's because the curve filleting code internally fuses together G1 pieces into a single bspline, which involves degree elevating the different segments to all have the same degree as the existing arc which is degree 2.

I've added that to my todo list to rework how the corner fillet processes stuff to avoid doing that, thanks for reporting it.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
4958.3 
To get the extra points upon fillet of the second corner, I had to join the corner lines, and at least the existing arc.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All