kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HimeHaieto has quit [Ping timeout: 265 seconds]
guso78 has quit [Ping timeout: 245 seconds]
HimeHaieto has joined #openscad
* germ
is not getting what he expects from `linear_extrude(1, true) polygon([[-2, 0], [1, 0], [1, 1]]);'
<germ>
The shape starts at height 0 and stops at height=1, I would have expected [-0.5, 0.5]
<J23k8>
center=true
<Church->
guys: can you tell how fs works, if circumference of circle/cylinder is not evenly devided by it? fn is just segment count, all segments will always be same sized, but not exactly understanding how fs will
<germ>
J23k8: :o ty so much! I wonder why. (Does that mean I did too much C++?. I'll try looking up in the doc about this part of the syntax)
<J23k8>
fs is calculating the fragment by radius and angle so a max size is ensured
<J23k8>
germ: the module is very old and has lots of parameters that in a different order that are kept for combability
<germ>
J23k8: Ty you even more for the quick explanation.. I was going by the cheat-sheet!
<germ>
(I don't know why I put an exclamation mark it's not all that exciting ;))
JordanBrown[m] has quit [Remote host closed the connection]
<J23k8>
germ: the center parameter is 6th position linear_extrude(undef,undef,10,[0,0],1,true) square(5);
<J23k8>
also this linear_extrude(10,undef,undef,[0,0],1,true)square(5); works as it is checked if the first is a number and then reorders them
<J23k8>
else the first are file and layer for dxf import of the extruded shape so these are old remnants.
<J23k8>
they are obsolete but not removed
<J23k8>
Church- fs is just used to calculate fn dynamically so it is always rounded and can be seen as a limit not an exact geometry parameter
mmu_man has joined #openscad
<germ>
thank you so much once more, J23k8:. Similarly, `cylinder()' say center defaults to true, but it seems like it doesn"t. I am going by the context help nifty provided by the editor.)
<Scopeuk>
fs/fa set limits and fn is adjusted to meet those limits
<Scopeuk>
cylinder is centered in x/y by default but starts at z=0 and then extends o z=h
<Scopeuk>
center also centers about z
L29Ah has joined #openscad
snaked has quit [Quit: Leaving]
qeed_ has joined #openscad
qeed has quit [Ping timeout: 250 seconds]
fling has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
fling has joined #openscad
<J23k8>
What germ pointed out is that the bubble help show "center=true" while the default is "center=false" I see how this might be confusing as the bubble should show the default