Skip to content

Draft: Update Draft example file #23284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Roy-043
Copy link
Contributor

@Roy-043 Roy-043 commented Aug 21, 2025

Fixes #23198

I have added osifont-lgpl3fe.ttf to the example folder. The ShapeString in draft_test_objects.FCStd references it using a relative path. I am not sure if including the font here is allowed though.

Additionally: The example file showed up an error in view_wire.py. It is also used for fillets (which do not have a Points property).

Fixes FreeCAD#23198

I have added osifont-lgpl3fe.ttf to the example folder. The ShapeString in draft_test_objects.FCStd references it using a
relative path. I am not sure if including the font here is allowed though.

Additionally: The example file showed up an error in view_wire.py. It is also used for fillets (which do not have a Points property).
@Roy-043 Roy-043 added the Mod: Draft Related to the Draft Workbench label Aug 21, 2025
@Syres916
Copy link
Contributor

@Roy-043 I take it that an example file cannot reference the font already shipped with TechDraw https://github.com/FreeCAD/FreeCAD/blob/main/src/Mod/TechDraw/Gui/Resources/fonts/osifont-lgpl3fe.ttf across all platforms without at least one platform raising an error?

@maxwxyz maxwxyz added the Type: Bug This issue or PR is related to a bug label Aug 22, 2025
@Roy-043
Copy link
Contributor Author

Roy-043 commented Aug 22, 2025

Yes, that is indeed the problem.

I have to look at the PAT file as well. Switching this to Draft for now.

@Roy-043 Roy-043 marked this pull request as draft August 22, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mod: Draft Related to the Draft Workbench Type: Bug This issue or PR is related to a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Draft Example file
3 participants