I understand that FreeCad relies on other code to convert to CSG and that when the "use" is missing, FreeCad is not the tool responsible for that.
However the last test case was not about that in principle, but abou the fact that adding text makes part of the model disappear.
The CSG files demonstrates that (the difference is only the "text"): the file without "text" shows all parts/bodies - the file with text makes the LCD display itself disappear, only the "PCB" itself and the (added) text remain.
With regards to the font issue:
Installing the font under windows does not help - even OpenSCAD requires the "use <electra.ttf;" statement to be present to use the specific font.
Here is a third case (the two previous cases I provided are still valid for their main purpose):
No font explicitally specified, just writing a fine layer of text in gold, so not potentially introducing an issue because of a bad font.
Code: Select all
// SCAD file contents
gold="#ffd700";
$fn = 32;
color(gold)
linear_extrude(0.001) {
text("Hello FreeCAD!", size=5.55*0.95);
};
Executing that takes a long time on my high end machine, the console shows:
Code: Select all
4:19:30 opening C:\Users\User\AppData\Local\Temp\fc-28472-995712-000002.dxf...
14:19:30 This function will be deprecated. Please use 'make_layer'.
14:19:30 ----------------
14:19:30 Layer
14:19:30 name: 0
14:19:30 line_color: (0.0, 0.0, 0.0)
14:19:30 line_width: 2.0
14:19:30 draw_style: Solid
14:19:30 transparency: 0
14:19:30 drawing 542 lines...
14:19:30 skipping texts...
14:19:30 skipping dimensions...
14:19:30 skipping points...
14:19:30 skipping leaders...
14:19:30 skipping hatches...
14:19:30 skipping *blocks...
14:19:30 done processing
14:19:30 successfully imported C:\Users\mdeweerd\AppData\Local\Temp\fc-28472-995712-000002.dxf
14:19:30 Scale: [1.0, 1.0]
14:19:30 End processing CSG file
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
14:19:30 0
So that's 20 times "14:19:30 0", as many as there are contours apparently, the use of a deprecated function and very slow execution just for writing 11 characters requiring effectively 20 contours.