Hi,
I ran into an issue with BlindsFeeder-3DPrinting in OpenSCAD where labels do not appear in a full render (F6), even when label=true. They do appear in preview (F5).
I asked someone more familiar with OpenSCAD, and they suggested that this may be caused by 2D geometry (text/label shapes) being used in a 3D context without extrusion, which newer OpenSCAD versions handle more strictly.
Based on that suggestion, I applied the following change:
```diff
color("black") if (label || $preview) {
pt_scale=25.4/72.0;
font_scale=16/21;
- // Create outline and header of label.
- if (first && lane_i == 0) {
+ translate([0, 0, floor_thickness-e]) linear_extrude(height=layer_height+e) {
+ // Create outline and header of label.
+ if (first && lane_i == 0) {
...
- }
- for (part_line = [0:len(part)]) {
+ }
+ for (part_line = [0:len(part)]) {
...
- }
+ }
echo (...);
}
After this change, labels render correctly and are included in the STL.
Tested with:
Hope this helps.
P.S. I'm not very familiar with OpenSCAD internals, so I probably won’t be much help with deeper questions — just sharing what worked for me.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/openpnp/87b43951-cbe3-46dd-b3b7-e205b54e092an%40googlegroups.com.