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
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtm has quit [Ping timeout: 265 seconds]
mtm has joined #openscad
Joel has quit [Read error: Connection reset by peer]
Joel has joined #openscad
sinned69158 has quit [Ping timeout: 260 seconds]
J24k43 has joined #openscad
<gbruno> [github] kintel pushed 5 additions 3 modifications 1 removals (Make examples tests work in non-experimental mode) https://github.com/openscad/openscad/commit/edd7d1fc147743281e289d80511896192da0edb7
J24k has quit [Ping timeout: 256 seconds]
<gbruno> [github] kintel opened pull request #5349 (Make examples tests work in non-experimental mode) https://github.com/openscad/openscad/pull/5349
sinned69158 has joined #openscad
ali1234 has joined #openscad
ali12341 has quit [Remote host closed the connection]
LordOfBikes has quit [Ping timeout: 244 seconds]
snaked has quit [Remote host closed the connection]
<gbruno> [github] kintel pushed 5 additions 2 modifications 1 removals (Make examples tests work in non-experimental mode) https://github.com/openscad/openscad/commit/06fca162d3ae8328266479b1e2950c0e0aed7fd2
<gbruno> [github] kintel synchronize pull request #5349 (Make examples tests work in non-experimental mode) https://github.com/openscad/openscad/pull/5349
LordOfBikes has joined #openscad
greenbigfrog has quit [Ping timeout: 276 seconds]
greenbigfrog has joined #openscad
<gbruno> [github] kintel closed pull request #5349 (Make examples tests work in non-experimental mode) https://github.com/openscad/openscad/pull/5349
<gbruno> [github] kintel pushed 5 additions 2 modifications 1 removals (Make examples tests work in non-experimental mode (#5349)) https://github.com/openscad/openscad/commit/e972ed84efc2867acd86b1a2e9af50ec29df4706
greenbigfrog has quit [Ping timeout: 252 seconds]
snaked has joined #openscad
greenbigfrog has joined #openscad
mmu_man has quit [Ping timeout: 265 seconds]
greenbigfrog has quit [Ping timeout: 252 seconds]
greenbigfrog has joined #openscad
myosotis has quit [Ping timeout: 265 seconds]
Guest78 has joined #openscad
greenbigfrog has quit [Ping timeout: 246 seconds]
greenbigfrog has joined #openscad
greenbigfrog has quit [Ping timeout: 265 seconds]
greenbigfrog has joined #openscad
greenbigfrog has quit [Ping timeout: 248 seconds]
<UltimateCodeWarr>     left_cap = 0;
<UltimateCodeWarr>     right_cap = 0;
<UltimateCodeWarr>     if (rc) {
<UltimateCodeWarr>         echo("Rendering Condensed");
<UltimateCodeWarr>         left_cap = 0;
<UltimateCodeWarr>         right_cap=120;
<UltimateCodeWarr>     } else {
<UltimateCodeWarr>         left_cap = -100;
<UltimateCodeWarr>         right_cap = 200;
<UltimateCodeWarr>     }
<UltimateCodeWarr> if i set rc=true;  The following doesn't work right
Guest78 has quit [Ping timeout: 256 seconds]
UltimateCodeWarr has quit [Quit: Client closed]
greenbigfrog has joined #openscad
greenbigfrog has quit [Ping timeout: 265 seconds]
greenbigfrog has joined #openscad
hyperair has quit [Ping timeout: 252 seconds]
greenbigfrog has quit [Ping timeout: 276 seconds]
hyperair has joined #openscad
<Scopeuk> what that code is doing is modifying the variables inside the {} for the if (inner scope overriding outer scope). you cant create a variable and then update it in open scad. I expect you would need to use the ternary operator to do what it looks like you want to
<Scopeuk> left_cap = rc ? 0:-100;
misterfish has joined #openscad
hyperair has quit [Read error: Connection reset by peer]
mmu_man has joined #openscad
hyperair has joined #openscad
L29Ah has quit [Ping timeout: 276 seconds]
greenbigfrog has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
L29Ah has joined #openscad
misterfish has quit [Ping timeout: 252 seconds]
greenbigfrog has quit [Ping timeout: 255 seconds]
greenbigfrog has joined #openscad
hyperair has quit [Read error: Connection reset by peer]
misterfish has joined #openscad
greenbigfrog has quit [Ping timeout: 246 seconds]
greenbigfrog has joined #openscad
greenbigfrog has quit [Ping timeout: 264 seconds]
greenbigfrog has joined #openscad
misterfish has quit [Ping timeout: 252 seconds]
misterfish has joined #openscad
mtm has quit [Ping timeout: 260 seconds]
mtm has joined #openscad
snaked has quit [Remote host closed the connection]
greenbigfrog has quit [Ping timeout: 252 seconds]
myosotis has joined #openscad
greenbigfrog has joined #openscad
greenbigfrog has quit [Ping timeout: 260 seconds]
<gbruno> [github] tgrundtvig opened issue #5350 (Bug in Large Polyhedrons ) https://github.com/openscad/openscad/issues/5350
hyperair has joined #openscad
<gbruno> [github] tgrundtvig edited issue #5350 (Bug in Large Polyhedrons ) https://github.com/openscad/openscad/issues/5350
greenbigfrog has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
greenbigfrog has quit [Ping timeout: 260 seconds]
greenbigfrog has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
misterfish has quit [Ping timeout: 260 seconds]
califax has quit [Quit: ZNC 1.8.2 - https://znc.in]
califax has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
guso78 has joined #openscad
guso78 has quit [Quit: Client closed]
guerd871 has joined #openscad
mmu_man has quit [Ping timeout: 244 seconds]
mmu_man has joined #openscad
guerd87 has quit [Ping timeout: 260 seconds]
<J24k43> can someone explain this bug? difference(){ #cube(10); #translate([10,0])cube(10); }
<J24k43> happens with intersection too.. moving the second cube out  and it becomes visible .. but in general having both objects highlighted is causing issues
UltimateCodeWarr has joined #openscad
<J24k43> intersection(){ #cube(10); #translate([10.00,0])cube(10); }  // as soon as there is intersection the objects vanish
<InPhase> J24k43: "Traditional transforms (translate, rotate, scale, mirror & multimatrix) are performed using OpenGL in preview, while other more advanced transforms, such as resize, perform a CGAL operation, behaving like a CSG operation affecting the underlying object, not just transforming it. In particular this can affect the display of modifier characters, specifically "#" and "%", where the highlight may
<InPhase> not display intuitively, such as highlighting the pre-resized object, but highlighting the post-scaled object." The manual.
<InPhase> J24k43: So your weirdness is at least categorically documented. :)
<J24k43> glad "this is fine"
<InPhase> It's interesting that it does fine if you do only one.
<J24k43> it looks like if both are highlighted they are in the same "scope" and the operation is done there too
<J24k43> so we need a  #1 and #2
<J24k43> maybe the proper workflow would be just using % and not #
<InPhase> I bet in practice there's a highlighted-object space which is previewed and given its own color.
<InPhase> And so you end up with interactions on them.
greenbigfrog has quit [Ping timeout: 252 seconds]
<J24k43> intersection(){ %cube(10); %translate([10,0])cube(10); }  // works
<InPhase> Well, do Design, Display CSG Products, and compare those two, # # vs % %
greenbigfrog has joined #openscad
<InPhase> It has the structure in the products for # # in the Highlights CSG rendering chain, but not % % in the Background CSG rendering chain
<J24k43> intersection(){ #cube(10); %color("pink",.5)translate([10,0])cube(10); }    // now the second is influencing the color of the first
<InPhase> That might be an error, if it goes and makes a whole separate chain for each, but one of them has the structure and one doesn't.
<InPhase> I don't think the documented behavior should be different in that part.
<J24k43> hm why is #cube(10);  not transparent?
<InPhase> teepee: Do you have historical insight into # # on two objects doing +cube3 *cube5, but % % on two objects doing +cube5 +cube3? Or does this require poking kintel?
<teepee> not sure
<J24k43> didn't you already summoned him by "speaking" his name?
<teepee> I suspect it's different behavior due to handling of "empty" geometry
<teepee> regarding %
<InPhase> Hmm. Yeah, intersection() { cube(1); #cube(10); %color("pink",.5)translate([10,0])cube(10); } restores the transparent highlight of cube(10)
<InPhase> But I think that's a whole separate issue, for whatever is going wrong there.
<teepee> I think those are rendered in different passes so the outcome might not be easy to control
<InPhase> There must be some unplanned cruft that gets shoved in there on an empty geometry.
<InPhase> Even a file with nothing in it but #cube(10); does not make it transparent.
<InPhase> The highlight is removed.
<InPhase> translate([10000000,0,0]) cube(1); #cube(10); Highlight restored!
<teepee> 2 cubes, actual CSG processing :-)
<InPhase> Well, %cube(10); is transparent...
<J24k43> only invisible objects get alpha transparency?
Junxter has quit [Remote host closed the connection]
Junxter has joined #openscad
mmu_man has quit [Ping timeout: 272 seconds]
little_blossom has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
snaked has joined #openscad
UltimateCodeWarr has quit [Quit: Client closed]
UltimateCodeWarr has joined #openscad
kintel has joined #openscad
<kintel> pca006132 You probably missed my question from a few days ago: Do you think Manifold's convex hull is robust enough to start using in OpenSCAD?
<kintel> Does anyone use fast-csg any more for testing, or can we get rid of it? As a start, I'd just hide it: https://github.com/openscad/openscad/pull/5343
myosotis has quit [Remote host closed the connection]
myosotis has joined #openscad
* J24k43 doesn't use fast-csg
<teepee> nope, have not used it for quite some time