teepee changed the topic of #openscad to: OpenSCAD - The Programmers Solid 3D CAD Modeller | This channel is logged! | https://openscad.org/advent-calendar-2021/ | 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
<linext> i've been solving hackerrank problems today just to have something challenging to workon
snakedGT has joined #openscad
sublim9 has quit [Ping timeout: 256 seconds]
walterwhip has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
LordOfBikes has quit [Ping timeout: 256 seconds]
walterwhip has joined #openscad
<gbruno> [github] t-paul pushed 2 modifications (Merge pull request #4083 from ochafik/builtin_polyhedron_fix
<gbruno> [github] t-paul pushed 1 modifications (Bump CGAL requirement to version 5.3.). https://github.com/openscad/openscad/commit/9a6fe6bb69151b1774c013de267651ef21b86aaa
<gbruno> [github] t-paul pushed 1 additions 1 modifications (Update cmake support for SpNav input driver.). https://github.com/openscad/openscad/commit/7882ea0a7b5dac58f708c4dac8005714d0aa5125
<gbruno> [github] t-paul pushed 3 modifications (Merge pull request #4082 from ochafik/fast_csg_prerequisites2
califax has quit [Remote host closed the connection]
LordOfBikes has joined #openscad
califax has joined #openscad
J225293829 has joined #openscad
califax- has joined #openscad
califax has quit [Ping timeout: 276 seconds]
califax- is now known as califax
J2252938 has quit [Ping timeout: 256 seconds]
snakedGT has quit [Ping timeout: 256 seconds]
snakedGT has joined #openscad
califax- has joined #openscad
califax has quit [Ping timeout: 276 seconds]
califax- is now known as califax
snakedGT has quit [Ping timeout: 240 seconds]
snakedGT has joined #openscad
Guest58 has joined #openscad
Guest58 has quit [Quit: Client closed]
<gbruno> [github] t-paul pushed 4 modifications (Merge pull request #4084 from openscad/cleanup
<gbruno> [github] t-paul pushed 1 additions 1 modifications (Merge pull request #4085 from openscad/cmake-add-spnav
buZz has joined #openscad
<teepee> oof, is that fast-csg now even quicker with the memory allocator changes? that's quite amazing
<gbruno> [github] t-paul pushed 1 modifications (Merge pull request #4086 from rcolyer/uint64stl
* teepee wonders what ndnihil does with all the spare closing brackets ;-)
<InPhase> Each one is nested within the last, and they will be closed after the project is complete.
<teepee> oh my
<teepee> aaaand we created a conflict with fast-csg merging the size_t change
<teepee> I really wonder about the reactions to the color behavior change with fast-csg
ur5us has quit [Ping timeout: 240 seconds]
<teepee> but then, if we ever want to actually do color, it would change anyway, so ¯\_(ツ)_/¯
LordOfBikes has quit [Ping timeout: 256 seconds]
<InPhase> What? How could that conflict with anything?
LordOfBikes has joined #openscad
<teepee> new geometry class with new method to extract the information for stl export
Manechkin_Roman has joined #openscad
<Manechkin_Roman> Здравствуйте, скажите есть ли в вашей программе возможность для создания сложных 2д схем с таблицами и текстом?
<Manechkin_Roman> Я хочу автоматизировать часть моей работы по проектированию линий связи и я хочу воспользоваться вашей программой
<ccox> No, openscad is a 3D modeling program. You can create 2D shapes and text, but that isn't what it is best at.
<ccox> for automating 2D design, I just write code that spits out SVG, then rasterize it in other software.
<InPhase> Manechkin_Roman: There are many vector graphics libraries in Python that might work better for you, along with outputting LaTeX for things like the tables.
<teepee> or SVG/PDF via the cairo library - https://pycairo.readthedocs.io/en/latest/index.html
ferdna has quit [Quit: Leaving]
<InPhase> A pattern that has worked really well for me for some content types is Python to make vector figures plus tables which then get fed into LaTeX for adaptive layout, and then package it all up with some shell scripts
<Manechkin_Roman> А как мне тогда импортировать сложные 2д чертежи из автокада ?
<Manechkin_Roman> У меня в автокаде огромное количество готовых схем. Мне они очень нужны
<InPhase> Manechkin_Roman: Export as dxf. Also, it would save time to use this: https://translate.google.com/
<Manechkin_Roman> OK thank you very much
<InPhase> :)
Manechkin_Roman has quit [Quit: Client closed]
<InPhase> Probably that will be the wrong tool for the job, but we tried.
<teepee> hard to tell without seeing examples, but yeah, probably if there's maybe text formatting involved
<InPhase> Well, even just communication wiring. I have about 30 stretches of ethernet cable in my house, but despite being pretty good with OpenSCAD, I sure wouldn't want to model this in OpenSCAD. :)
<teepee> indeed, engineer rule: don't just own a hammer :)
<teepee> I think we need a way to enable experimental features by default
<ccox> enable the UI to activate them, maybe. Enable things that don't work yet by default - not a good plan.
<ccox> (even if it works for certain game makers)
<teepee> obviously not for all, but the fast-csg would be a candidate to be enabled by default
<teepee> language changes or incomplete stuff not
<ccox> no, that sounds like it needs a round of beta testing
<teepee> true, which is why they are called development snapshots ;-)
PovilasCNC has joined #openscad
walterwhip has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<ccox> then we need to encourage knowledgeable users to use those dev snapshots and report problems.
<ccox> give them a hint that we're testing something beyond the usual bug fixes and minor improvements.
<teepee> I don't have numbers but they are used for sure, visible in the bug reports
<teepee> hmm, there could be an notification screen when features change
<ccox> that could help, but you need something to get more people to download and try the build. You want 5000 testers, not 50.
<teepee> pretty sure it's more than 50
<teepee> but I'm sure not everyone would bother reporting bugs, that's just normal
<teepee> well, Ubuntu has numbers... snap reports 2,829 weekly active devices for the nightly and 6,154 for the release
<teepee> how many of those are actually used, it a different question :)
<ccox> how many of those are thingiverse trying to render scad files :-)
<teepee> none, thingiverse uses 2015.03
<teepee> nobody else uses that hopefully :)
<ccox> ouch
<teepee> docker tracks pulls too, lets see how that behaves. current status is 466
<teepee> but that's a bit special use of course
<JakeSays> i have one stretch of ethernet cable and it hangs across my kitchen ceiling
othx has quit [Read error: No route to host]
othx has joined #openscad
willmore has quit [Ping timeout: 240 seconds]
willmore has joined #openscad
ur5us has joined #openscad
willmore has quit [Ping timeout: 240 seconds]
willmore has joined #openscad
OlivierChafik[m] has joined #openscad
lastrodamo has joined #openscad
ur5us has quit [Ping timeout: 240 seconds]
Guest13 has joined #openscad
Guest13 has quit [Client Quit]
Guest56 has joined #openscad
<Guest56> hiiii
<Guest56> whats up guyyyyyyyys
Guest45 has joined #openscad
Guest56 has quit [Client Quit]
<Guest45> Hi everyone! Does anyone know how to input a chess unicode character to a text command? Thank you!
<buZz> what do you mean, type it?
<buZz> or copypaste it
<buZz> does the -font- you're using even have the specific character you try to use? most dont
<buZz> so, these; ♚ ♛ ♜ ♝ ♞ ♟ ♔ ♕ ♖ ♗ ♘ ♙
<buZz> Guest45: protip, just make your wtf8 stuff in inkscape and export as svg or dxf , import that in openscad
<buZz> done
<Guest45> Thank you buZz. Yes, I want to type chess pieces characters, in order to include them in a text string. Your reference to the font has give me the solution. I'm using an iMac, and the font "Apple Symbols" includes the chess pieces characters. So, adding the 'font' parameter in the 'text' command, it works. Thank you again!
<buZz> cool
Guest45 has quit [Quit: Client closed]
<buZz> just
<buZz> oh
<buZz> 'keep in mind that nobody will be able to render that design ever without that font'
<buZz> ¯\_(ツ)_/¯
noonien has quit [Quit: The Lounge - https://thelounge.chat]
sublim9 has joined #openscad
sublim9 has quit [Remote host closed the connection]
Guest6 has joined #openscad
<Guest6> OpenSCAD is a great thing.:-)  Glad it exists. Cuts my modeling time for 3D projects down significantly. If anyone is here activly developing it. Thanks!
<buZz> ^_^
Guest6 has quit [Quit: Client closed]
PovilasCNC has quit [Quit: Leaving]
<juri_> yay? :)
<teepee> I guess so, yes :)
<teepee> I hereby declare friday the day of guest and also the day of yay!s
<teepee> at least for this week
<juri_> yay!
<juri_> i mean, i look forward to the day implicitcad rules the earth, and the source code of your product is ground into pulp under my feet, but yay! :P
la1yv has quit [Read error: Connection reset by peer]
la1yv has joined #openscad
<teepee> that's fine, I just need to read that Haskell book then :P
<teepee> but then, it's so much more likely we'll get more Flutter and Dart
<juri_> I'm hoping for idris. i really want counted types.
<juri_> the way haskell does that is a hack, and always getting in my way.
<teepee> see, that's the problem, now I have to ask google :)
<teepee> well, actually I'm not, asking the duck
<juri_> ah, actually, the feature name is dependent types.
<juri_> for counted types, i'm using Slist nowadays.. which makes Stan happy, at least.
<teepee> ccox: do you have the code still around that you mentioned in https://github.com/openscad/openscad/issues/4037#issuecomment-1013965293 ?
noonien has joined #openscad
J225293829 has quit [Quit: Client closed]
J225293829 has joined #openscad
<teepee> argh, fedora rawhide ships a beta version of CGAL-5.4
<teepee> why?
<Scopeuk> teepee becouse they hate us all?
<Scopeuk> I guess it is a dev test release
<teepee> I thought it's a rolling release distro?
<teepee> goals: "To allow advanced users access to the newest usable packages in a rolling manner."
<teepee> well, I guess the builds will just say broken until the release version is packaged there
<Scopeuk> "Rawhide" is the name given to the current development version of Fedora Linux. It consists of a package repository called "rawhide" and contains the latest build of all Fedora Linux packages updated on a daily basis.
Guest7 has joined #openscad
<peeps[zen]> does 5.4 break things in a big way?
Guest716 has joined #openscad
<Guest716> hola
<teepee> hi!
<othx> Welcome teepee!
<Guest716> hey
<teepee> peeps[zen]: no, only in small way, one header file renamed. but the fix I added does not trigger with the version number for the beta version
<Guest716> how i can  put a cylinder in horizontally
<teepee> rotate it: rotate([90, 0, 0]) cylinder(...);
Guest7 has quit [Ping timeout: 256 seconds]
<Guest716> thank you very much
<teepee> peeps[zen]: do you have an idea what that fast-csg build error on windows could be? it seems to complain about some gmpxx duplication
<teepee> even stranger it did build on 32-bit MXE but fails on 64-bit MXE and the github windows build (I think that's MSYS2)
<Scopeuk> teepee that looks to me like an attack of the templating engine and something is using size t and creating a type mismatch
<teepee> oh, that would explain the 32-bit difference
<linext> so i found an idea to sell online
<teepee> hmm, belt clip?
Guest3954 has joined #openscad
Guest3954 has quit [Client Quit]
<teepee> J225293829: you may need to watch out for integer overflow in the nick name soon :)
<J225293829> no i hope for it so it auto shortens
<teepee> yeah, it probably does
<J225293829> not sure why this is counting up the way it does
<peeps[zen]> teepee: not sure if its related, but when I was looking at optimizing the CGAL number types, i saw a bunch of operations defined which took long long inputs, but GMP lib doesn't https://gmplib.org/manual/Assigning-Integers
<teepee> peeps[zen]: yeah, that would match what Scopeuk said. with size_t being long long on 64bit but just long on 32bit
<peeps[zen]> i wish we could just ban ambiguous types outside of cstdint
<teepee> in totally different topic, any concerns removing the experimental from the VBO code?
<teepee> it seems like quite a number of people have enabled after performance complaints without it and did not report any issues afterwards
<Scopeuk> Cpp templates do always feel a little, templates you error is now 4 files removed from where it actually is, goodness held you if you mismatch types ina standard find call using vectors
<peeps[zen]> teepee: seems stable enough, i think. would we make it still a configurable preference or hardcode it to enabled?
<teepee> I tend to think dropping the old code is better moving forward
<teepee> especially if we want more updates on the GL side
<peeps[zen]> i don't know which exact combination of settings is ideal, as there's still 3 flags + overall enable
<teepee> right, I have all enabled, I don't remember much visible differences on the detail settings
<peeps[zen]> but I agree, continuing to maintain 2 variations of the render code is unnecessary workload
Guest716 has quit [Quit: Client closed]
<Scopeuk> Can any one point out where the codeql report ends up? I'm wondering if static anlysis might have some helpt on the template go boom issue
<Scopeuk> Ok its on the pr, silly me started by trying to get ot it through the action log
<Scopeuk> Hmm that pr intgrated to sizet to uint64 change made yesterday, along with the extra enable flag that could be our trigger
<peeps[zen]> brb, reboot
peeps[zen] has quit [Quit: Connection reset by peep]
peepsalot has joined #openscad
<teepee> Scopeuk: new comment indicates it might work with earlier CGAL, so maybe it's a CGAL change causing this after all
<Scopeuk> That wouldn't surprise me in the slightest
ur5us has joined #openscad
snakedGT has quit [Ping timeout: 256 seconds]
califax has quit [Remote host closed the connection]
califax has joined #openscad
ur5us has quit [Ping timeout: 256 seconds]
snakedGT has joined #openscad
Alexer has quit [Ping timeout: 256 seconds]
Track has joined #openscad
<Track> Hello
<teepee> hey!
<teepee> Scopeuk: where did you find that size_t? I'm not seeing that
<Track> What is the code to create an circular cylinder
<teepee> what's that, torus? rotate_extrude() translate([20, 0]) circle(5);
Track has quit [Client Quit]
<teepee> whops
<gbruno> [github] t-paul pushed 1 additions 1 modifications (Merge pull request #4088 from ochafik/sort_sources
<ccox> teepee - yes, but it's in the same branch as #4052, so I've been waiting for that to be integrated. (yes, I made a mistake on branches, so the change is in git limbo)
<teepee> ah, ok, let me have a look
<ccox> crud, now #4052 has a conflict because of more recent changes.
ur5us has joined #openscad
<ccox> ah, conflict is trivial, just need the catch(std) and return shared_ptr.
<teepee> yeah, not sure what happens after resolving the conflict
<teepee> it says "headsup commiting to master"
<teepee> I guess we'll find out in a minute :)
<ccox> yeah, conflict resolution is the weakest part of git.
<teepee> looks like it did commit to your github master branch
<teepee> so I suspect you may need to tag your local master with a different name and reset --hard local master to some earlier commit
<ccox> try to sync them and now you have both changes in the branch.
<teepee> hmm, that's not ideal. well not a problem for our builds but if linux distros want to cherry pick the commit it would be useful to have it in a separate PR
<ccox> yeah, well, that's what I wanted as well. But git doesn't like things getting out of sync and doesn't resolve well, as you just saw.
<teepee> I can cherry pick that into a separate branch, no problem
<ccox> ok
<gbruno> [github] t-paul pushed 8 additions 68 modifications 1 removals (Merge branch 'master' into master). https://github.com/openscad/openscad/commit/bef7cf1c5de3a1a157193f54d215314f4824c026
epony has quit [Ping timeout: 240 seconds]
little_blossom_ has quit [Ping timeout: 240 seconds]
lastrodamo has quit [Quit: Leaving]
<OlivierChafik[m]> Hi everyone
<OlivierChafik[m]> Thought I was locked out of this IRC for good, most ways to log into libera had decided my IP required extra verification or something
<teepee> hey o/
<teepee> strange, but matrix is mostly fine too :)
little_blossom has joined #openscad
<teepee> except every now and then when the whole bridge is banned accidentally
<teepee> but all good. the libera ops have everything under control
<OlivierChafik[m]> 👌😅
othx has quit [Ping timeout: 240 seconds]
<OlivierChafik[m]> @teepee, thanks for the reviews! What's new / upcoming in the project these days?
<teepee> do you have a patch that could also solve the issue? at least for MXE we have both options, revert to older version or add a patch
othx has joined #openscad
<teepee> hmm, news, lots of stuff I guess, kintel doing M1 universal builds, using memory allocator making things quite a bit faster too
<teepee> also GSoC coming up :)
<teepee> and quite a number of contributions big and small, which is amazing
<ccox> <--- small contributions
<teepee> I'd call the highlighting update at least medium :P
<OlivierChafik[m]> I haven't really dived enough in the issue to fix it, I hope to rely on the CGAL folks for this. It happens on both kernels so couldn't even cheat my way out of it that way.
<OlivierChafik[m]> ooooh!
<teepee> I'm tagging PRs now so it's easier to see new features... https://github.com/openscad/openscad/pulls?q=is%3Apr+is%3Aclosed+label%3A%22PR%3A+Enhancement%22
<ccox> nah, someone else had started the work. I just finished it and cleaned up a bit. :P
<teepee> and hopefully the fast-csg PR shows up there very soon, even if we need to disable on the windows builds for a bit
<teepee> I could at least go back to older CGAL for the MXE builds which are the ones on the download page
<OlivierChafik[m]> lots of cool stuff, and good job on the highlighting haha!
<OlivierChafik[m]> yes if you can revert that in the mxe image (or can we even ask msys2 for a specific version?) it will remove the need for that ugly hack
<teepee> I don't know about msys2, I suppose it's not easy to get a different version there
<teepee> this is really just using the normal upstream distro
<OlivierChafik[m]> (fingers crossed that I don't disappear again for another couple of months before this is ready to merge haha! hopefully no more covid 🤞)
* teepee crosses fingers too
<teepee> for everyone
<OlivierChafik[m]> wow there's even language changes in the list!
<teepee> hmm, with cgal just header library, I guess we can just keep the workaround and see if there's any response from CGAL side
<teepee> rebuilding all the docker images and uploading needs like 8h :)
<OlivierChafik[m]> ouch
<OlivierChafik[m]> yeah lemme file this now :-)
<teepee> it's really building the whole environment starting with gcc and that 2 times still for 32bit and 64bit
<teepee> and the dependencies of Qt even drag in a build of postgres :)
<OlivierChafik[m]> (I like the irony of this, I spent so much time guarding against past versions of cgal, and now it's versions of the future that are biting back)
<teepee> the upgrade experience was not great lately, there's always been build issues too, for now all solvable, with patches but still taking some time
<teepee> but on the plus side we have the new corefinement stuff and the speed is really amazing
<OlivierChafik[m]> yes, just frustrating that we have to fall back to nefs in so many cases. I have a couple of ideas to minimize those cases but all at a cost
<OlivierChafik[m]> (i.e. reintroduce the disjoint bounding box ideas maybe, to combine bodies that don't share vertices - can then be done fully w/ corefinement)
<OlivierChafik[m]> Are there already GsoC projects listed out?
<OlivierChafik[m]> I'd really love to get https://github.com/openscad/openscad/pull/3637 out in some fashion but not sure I can carve out the time to do it properly
<OlivierChafik[m]> (but my immediate objective is to resume my 3d printing projects that spawned this entire optimization frenzy at the first place :-D)
snakedGT has quit [Ping timeout: 256 seconds]
epony has joined #openscad
<teepee> that's the better strategy anyway. actually using the stuff, even if development goes a bit slower in the short term, it keeps the motivation up, at least that's how it works for me
snakedGT has joined #openscad
<gbruno> [github] t-paul pushed 2 modifications (Merge pull request #4089 from openscad/cgal-exceptions
<gbruno> [github] t-paul pushed 1 modifications (add safety to line lookups in DXF import, fixes #4037
ur5us has quit [Ping timeout: 240 seconds]
<teepee> hmm, something is not right with the MXE build, it tries to compile some cgal stuff, fails, still installs it but then picks up CGAL-5.4 anyway
<teepee> so maybe it's better to just revert the MXE cgal version, it's not a huge problem, just takes a while to propagate