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
J24k48 has joined #openscad
J24k66 has quit [Ping timeout: 250 seconds]
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
snaked has joined #openscad
LordOfBikes has quit [Ping timeout: 268 seconds]
mmu_man has quit [Ping timeout: 246 seconds]
LordOfBikes has joined #openscad
snaked has quit [Ping timeout: 255 seconds]
L29Ah has quit [Read error: Connection reset by peer]
snaked has joined #openscad
Junxter has joined #openscad
R2robot has quit [Quit: Pull the lever, Kronk. Wrong leverrrrrrr!]
R2robot has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
GNUmoon2 has quit [Ping timeout: 260 seconds]
<guso78> J24 so you means an Edge of an enclosed cavity? Can send a Pic or testcase?
<J24k48> i did put the test code in
<J24k48> a 90° concave corner is not selectable
<J24k48> difference(){cube(50);translate([-.1,-1,5])cube([2,500,500]);}
<J24k48> guso78
<J24k48> also annoying is that the old measurements are still visible after you changed the geometry and even after a new render - i guess you could compare a new render but there also should be an option to clear them
GNUmoon2 has joined #openscad
<J24k48> or maybe make the button also working in preview to clear
<J24k48> maybe best to auto clear with preview as that mode is not connected to the measurement and resolution changes in $preview can confuse you with the old markings
<J24k48> and i think it would be great if a line of the actual measurement is added as i had several cases where i was wondering what distance is now measured if the lines are not parallel
<J24k48> as you can see here https://imgur.com/a/T3rtF71  the 45 is only the z distance which is not clear
Church- has quit [Quit: Leaving]
marcus has quit [Remote host closed the connection]
marcus has joined #openscad
R2robot has left #openscad [See ya'll later. o/"]
cart_ has joined #openscad
J24k48 has quit [Quit: Client closed]
J24k48 has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
cart_ has quit [Read error: Connection reset by peer]
L29Ah has joined #openscad
Guest19ufyfu has joined #openscad
Guest19ufyfu has quit [Ping timeout: 250 seconds]
mmu_man has joined #openscad
snaked has quit [Quit: Leaving]
guso78k has joined #openscad
<guso78k> J24k48, the measured distance between two lines is always the minimum possible. thus  its direction is  the vector product of both lines.
<J24k48> i just say this might not be clear to every user
<guso78k> admittedly it would be more clear to display how  it was  measured, but with GL even the  selected edge itself was (pain-in-the-ass) and  its width is unpredictable
<guso78k> but yes, good input, will look into it as soon as possible/applicable
<J24k48> or just put in the text - "minimal distance: ..  " if a line is selected
<guso78k> this is a really easy fix  :')
<J24k48> besides minimal distance is not right as you can see in the image it is only the z distance without x/y
<J24k48> the minimal distance should be the hypotenuse
<J24k48> while z only might be more useful in most cases
<guso78k> right now i am facing another ridiculous other error: SizeOf(CubeNode) is 128 bytes normally, but when I compile with JavaScript , CubeNode is only 96 bytes and leads to segfaults ...
<InPhase> The distances are quite nonsensical in a lot of cases.
<guso78k> J24k48 yes, it should be really easy to implement many different "modes"  of measurement. maybe display the x/y/z distances separately could also help already
<InPhase> cube([10,5,2]); cube([6,10,4]); With that model, I select the plane at x=10, and the plane at x=6 with the marking diagonal from (6,0,4) to (6,5,2) and I get... 4.41002? Even after thinking about it for a while, I couldn't figure out what it could possibly be measuring.
<J24k48> yes that would be a nice feature (xyz dist)
<InPhase> I expected 4. :)
<InPhase> Given that 10 - 6 is typically 4.
<J24k48> at the moment i often crash scad when opening put something in and F6 (without F5) .. and it just closes down
<InPhase> If it is doing some sort of minimal edge distance from the tesselation, then this is not particularly intuitive.
<guso78k> yes, measuring works on tessellated data, thus also "internal" edges are selectable ... could also be improved
<InPhase> If it's limited to minimal edge distances, then it is hard to work with because I cannot seem to select concave edges, so there aren't a lot of points to measure.
<InPhase> Like the only way I can find to get the value 4 on this is to select (10,0,0) to (10,0,2) and (6,0,2) to (6,0,4), which works only because there is a single point in common.
<InPhase> But (6,0,2) to (6,5,2) and (6,5,0) to (6,5,2) are both unselectable, which would be the natural locations to measure.
<InPhase> And obviously those have edges.
<InPhase> cube([10,5,2]); translate([6,5,0]) rotate([0,0,45]) translate([-10,0,0]) cube([20,6,2]); When I morph it to this, again trying to measure 4, I have nothing I can click except this, which then oddly gives 0: https://imgur.com/a/p2NLXIx
<guso78k> InPhase, these two lines are actually crossing, thus the minimal distance is 0
<guso78k> to measure only the "visible"  distance between two edges, we need a more sophisticated distance algorithm
<InPhase> guso78k: They are crossing if they are lines, but not if line segments.
<InPhase> Does it extend edges to infinity?
<guso78k> yes, it  does
<InPhase> Hmm. Well that's kind of confusing. :)
<guso78k> yes it is . they are lines rather segments, would need some sort of rework
<InPhase> If it were to be lines, probably lines should be displayed.
<InPhase> Then at least it would be obvious what's happening.
<InPhase> But if I see segments, I expect segments to be measured by some modality.
<guso78k> the code to calculate distance of 2 lines is quite  small, would be  easy to  improve
<InPhase> Yeah. I could reinvent a shortest segment distance algorithm, but math majors have thought about this more and posted their work online, so it should be straightforward. :)
<InPhase> I guess if we had all edges selectable, and true segment distances, along with proper documentation for this explaining it, that would probably fix up most of the issues.
<InPhase> I hadn't really tried the feature until it came up in discussion here, and wasn't following the development, so my quick test gave the false intuition that the diagonals were a plane selection. I think one of my early tests convinced me that it was a plane selection because of how one of the tesselations just happened to work out and the answer I got. But I consider that misconception fixable with
<InPhase> documentation.
<guso78k> sorry, no plane selection yet, only edges and points
<guso78k> also point to edge distance is  rather a point-to-line distance
mmu_man has quit [Quit: reboot]
mmu_man has joined #openscad
guso78k has quit [Quit: Client closed]
snaked has joined #openscad
mmu_man has quit [Ping timeout: 256 seconds]
chocolate_ has joined #openscad
DEac- has quit [Remote host closed the connection]
Guest94 has joined #openscad
Guest94 has quit [Quit: Ping timeout (120 seconds)]
snakedGT has joined #openscad
snaked has quit [Ping timeout: 272 seconds]
drkow has quit [Ping timeout: 240 seconds]
Guest19 has joined #openscad
Guest19 has quit [Client Quit]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
chocolate_ has quit [Quit: Connection closed for inactivity]
califax has quit [Quit: ZNC 1.8.2 - https://znc.in]
califax has joined #openscad
Kehet has quit [Quit: rebooting.. (up 9 weeks, 4 days, 21 hours, 20 minutes)]
Kehet has joined #openscad
Guest60 has joined #openscad
Guest60 has quit [Ping timeout: 250 seconds]
mmu_man has joined #openscad
snakedGT has quit [Quit: Leaving]
mmu_man has quit [Ping timeout: 272 seconds]
mmu_man has joined #openscad
othx has quit [Read error: Connection reset by peer]
othx has joined #openscad
miique has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
<gbruno> [github] seanmahrt opened issue #5170 (need to clean out old openscad installer and reset back to clean sheet) https://github.com/openscad/openscad/issues/5170
deathonater has quit [Quit: (╯°□°)╯︵ ┻━━┻]
Smeef has joined #openscad