discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Are there any libraries for simulating wood grain?

MP
Marcus Poller
Fri, Jun 14, 2024 2:08 PM

Hi William,

I will attach a few pictures and you'll tell me whether they match your question.
I have been extensivly toying around with wooden texture in 3d printing. I even tried multi colored prints.

Picture "wooden_texture.jpg" left to right:

  • (left) A box in gray using wood texture and roof(),
  • (middle) a comparision between minkowski() und roof() to apply wood texture in mono color
  • (right) slicer setting (wiggle x-y randomly) to express the wooden texture

If I understand things correctly, at this time, it would only show in the initial preview, but would be lost (unless 3MF was used?)

The right model is actually multicolor. Color one is dark brown, straight slicer setting. Color two is dark brown, wiggly slicer setting.
The slicer has a feature to wiggle randomly in x and y direction to create the impression of an unsmooth surfaces.
Model one has a wooden texture and Color one, model two is model ones negative and has Color two.
Both models end up on the same printing bed. Both get printed by the same printing head.

You may keep your colors by exporting a separate model by color. The slicer will do the heavy lifting for you.

I have not found any service willing to print 2-colored PETG yet.

Picture multicolor_print.jpg:
Same approach as above: Export shiny-blue/black as one model. Export wood as second model.
Import shiny-blue into the slicer. Import wood into the slicer, set slicer movement to "draw bubbles around holes"
Those got printed onto the same printing bed, but the filament was changed manually after each model.

Hoping that gives you enough clues to refine your research.

Cheers,
Marcus

Hi William, > https://github.com/jemmybutton/fiziko I will attach a few pictures and you'll tell me whether they match your question. I have been extensivly toying around with wooden texture in 3d printing. I even tried multi colored prints. Picture "wooden_texture.jpg" left to right: * (left) A box in gray using wood texture and roof(), * (middle) a comparision between minkowski() und roof() to apply wood texture in mono color * (right) slicer setting (wiggle x-y randomly) to express the wooden texture > If I understand things correctly, at this time, it would only show in the initial preview, but would be lost (unless 3MF was used?) The right model is actually multicolor. Color one is dark brown, straight slicer setting. Color two is dark brown, wiggly slicer setting. The slicer has a feature to wiggle randomly in x and y direction to create the impression of an unsmooth surfaces. Model one has a wooden texture and Color one, model two is model ones negative and has Color two. Both models end up on the same printing bed. Both get printed by the same printing head. You may keep your colors by exporting a separate model by color. The slicer will do the heavy lifting for you. I have not found any service willing to print 2-colored PETG yet. Picture multicolor_print.jpg: Same approach as above: Export shiny-blue/black as one model. Export wood as second model. Import shiny-blue into the slicer. Import wood into the slicer, set slicer movement to "draw bubbles around holes" Those got printed onto the same printing bed, but the filament was changed manually after each model. Hoping that gives you enough clues to refine your research. Cheers, Marcus