<f0lkert>
looking for an openscad model of something looking like lego. i googled of course but can only find libraries for doing so, not any ready models.
misterfish has joined #openscad
greenbigfrog has quit [Ping timeout: 244 seconds]
misterfish has quit [Ping timeout: 264 seconds]
<J24k79>
f0lkert but those libraries will create them - or do you want assembled lego models
<f0lkert>
yes, I'm looking for an assembled lego model indeed
<J24k79>
the cubes could be added with a knob on top - but probably still not what you want
<J24k79>
as soon as you need very different bricks this would be difficult .. using the standard brick with diffrent length might still work to make a sphere
<f0lkert>
please don't spend time for me on it :-) maybe I can think of something else interesting. I thought of Lego because of the plastic look.
<J24k79>
didn't all 3D-prints are plastic and look like plastic
<f0lkert>
true
<f0lkert>
didn't we have an obj import in openscad? can't find it in the menus
<J24k79>
with ub.scad it is ```for(z=[1:40])Tz(z*9.7)Color(z/40)KBS(e=[2,7+round(sin(z/40*180)*8)*2,1],male=true);```
<f0lkert>
thanks. I'll look later in it, need to hit the shower and entertain the kids first :)
hyperair has joined #openscad
J24k6 has joined #openscad
J24k79 has quit [Ping timeout: 256 seconds]
krushia has quit [Ping timeout: 252 seconds]
crazy_imp has quit [Ping timeout: 276 seconds]
crazy_imp has joined #openscad
foul_owl has quit [Ping timeout: 260 seconds]
foul_owl has joined #openscad
fling has joined #openscad
<f0lkert>
fwiw: in my obj2pov ( https://github.com/folkertvanheusden/obj2pov ) I pick the most dominant color from the texture-files and use that to color the polygons. that works surprisingly well. maybe that's something for the openscad import function as well?
<J24k72>
so either it was a mistake or you need to tell us what your intention was - e.g. linear_extrude()square(); works with a 2D polygon as children to extrude
<gbruno>
[github] kintel pushed 54 modifications (Fix includes for <limits>, <list>, <functional> and more <utility> (#5333) * Add <utility> to files that use symbols out of it. Any of std::pair, std::swap, std::forward, std::tuple, std::make_pair * Include <list> in files that use std::list * Include <functional> for files using std::function * Include <limits> for files using std::numeric_limits) https://github.com/openscad/openscad/commit/d3d32fe322c58f6be31e7
<teepee>
and materials work too
<teepee>
quite an API glitch with alpha on materials :(
mmu_man has joined #openscad
fling has joined #openscad
fling has quit [Ping timeout: 260 seconds]
fling_ has joined #openscad
fling_ is now known as fling
fling has quit [Ping timeout: 260 seconds]
fling has joined #openscad
fling has quit [Remote host closed the connection]
<teepee>
oh, the pylon uses only the default color
<J24k72>
if that is my pylon - there are different versions as the BS version didn't show in printables and so there is a version that is just for viewing
<J24k72>
as the description "colored - viewer only" - can't print that as you get these doubled and scaled duplicates - and the slicer will not recognize colors - just a multipart object (where you have delete half of them)
<J24k72>
made by MS 3Dbuilder
<teepee>
it should still be colored when importing to openscad :-)
<teepee>
right now it's not as it's not using triangle colors but just defining the default color for the object
<teepee>
so, great example for import testing
crazy_imp has joined #openscad
<J24k72>
ah ok - i am not even sure if ms 3d-builder is still supported by MS .. there are several bugs
<J24k72>
and the 3D viewer does things differently
<teepee>
yeah, they may have lost interest in 3d printing over AI now :D
<teepee>
but default color seems a valid definition that was just not implemented in openscad yet
myosotis has quit [Remote host closed the connection]
<J24k72>
there is also some reflectivity setting that causes issues in printables web viewer
<kintel>
we could technically import/export a (small) subset of it if needed
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<J24k72>
exporting a 3D animation could be quite interesting for other 3D software
<InPhase>
And props to everyone who has been working on getting Manifold ready. I've kind of gotten used to Manifold being how OpenSCAD works now, but it deserves remembering periodically how game-changing it is. :)
<J24k72>
never worked with glTF but seems this is quite the standard for 3D in industry and probably for VR
fling has quit [Remote host closed the connection]
fling has joined #openscad
foul_owl has joined #openscad
fling has quit [Remote host closed the connection]
<teepee>
ah, I think the import is wrong anyway, it currently goes through meshes, but I think it needs to go through the build-items
<J24k72>
no simple times where there are just triangles - Ü
<J24k72>
bit strange that 3mf doesn't have a full hierarchy with groups - only parts and objects - while bambu creates these extra model files for each object
<teepee>
there is an extension for CSG
mmu_man has joined #openscad
foul_owl has quit [Ping timeout: 252 seconds]
fling has quit [Remote host closed the connection]
fling has joined #openscad
<J24k72>
the build-items are probably to fill the build plate with 50× clones so the 3mf only have the mesh 1× and saves the bytes
guso78k has joined #openscad
foul_owl has joined #openscad
<guso78k>
teepee, for the 3mf pr, the ctests were clean locally for me after i updated the expected file with TEST_GENERATE=1. but appears that the 3mf files in the CI are created by other 3mf version ? is it possible to find out, how the tests are different in the ci ?
fling has quit [Remote host closed the connection]
fling has joined #openscad
misterfish has quit [Ping timeout: 265 seconds]
<teepee>
J24k72: 3mf without builditem is invalid IIRC
<teepee>
guso78k: linux builds still use v1, not sure right now about windows, might be only macos on v2 so far
<f0lkert>
HA. HAHA! I successfully converted part of a minecraft map to openscad .scad-file with colors! \o/
<buZz>
woot :D
<buZz>
and now you're rendering it in povray? ;)
<f0lkert>
well my converter could already convert .obj to povray :)