View Issue Details

IDProjectCategoryView StatusLast Update
0030971CommunityOCCT:Visualizationpublic2022-10-19 15:50
ReporterVico Liang Assigned Tovpozdyayev 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Target VersionUnscheduled 
Summary0030971: Visualization - can Font_BRepFont generate composite curve to C1 rather than to C0?
Descriptionvoid Font_BRepFont::SetCompositeCurveMode (const Standard_Boolean theToConcatenate);

Above method will generate composite curve to C0 if set the flag to true, it's no a good practice. In real application, C1 is more preferable than C0. Another reason is that C1 will good for later modeling algorithm base on font, such as extrusion, revolution, etc. C0 will fail the modeling algorithm in most cases.
TagsNo tags attached.
Test case number

Relationships

child of 0024181 closedbugmaster Open CASCADE Text to BRep functionality 

Activities

kgv

2019-09-17 11:10

developer   ~0087191

Last edited: 2019-09-17 11:11

This flag within Font_BRepFont is an attempt to reduce geometric definition of the glyph shape.

Currently, it combines ALL curves within a glyph contour, therefore there is no reason to expect better continuity than C0.

It could be possible detecting smoothly connected segments within glyph curve and merge only them, but I have no idea if this actually happens in practice.

Patches are welcome.

Vico Liang

2019-09-17 13:03

developer   ~0087198

It's possible to split the composite spline curve at C0 point. This changes should not be hard.

Issue History

Date Modified Username Field Change
2019-09-17 10:11 Vico Liang New Issue
2019-09-17 10:11 Vico Liang Assigned To => kgv
2019-09-17 11:10 kgv Note Added: 0087191
2019-09-17 11:10 kgv Severity minor => feature
2019-09-17 11:10 kgv Target Version 7.5.0 => Unscheduled
2019-09-17 11:10 kgv Summary Can Font_BRepFont generate composite curve to C1 rather than to C0? => Visualization - can Font_BRepFont generate composite curve to C1 rather than to C0?
2019-09-17 11:11 kgv Note Edited: 0087191
2019-09-17 11:11 kgv Relationship added child of 0024181
2019-09-17 13:03 Vico Liang Note Added: 0087198
2022-10-19 15:50 smoskvin Assigned To kgv => vpozdyayev