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
<peepsalot> a quick commit to improve the messages would be great though :)
<InPhase> https://bpa.st/PTOQ The comments from CGAL source about the exception it's throwing.
<InPhase> Which I was only able to obtain with this edit. So yeah, worth committing.
<linext> i tried studying the https://ochafik.com/openscad/ example today
<linext> i removed unused code and made all the libaries/dependencies load locally
<gbruno> [github] rcolyer pushed 3 modifications (Catch and log std::exception for compilation) https://github.com/openscad/openscad/commit/902b23715867702442c6f2dbbbd77f65f7073170
<gbruno> [github] rcolyer opened pull request #4354 (Catch and log std::exception for compilation) https://github.com/openscad/openscad/pull/4354
<InPhase> There, PR opened and issue comment added to document.
<InPhase> peepsalot: Hopefully you find "compilation" adequately generic to suffice. The other place this can be triggered is during a tab open. TabManager has some function that will trigger the same.
<InPhase> But at the very least, the .what() messages should be the real information going forward.
<peepsalot> yeah, definitely better than "parsing"
<InPhase> Now I suppose none of that says what's actually the problem. But it's at least in the ballpark. :)
<InPhase> Maybe some sort of zero-volume piece issue?
<InPhase> Like with two vertices the same?
snaked has joined #openscad
<JordanBrown> So the simple summary is "Something incomprehensible failed. You lose.".
<linext> i wish there were some more examples like this: http://3dcustomizer.net/openscad-gear-configurator/configurator/index.html
<linext> ochafik.com/openscad/ is pretty complex
<linext> probably about 50 files, some code is generated automatically and is not designed to be edited or debugged
<linext> minified
<peepsalot> JordanBrown: welcome to CGAL :P
<JordanBrown> Yeah, it conveyed just about exactly as much information as any other CGAL message.
<JordanBrown> "It Failed. Have a Nice Day."
<JordanBrown> linext examples like that in what way?
<linext> importing libraries/fonts/other.scad files, reading stdout and stderr
<JordanBrown> Ah, you mean the web page that runs that OpenSCAD customizer, as opposed to the particular model that it offers for customization.
<linext> you can get a feel for it: view-source:https://ochafik.com/openscad/
<linext> yea, for my 3dcustomizer.net idea, it needs more features
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
ur5us has quit [Ping timeout: 244 seconds]
J1A843318 has joined #openscad
<linext> the ochafik.com/openscad demo actually unzips compressed libraries and puts them into the web assembly file system
J1A8433 has quit [Ping timeout: 252 seconds]
<linext> is it possible to output a copy of the input.scad file but with the variable substitutions made?
<linext> openscad input.scad -p ... -P ... -o output.scad
<peepsalot> can you even throw something that doesn't inherit from std::exception?
<InPhase> Try /msg geordi { throw 1; }
<InPhase> It's not really a great idea, but you can. :)
<peepsalot> huh, interesting
teepee has quit [Ping timeout: 258 seconds]
teepee has joined #openscad
J1A84331882 has joined #openscad
<JordanBrown> What is geordi?
<peepsalot> bot from #C++
J1A843318 has quit [Ping timeout: 252 seconds]
<Friithian> geordi is a very useful bot
J1A8433188237 has joined #openscad
GNUmoon has joined #openscad
J1A84331882 has quit [Ping timeout: 252 seconds]
epony has joined #openscad
monkeybusiness has quit [Quit: Leaving]
ur5us has joined #openscad
tachoknight has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snaked has quit [Read error: Connection reset by peer]
snaked has joined #openscad
aiyion has quit [Ping timeout: 258 seconds]
aiyion has joined #openscad
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
pa has quit [Ping timeout: 265 seconds]
pah has joined #openscad
ur5us has quit [Remote host closed the connection]
ur5us has joined #openscad
ur5us has quit [Ping timeout: 250 seconds]
ur5us has joined #openscad
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
ur5us has quit [Ping timeout: 268 seconds]
pah is now known as pa
n1essa has quit [Remote host closed the connection]
n1essa has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee_ is now known as teepee
Virindi has quit [Read error: Connection reset by peer]
Virindi has joined #openscad
guerd87 has joined #openscad
foul_owl has quit [Ping timeout: 260 seconds]
snaked has quit [Ping timeout: 250 seconds]
foul_owl has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
J1A8433188237 has quit [Quit: Client closed]
J1A8433188237 has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
guerd87 has quit [Read error: Connection reset by peer]
tachoknight has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee_ is now known as teepee
Trieste has joined #openscad
pah has joined #openscad
pa has quit [Ping timeout: 264 seconds]
qeed has joined #openscad
qeed_ has quit [Ping timeout: 244 seconds]
qeed has quit [Client Quit]
qeed has joined #openscad
pah is now known as pa
J1A8433188237 is now known as J1A84
<J1A84> so i integrated the support into the design .. now it is a bowl https://www.printables.com/model/276787-hexagon-bowl
califax has quit [Remote host closed the connection]
califax has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
Non-ICE has joined #openscad
qeed_ has joined #openscad
qeed has quit [Ping timeout: 268 seconds]
califax has quit [Remote host closed the connection]
califax has joined #openscad
guerd87 has joined #openscad
abff has quit [Read error: Connection reset by peer]
abff has joined #openscad
J1A84 has quit [Quit: Client closed]
J1A84 has joined #openscad
ur5us has joined #openscad
Flecks has quit [Remote host closed the connection]
Fleck has joined #openscad
teepee- has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee- is now known as teepee
<gbruno> [github] PerthGoat opened issue #4355 (Put an msys2 build on the website in the downloads section to fix reliance on Microsoft Media Feature Pack binaries) https://github.com/openscad/openscad/issues/4355
<gbruno> [github] PerthGoat edited issue #4355 (Put an msys2 build on the website in the downloads section to fix dependency on Microsoft Media Feature Pack binaries) https://github.com/openscad/openscad/issues/4355
tachoknight has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
<dalias> is there any trick for using openscad to assemble imported STLs that are entirely non-overlapping without gigantic useless CGAL computations to determine that they're non-overlapping?
<gbruno> [github] rcolyer synchronize pull request #4354 (Catch and log std::exception for compilation) https://github.com/openscad/openscad/pull/4354
<gbruno> [github] rcolyer pushed 1 modifications (const reference exceptions Co-authored-by: Torsten Paul <Torsten.Paul@gmx.de>) https://github.com/openscad/openscad/commit/962c8fab57fb01e3a6dd696160ec48df1cdd116a
<gbruno> [github] rcolyer pushed 1 modifications (const reference exceptions Co-authored-by: Torsten Paul <Torsten.Paul@gmx.de>) https://github.com/openscad/openscad/commit/05d11d06605eaba851ab64dc359f23ef34f075fa
<gbruno> [github] rcolyer synchronize pull request #4354 (Catch and log std::exception for compilation) https://github.com/openscad/openscad/pull/4354
<joseph_> teepee: I forgot to mention earlier that I fixed the segfault issues occurring with 2D test cases. Now there are only 4 failing tests with my PR. One of them is just a visual issue related to wireframe not being shown when toggled (hopefully a trivial fix). The remaining 3 failures are in lazy-union-root-for test cases. The output render makes it through 5 columns of cubes, but fails before the 6th can be rendered. What seems to
<joseph_> be happening is that evaluateGeometry produces a polyset, which would normally be a nef polyhedron when the lazy union feature is turned off. Something about this polyset is incompatible with my changes to the attribute construction in VBO/CGALRenderer.
<joseph_> GeometryEvaluator.cc line 500 has a couple notes in the comments, and from the blame it looks like peepsalot was the last one to work on it. I wonder if the issues I'm having could be related to the temporary approach for root nodes that is mentioned in that comment. Because the only real error across the whole test suite is for the lazy union root modifier.
<InPhase> joseph_: peepsalot gets blamed for a lot of stuff from having fixed up some whitespace. ;)
<InPhase> Although he was actually working in that area not too long ago.
<JordanBrown> I need to print a big copy of https://xkcd.com/386/ and post it on my wall.
<JordanBrown> Nothing to do with OpenSCAD today... I just had to restrain myself from jumping into a discussion on another mailing list.
<InPhase> Does he not sell xkcd posters? Because he should really be selling them.
<dalias> the idea is to assemble print-in-place articulated models from constituent parts modelled outside openscad
<dalias> but it's unusably slow because openscad insists on doing CGAL unioning on imports that don't intersect each other
<peepsalot> joseph_: define "fails before the 6th can be rendered". are you saying the 6th column is just not displayed or are you getting an exception of some sort?
<joseph_> peepsalot: In the CI openscad exits with 0 and doesnt render the column. When debugging, it's an in valid operation error from OGL and exception in VertexState destructor. I'm about to be driving for 45min but then I'll be back online
<peepsalot> can you upload your test report html somewhere?
<peepsalot> or, if its using CI, then i guess just link to the specific CI build
<InPhase> dalias: Did you try enabling lazy union?
<dalias> hm?
<InPhase> dalias: Well with fast-csg and lazy-union both enabled on the master branch, my two separated $fn=300 spheres render in 0.05 seconds.
<dalias> oh i guess it's something new i don't have yet
<dalias> i guess i need to build from soource. distro doesn't have a new ver because there hasn't been a tag in forever :/
<InPhase> There's an AppImage.
<dalias> yeah that's not gonna work. either it would just not run at all because it assumes a glibc host or it would pull in its own glibc ecosystem (including opengl drivers?) that would be gigantic :-p
<InPhase> Well it's a 45MB file. How bad could it be?
<dalias> i'm guessing it just wouldn't run
<InPhase> What sort of computer is this?
<InPhase> Until you start rendering giant stuff, it's pretty lightweight. :)
Colere has quit [Ping timeout: 264 seconds]
Colere has joined #openscad