<J24k33>
pca006132 ok sorry i just remembered that you fixed some odd triangle things but this happens long time before that.
pca006133 has joined #openscad
<pca006133>
nvm, it is fine
<J24k33>
haha so we didn't use $fn which was why it was faster ? .. so maybe it never was faster when using the correct parameters
J24k33 has quit [Quit: Client closed]
J24k33 has joined #openscad
<pca006133>
sounds likely, the complexity of offset seems to be quadratic in the number of vertices
<pca006133>
so if $fn was a small value in the older version, it makes sense to be much faster...
<pca006133>
still need someone to test if the number of vertices were as expected though
misterfish has quit [Ping timeout: 246 seconds]
<J24k33>
between $fn 40 and 50 are already 170% increase
<J24k33>
pca006133 you want to run this with scale(10) before the offset?
<pca006133>
no, just remove the offset and see how many vertices are there in the imported svg
<pca006133>
just ignore scaling for now, just see how many vertices we have in each version
pca006133 has quit [Remote host closed the connection]
<J24k33>
Triangles: 26396 for slow
<J24k33>
with $fn40 Triangles: 52716
<J24k33>
Facets: 26396 for fast ($fn doesn't change that)
Artea has quit [Remote host closed the connection]
<J24k33>
after the offset around 3000 .. with the same facets/triangle counts i can't see a big time difference between old and new
J24k33 has quit [Quit: Client closed]
J24k has joined #openscad
<J24k>
$fs and $fa also seem to not change the import, only the $fn
<J24k>
hm with a curve (svg) the triangle change - but not on the example - if that is not a curve but just a polygon - why does $fn change the number there can't be a benefit ( except subdivision from linear_extrude when twist/scale)
<J24k>
It seems there is a difference handling a polygon and straight curves .. while a straight line that is a Bezier will change with $fn but not $fa/$fs like a curve does - $fn also doesn't simplify only increase polygon count by subdivision
<J24k>
so what bothers me is that the plain.svg which consist of bezier points - is only changed by $fn and not $fa/$fs like an imported circle is -
<J24k>
Oh ok as soon as there are straight segments - $fa seem to prevent $fs from working - is this not per segment calculated?
<J24k>
oh $fs /$fa doesn't work on Bezier - only if the imported svg object is not a path but a circle .. well how unfortunate ..
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
Gungee has joined #openscad
misterfish has joined #openscad
drkow has joined #openscad
peeps[zen] has joined #openscad
drfff has quit [Ping timeout: 260 seconds]
LordOfBikes has quit [Ping timeout: 260 seconds]
peepsalot has quit [Ping timeout: 260 seconds]
LordOfBikes has joined #openscad
Artea has joined #openscad
mmu_man has joined #openscad
Guest60 has joined #openscad
Guest60 has quit [Client Quit]
Gungee has quit [Remote host closed the connection]