howiemnt has quit [Remote host closed the connection]
howiemnt has joined #openscad
J25K61 has quit [Quit: Client closed]
J25K61 has joined #openscad
j45_ has joined #openscad
teepee_ has joined #openscad
j45 has quit [Ping timeout: 260 seconds]
j45_ is now known as j45
j45 has quit [Changing host]
j45 has joined #openscad
L29Ah has joined #openscad
teepee has quit [Ping timeout: 272 seconds]
teepee_ is now known as teepee
mmu_man has joined #openscad
cbmuser has quit [Ping timeout: 276 seconds]
cbmuser has joined #openscad
mmu_man has quit [Ping timeout: 272 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
jbd has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
Guest23 has joined #openscad
<Guest23>
I'm looking for a possibility to import stl files into scad (or some other formats), but the builtin import is for some reason hard wired to import_json.
<nihil>
stls import just fine
<nihil>
import("file.stl");
<Guest23>
Which version are you using?
<nihil>
OpenSCAD 2024.10.05.ai20786
<nihil>
a nightly from last year
<Guest23>
That might be the reason. The current git version seems to have cut off that feature. Thanks!
Guest23 has quit [Quit: Client closed]
mmu_man has joined #openscad
L29Ah has quit [Read error: Connection timed out]
snaked has quit [Quit: Leaving]
mmu_man has quit [Ping timeout: 248 seconds]
J25K41 has joined #openscad
J25K61 has quit [Ping timeout: 250 seconds]
mmu_man has joined #openscad
NoGodDamnIdea has joined #openscad
shwouchk has quit [Ping timeout: 244 seconds]
shwouchk has joined #openscad
<J25K41>
pca006132 quite often that i got 3mf files that can be printed (orca) but when opened with mesh mixer or 3d builder it shows some minor errors
mmu_man has quit [Ping timeout: 258 seconds]
<J25K41>
ok great now scad crashes when exporting (a probably faulty) polyhedron
<nihil>
pastebin the code?
<J25K41>
include<ub.scad>;Superellipse(r3=10);
<J25K41>
export 3mf (win10)
<J25K41>
as expected - two objects can be exported as CSG may fix the union();
<J25K41>
ok this is weird https://imgur.com/a/TzdwKau only one of the two (identical code) objects shows the errors.
mmu_man has joined #openscad
<J25K41>
Kintel how is it possible that only one got fixed?
<kintel>
Does any of those look like the same one you're experiencing?
<kintel>
I think the best action to start working on those Windows-specific issues is to update the Windows snapshot to use lib3mf V2..
<J25K41>
the second is about alpha causing the crash - this is something about geometry ( apply hull() also fixes the problem) but also crashes without warning or error and leaves an empty 3mf file when export.
<J25K41>
so one issue is the crash - the other is why faulty polygon are repaired differently
<J25K41>
not even sure why it is faulty - looks good to me https://bpa.st/MJ3A
<J25K41>
however something is not liked
<kintel>
Not sure I understand that second issue? Are you instantiating the superellipse twice with different translation?
<kintel>
Where does the screenshot come from?
<J25K41>
yes exactly (using a module calling two children) the screenshot is from meshmixer where you can see only one has problematic vertices
<J25K41>
seems there is a 1d-face causing the problems
<J25K41>
3 points were two are the same location
teepee has quit [Ping timeout: 272 seconds]
teepee_ is now known as teepee
<J25K41>
however not on the second object
<J25K41>
i am using quads so maybe the triangle creation can't handle those
J25K41 has quit [Quit: Client closed]
J25K41 has joined #openscad
<kintel>
translation in floating points isn't exact, so that sort of stuff may happen
<kintel>
Is this a 3mf exported to meshmixer?
<J25K41>
yes
<kintel>
As long as meshmixer can repair it without issues, it should be fine. Even though some vertices have identical positions, the topology is a valid manifold.
<J25K41>
and the quad face may also intersect so the polyhedron is not sound
<kintel>
In the future we may add a final optimization step after CSG to eliminate such cases, but it's hard to cover all bases, e.g. meshmixer may convert from double to float and cause that problem themselves..
<J25K41>
at least 3d-builder can repair it without problems
<J25K41>
(but 3d builder doesn't show what is wrong)
<kintel>
When I have some time I can look in more detail at the geometry and see what I find.
<J25K41>
.. and i have to correct my faulty faces - Ü
<kintel>
do you know of any other tools which can highlight these issues? I don't have a Windows machine handy..
mmu_man has quit [Ping timeout: 248 seconds]
<J25K41>
not so easy they either cost or can't read 3mf
kintel has quit [Quit: My Mac has gone to sleep. ZZZzzz…]