MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030971Community[OCCT] OCCT:Visualizationpublic2019-09-17 10:112019-09-17 13:03
ReporterVico Liang 
Assigned Tokgv 
PrioritynormalSeverityfeature 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] UnscheduledFixed in Version 
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
Attached Files

- Relationships
child of 0024181closedbugmaster Open CASCADE Text to BRep functionality 

-  Notes
(0087191)
kgv (developer)
2019-09-17 11:10
edited on: 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.

(0087198)
Vico Liang (developer)
2019-09-17 13:03

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 View Revisions
2019-09-17 11:11 kgv Relationship added child of 0024181
2019-09-17 13:03 Vico Liang Note Added: 0087198


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker