teepee changed the topic of #openscad to: OpenSCAD - The Programmers Solid 3D CAD Modeller | This channel is logged! | Website: http://www.openscad.org/ | FAQ: https://goo.gl/pcT7y3 | Request features / report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://bit.ly/32MfbH5
greenbigfrog has quit [Ping timeout: 252 seconds]
greenbigfrog has joined #openscad
J24k79 has joined #openscad
J24k45 has quit [Ping timeout: 256 seconds]
lostapathy has quit [Quit: WeeChat 4.1.1]
LordOfBikes has quit [Ping timeout: 265 seconds]
misterfish has quit [Ping timeout: 264 seconds]
LordOfBikes has joined #openscad
lostapathy has joined #openscad
<gbruno> [github] hzeller opened pull request #5333 (Fix includes for <limits>, <list>, <functional> and more <utility>) https://github.com/openscad/openscad/pull/5333
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
alXsei has joined #openscad
<peepsalot> is hzeller in the chat? was it mentioned what version of clang-tidy he's running?
mmu_man has quit [Ping timeout: 245 seconds]
alXsei has quit [Quit: Leaving]
Ultrasauce is now known as sauce
<peepsalot> nevermind, i just went ahead and installed latest version 20
fling has joined #openscad
fling has quit [Ping timeout: 260 seconds]
<gbruno> [github] kintel synchronize pull request #5235 (Add backend setting / flag to enable manifold in prod builds) https://github.com/openscad/openscad/pull/5235
buZz has quit [Ping timeout: 252 seconds]
buZz has joined #openscad
buZz is now known as Guest882
greenbigfrog has quit [Ping timeout: 264 seconds]
greenbigfrog has joined #openscad
myosotis has quit [Remote host closed the connection]
pca006132 has quit [Remote host closed the connection]
pca006132 has joined #openscad
alXsei has joined #openscad
<gbruno> [github] folkertvanheusden synchronize pull request #5288 (PovRay export) https://github.com/openscad/openscad/pull/5288
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
guso78k has quit [Quit: Client closed]
<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> https://www.printables.com/search/models?q=lego+model   but they also have just the parts - but you can put them together in slicer or other software and print as a whole
<f0lkert> I need specifically openscad models as to test my povray exporter. but i'll have a look. thanks
<J24k79> you will have problems as the LEGO Designs are protected by copyright
<J24k79> well as openSCAD model this is for sure very unlikely to find someone doing all the work to assemble something in scad
<f0lkert> the heart is stl. I'll see if I can make something myself.
<J24k79> for something simple with a few blocks that can be done
<J24k79> f0lkert do you need LEGO or just the blocky look like minecraft ?
<f0lkert> specifically lego indeed
<J24k79> hm i only had https://imgur.com/a/mO1yElb  this to offer as openSCAD
<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
<f0lkert> oooh
<f0lkert> just import it
<f0lkert> ha
<J24k79> f0lkert this https://imgur.com/a/jVGDCkY
<f0lkert> oh that looks nice!
<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?
foul_owl has quit [Ping timeout: 255 seconds]
fling has quit [Ping timeout: 260 seconds]
foul_owl has joined #openscad
misterfish has joined #openscad
greenbigfrog has joined #openscad
J24k35 has joined #openscad
J24k6 has quit [Ping timeout: 256 seconds]
greenbigfrog has quit [Ping timeout: 260 seconds]
alXsei has quit [Quit: Leaving]
J24k72 has joined #openscad
J24k35 has quit [Ping timeout: 256 seconds]
mmu_man has joined #openscad
Alexer has quit [Ping timeout: 272 seconds]
Alexer has joined #openscad
Larinioides has joined #openscad
<Larinioides> Hi! I have a bit of aproblem. I get this error.
<Larinioides> WARNING: module polyhedron() does not support child modules in file Bajstest.scad, line 5
<Larinioides> Do you need the full code I am working with to be able to support?
greenbigfrog has joined #openscad
<J24k72> Larinioides this error comes when you omitted a ;
<J24k72> so you used the module and put another behind that is used as children .. but that is not supported by the parent module
<J24k72> polyhedron () is used with points and faces
<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
Larinioides has quit [Ping timeout: 256 seconds]
misterfish has quit [Ping timeout: 252 seconds]
Larinioides has joined #openscad
<J24k72> paste!
<othx> paste is https://bpa.st for .scad files and other text like long error reports, https://pasteboard.co/ or https://imgur.com/ for images
greenbigfrog has quit [Ping timeout: 245 seconds]
greenbigfrog has joined #openscad
<Larinioides>     difference(){
<Larinioides>         polyhedron ( points = [[0, -50, 120], [0, 50, 120], [0, 50, 0], [0, -50, 0], [120, -50, 120], [120, 50, 120]],
<Larinioides>         triangles = [[0,3,2], [0,2,1], [3,0,4], [1,2,5], [0,5,4], [0,1,5], [5,2,4], [4,2,3], ])
<Larinioides>         translate([50,25,90])
<Larinioides>             rotate([0,0,0])
<Larinioides>                 cylinder(50,10,10);
<Larinioides>         translate([50,-25,40])
<Larinioides>             rotate([0,0,0])
<Larinioides>                 cylinder(50,10,10);
<Larinioides>         translate([50,25,90])
<Larinioides>             rotate([0,0,0])
<Larinioides>                 cylinder(50,5,5);
<Larinioides>         translate([50,-25,90])
<Larinioides>             rotate([0,0,0])
<Larinioides>                 cylinder(50,5,5);
<Larinioides>         translate([40,20.15,25])
<Larinioides>             rotate([0,-45,0])
<Larinioides>                 cylinder(50,2.1,2.1);
<Larinioides> If any of you tries this code. I'm trying to get both holes symetrical.
<J24k72> after your polyhedron a  ";" is needed to finish it
<J24k72> and use the term faces instead of triangles
<Larinioides> Thanks a bunch mate!
<Larinioides> This solved my nightmare. I usually only to stuff like cylinders amd boxes.
<Larinioides> First time trying to make a "triangle"
<J24k72> Ü - looks flawless
<Larinioides>     difference(){
<Larinioides>         polyhedron ( points = [[0, -50, 120], [0, 50, 120], [0, 50, 0], [0, -50, 0], [120, -50, 120], [120, 50, 120]],
<Larinioides>         triangles = [[0,3,2], [0,2,1], [3,0,4], [1,2,5], [0,5,4], [0,1,5], [5,2,4], [4,2,3], ]);
<Larinioides>         translate([50,25,40])
<Larinioides>             rotate([0,0,0])
<Larinioides>                 cylinder(50,10,10);
<Larinioides>         translate([50,-25,40])
<Larinioides>             rotate([0,0,0])
<Larinioides>                 cylinder(50,10,10);
<Larinioides>         translate([50,25,90])
<Larinioides>             rotate([0,0,0])
<Larinioides>                 cylinder(50,5,5);
<Larinioides>         translate([50,-25,90])
<Larinioides>             rotate([0,0,0])
<Larinioides>                 cylinder(50,5,5);
<Larinioides>         translate([40,20.15,25])
<Larinioides>             rotate([0,-45,0])
<Larinioides>                 cylinder(50,2.1,2.1);
<Larinioides> Have a continued nice weekend!
<J24k72> you too
<J24k72> btw using faces you can use quads  instead of two triangle faces - will be solved automatic
<Larinioides> Please tell me more.
<Larinioides> If you have time, that is.
<J24k72> should be in our wiki
<J24k72> cheatsheet!
<othx> cheatsheet is https://www.openscad.org/cheatsheet/ for the release version and https://www.openscad.org/cheatsheet/snapshot.html for the development snapshot versions
<Larinioides> Bookmarked!
<Larinioides> Thanks to both of you!
<Larinioides> And mostly to you J24k72, you just saved me a day or two in headaches!
<J24k72> so if you have two (or more) triangles in the same plane -  you can adress them in one vector eg [0,1,2,3]
<Larinioides> How does that work for my design?
<J24k72> faces = [[0,3,2,1], [3,0,4], [1,2,5], [0,1,5,4], [4,5,2,3], ]);
<Larinioides> Need to look into this!
<J24k72> polyhedron ( points = [[0, -50, 120], [0, 50, 120], [0, 50, 0], [0, -50, 0], [120, -50, 120], [120, 50, 120]], faces = [[0,3,2,1], [3,0,4], [1,2,5], [0,1,5,4], [4,5,2,3]]);
<Larinioides> Thanks a bunch again!
krushia has joined #openscad
krushia has quit [Client Quit]
snaked has quit [Quit: Leaving]
greenbigfrog has quit [Ping timeout: 252 seconds]
Larinioides has quit [Ping timeout: 256 seconds]
greenbigfrog has joined #openscad
Guest882 is now known as buZz
mmu_man has quit [Ping timeout: 246 seconds]
<buZz> i make 'triangles' with just circle($fn=3); :P
<J24k72> how regular..
<InPhase> Model T triangles. You can have any triangle you want, as long as it's circumscribed. :)
myosotis has joined #openscad
fling has joined #openscad
<teepee> ok, initial 3mf/v1 color import works
<buZz> w00t
<buZz> :)
<teepee> small difference, the export default the color to cornfield-golden :-)
<teepee> hence the difference of the horizontal bar
fling has quit [Ping timeout: 260 seconds]
pbsds30 has joined #openscad
<J24k72> new magic!  Great.
pca006133 has joined #openscad
voxpelli_ has joined #openscad
red-snail1 has joined #openscad
tcurdt- has joined #openscad
Ultrasauce has joined #openscad
Alexer- has joined #openscad
voxpelli has quit [Ping timeout: 265 seconds]
pca006132 has quit [Ping timeout: 265 seconds]
othx has quit [Ping timeout: 265 seconds]
tcurdt has quit [Ping timeout: 265 seconds]
red-snail has quit [Ping timeout: 265 seconds]
sauce has quit [Ping timeout: 265 seconds]
pbsds3 has quit [Ping timeout: 265 seconds]
Alexer has quit [Ping timeout: 265 seconds]
LordOfBikes has quit [Ping timeout: 265 seconds]
pbsds30 is now known as pbsds3
voxpelli_ is now known as voxpelli
pca006133 is now known as pca006132
othx has joined #openscad
LordOfBikes has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
GNUmoon has quit [Ping timeout: 260 seconds]
GNUmoon has joined #openscad
<gbruno> [github] kintel closed pull request #5333 (Fix includes for <limits>, <list>, <functional> and more <utility>) https://github.com/openscad/openscad/pull/5333
<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]
<gbruno> [github] kintel synchronize pull request #5235 (Add backend setting / flag to enable manifold in prod builds) https://github.com/openscad/openscad/pull/5235
fling has joined #openscad
<gbruno> [github] kintel synchronize pull request #5235 (Add backend setting / flag to enable manifold in prod builds) https://github.com/openscad/openscad/pull/5235
<gbruno> [github] kintel synchronize pull request #5235 (Add backend setting / flag to enable manifold in prod builds) https://github.com/openscad/openscad/pull/5235
misterfish has joined #openscad
<gbruno> [github] folkertvanheusden synchronize pull request #5288 (PovRay export) https://github.com/openscad/openscad/pull/5288
<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
crazy_imp has quit [Ping timeout: 264 seconds]
<teepee> yes, the preview file https://www.printables.com/model/844491-pylon/files#preview.file.IB3EH
<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
<teepee> I'm not seeing that in the file
<J24k72> left is a sphere added with "simple" material
<J24k72> which looks exactly like the "color" option
fling has quit [Remote host closed the connection]
fling has joined #openscad
<J24k72> "metallicness" https://bpa.st/IVNJK   ..  i wouldn't wonder if that is something 3D-builder spezific
kintel has joined #openscad
<teepee> 3mf has official support for quite a big range of material definitions
<teepee> just not seeing that in the pylon preview file yet
<kintel> Btw. I believe Emmet (manifold author) was responsible for a good chunk of the 3mf spec, so he might be able to shine some light on stuff :)
<teepee> ah, yes, I remember he mentioned that
<J24k72> teepee the pylon should only have color .. as the other things caused issues with printables viewer
<teepee> aha, that matches what I see. did just go down a bit of a rabbit hole when adding support for the default object color
<J24k72> but maybe it makes sense to evaluate those properties even we have no shader for refectivity roughness phong etc
<J24k72> but maybe in future we have those as  parameters for color
<J24k72> or material()  ..   from the settings it seems that alpha is transparency that needs a material and is not a color property
<teepee> alpha works for both
<teepee> well, it's definable in the file ;-)
<kintel> Manifold as non-experimental feature: Will merge this soon, in case anyone has objections: https://github.com/openscad/openscad/pull/5235
mtm has joined #openscad
foul_owl has quit [Ping timeout: 264 seconds]
<kintel> FYI: Defaults to CGAL as the test framework will need some love to switch that; will do that in a separate PR
<InPhase> kintel: An exciting advance. Do we have any outstanding "fails on this design" manifold issues? I honestly lost track.
<kintel> Anything on GitHub with the Manifold label still needs to be looked into (only 9 left, and that's far less than known CGAL bugs)
<InPhase> A fair comparison. ;)
<kintel> I think switching to default will be the key change to bring in the crowds, so I'll focus on that next
<InPhase> Yeah, it looks like that list is not really that bad. Most of it looks like actually problems with CGAL that have the Manifold tag.
<kintel> only UX issue I see right now is that with manifold it kind of feels like we're in preview mode (color support and fast to render)
<J24k72> btw anybody heard of *.glb ?  https://3dviewermax.com/guides/glb-viewer-online-3d-files/    some  3d animation format
<kintel> glb is just binary gltf
<teepee> yes, manifold uses that also
<teepee> hopefully gltf2
<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]
fling has joined #openscad
<teepee> oh, look, https://imgur.com/a/aNgagh7
<f0lkert> :-)
<f0lkert> unfortunately black renders poorly in a raytracer
<teepee> chasing a bug in the wrong place is annoying
<teepee> yeah, even in openscad it does not work well
<teepee> it's not acting as black color but as black hole, eating all the lights
<teepee> but at least it reads the default colors from the file now :)
<J24k72> nice
<J24k72> if we would have some reflectivity shader you would get them as light reflex
<J24k72> but so you get "vantablack"
* teepee goes searching for a couple more test files
<J24k72> how does the example file looks with the spheres?
<J24k72> .. btw. the snapcraft svg on the download website didn't load for me
<J24k72> (but can open in new window)
<teepee> I could not download that file. it said "file deleted"
* teepee declares the bambu 3mf files broken
<J24k72> i thought you downloaded it ..
<J24k72> i think bambu 3mf follow the specs - but they are build complicated - however iirc scad could import them without issue
<teepee> I have now
<teepee> no, there's a paint_color="8" at the triangles and I'm not seeing that in the specs
<teepee> getting a single white sphere
<teepee> I suppose the transform is missing
<J24k72> should be 4 spheres
<teepee> it does see 5 meshes
<J24k72> five
<J24k72> yes and with materials and colors  (all options that 3D builder offers)
mmu_man has quit [Ping timeout: 272 seconds]
<J24k72> but as only color works in printables web viewer i am not surprised.  (and textures are an extra option)
<J24k72> maybe the spheres are tiny and within the white
<J24k72>     <item objectid="14" transform="1 0 0 0 1 0 0 0 1 -200.091 -20.2523 10" />
<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 :)
<f0lkert> but now you can 3D print it!
<buZz> woohoo :D
<buZz> gravity permitting ;) iirc minecraft doesnt really believe gravity exists
<f0lkert> https://vps001.vanheusden.com/~folkert/minecraft.scad.xz <- 64 MB .scad file after decompression
<f0lkert> my laptop is for minutes busy trying to load it :-)
<f0lkert> i'll make a smaller one
<buZz> ahahah :)
<buZz> now do a full map? :D
<buZz> lol
<buZz> gonna take years :P
<guso78k> IIRC its exactly otherwise. in linux is V2, and windows v1
<f0lkert> buZz: memory will be a constrained as well I think
<buZz> ah yes, probably
<teepee> J24k72: transform! https://imgur.com/a/uyr3Gaj
fling has quit [Remote host closed the connection]
fling has joined #openscad
L29Ah has quit [Read error: Connection reset by peer]
L29Ah has joined #openscad
mtm has quit [Ping timeout: 276 seconds]