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
<ali1234> is there a way to write "*/" in a comment?
<ali1234> lf94: if laptop uses more than ~22 watts then it's more expensive
<ali1234> anyway, context is solidpython wants to put the python code into the generated scad file, but the python code uses a glob("**/*.stl") and this looks like a comment terminator to the parser in solidpython at least
<ali1234> would need openscad to support something like heredoc in comments to do this properly
J24k76 has joined #openscad
<peepsalot> ali1234: just put it in a single line comment instead of block comment: // */ etc.
<ali1234> that would make it annoying to extract the code
J24k has quit [Ping timeout: 250 seconds]
<peepsalot> openscad editor even has a menu item + shortcut to remove comments, or use an editor with column select mode, or regex replace the comments away... plenty of ways to make it work.
krushia has joined #openscad
<ali1234> it can't remove comments if they are malformed
<peepsalot> i'm saying to use all line comments if "*/" is a concern. then nothing is ever malformed
<lf94> ali1234: wut
<lf94> ali1234: where does that number come from? electricity is super cheap in quebec
<ali1234> ~30 cents per kwh
<lf94> I should check the wattage, just so I know
<ali1234> that's approximately what most of europe pays
<lf94> 7.5 cents in quebec
<lf94> 45 watts
<peepsalot> ali1234: another option would be to replace any occurence of "*/" in python strings with "*"+"/"
<lf94> for this thinkpad t440
<ali1234> 45 watts is probably peak, it should use less when idle
<lf94> yeah that's what the ac adapter draws i guess at peak
krushia has quit [Quit: Konversation terminated!]
<ali1234> 20 watts when idle is not unheard of though, especially if you have some errant process polling constantly
<lf94> I should buy a killawatt to measure
<lf94> you got me curious now
<lf94> europeans must pay so much for electricity
<ali1234> yes
<ali1234> although it is offset because we generally don't have aircon and use gas to heat our houses, which is somewhat cheaper (at least when geopolitics isn't messing everything up)
<lf94> USA avergae seems to be 17
pca006132 has quit [Quit: pca006132]
<ali1234> hmm apparently solidpython is dead and it's solidpython2 now - which doesnt have this code dumping feature
<gbruno> [github] ochafik synchronize pull request #5185 (Simple color support in 3D rendering (includes OFF color import / export)) https://github.com/openscad/openscad/pull/5185
snaked has joined #openscad
<gbruno> [github] kintel pushed 7 additions 15 modifications 1 removals (Update fontconfig configs for macOS bundling) https://github.com/openscad/openscad/commit/54c2a14f6a7331875b00080bdff14064e3fbc519
<gbruno> [github] kintel opened pull request #5191 (Update fontconfig configs for macOS bundling) https://github.com/openscad/openscad/pull/5191
mmu_man has quit [Ping timeout: 264 seconds]
kintel has joined #openscad
<gbruno> [github] ochafik synchronize pull request #5185 (Simple color support in 3D rendering (includes OFF color import / export)) https://github.com/openscad/openscad/pull/5185
<kintel> InPhase Yeah, I'm leaning towards supporting both CGAL and Manifold. Just secretly hope I didn't have to implement it ;)
LordOfBikes has quit [Ping timeout: 255 seconds]
pca006132 has joined #openscad
<ali1234> hmm solidpython really really doesn't want you to use multiple files
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LordOfBikes has joined #openscad
<gbruno> [github] ochafik synchronize pull request #5185 (Simple color support in 3D rendering (includes OFF color import / export)) https://github.com/openscad/openscad/pull/5185
<gbruno> [github] ochafik edited pull request #5185 (Simple color support in 3D rendering (includes OFF color import / export)) https://github.com/openscad/openscad/pull/5185
<gbruno> [github] ochafik edited pull request #5185 (Simple color support in 3D rendering (includes OFF color import / export)) https://github.com/openscad/openscad/pull/5185
<gbruno> [github] kintel opened issue #5192 (Make CGAL vs. Manifold configurable in Preferences) https://github.com/openscad/openscad/issues/5192
<gbruno> [github] kintel edited issue #4825 (Move manifold out of experimental) https://github.com/openscad/openscad/issues/4825
<gbruno> [github] kintel edited issue #4825 (Move manifold out of experimental) https://github.com/openscad/openscad/issues/4825
kintel has joined #openscad
<InPhase> kintel: We could always undo a deprecation of CGAL, but I the direction of movement makes it look like supporting CGAL will get progressively more difficult. Take this multicolor work that is blasting into Manifold. I think multicolor render support is pretty critical going forward for the future of 3D printing, and I don't have a sense for what dark magic would be required to make that work with CGAL.
<InPhase> kintel: So even if we drag along support for CGAL for a while, we might want to make it clear that it's the disfavored solution going forward and not guaranteed to support all the new features.
<kintel> yeah, good, point, feature sets are bound to diverge. ..and available dev resources kind of dictates leaving one backend with less love in the longer term
<InPhase> And marking this early will help motivate bug reports. Because I really do expect a bit of a burst of those with the first Manifold release. :)
<kintel> Anyway, I opened a ticket for it. making this configurable might also help moving Manifold out of experimental
<InPhase> People won't just quietly retreat to the CGAL setting if they see it marked "deprecated".
<InPhase> We want them to make a little bit of noise about issues.
<gbruno> [github] kintel edited issue #4825 (Move manifold out of experimental) https://github.com/openscad/openscad/issues/4825
<gbruno> [github] kintel edited issue #4825 (Move manifold out of experimental) https://github.com/openscad/openscad/issues/4825
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<J24k76> InPhase do you know a nice trick to make 3D hearts that are round.. the shape is easy but the z expansion seems tricky
<J24k76> so i don't want just a rounded edge but have them bulged
<InPhase> Hmmmmm... I have something with hearts in a file.
* InPhase nods.
<J24k76> maybe easy to use a gradient and surface
<J24k76> but that is kind a slow if you have hires and need to union and cut them
* J24k76 looks eagerly at InPhase…
<InPhase> All files I have are 2D solutions it seems.
<InPhase> I thought I might have had something with the egg shape files, but not there either.
<J24k76> https://bpa.st/G6JQ  hmm right direction but not happy
<J24k76> InPhase: thanks for looking
<InPhase> This is probably easiest doable with my function plotter. Maybe the AxialFunc approach.
<InPhase> No, not that one.
<J24k76> I found a way how not to do it - Ü
<InPhase> Not perfect, but not bad!
<InPhase> There's a little bit of a seam down the middle, but I don't know quite what tweak to make to smooth that over. :)
Guest23 has joined #openscad
Guest23 has quit [Quit: Client closed]
kanzure has quit [Ping timeout: 264 seconds]
kanzure has joined #openscad