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
snaked has joined #openscad
ali12341 has joined #openscad
ali1234 has quit [Ping timeout: 245 seconds]
dustinm` has quit [Quit: Leaving]
LordOfBikes has quit [Ping timeout: 260 seconds]
dustinm` has joined #openscad
LordOfBikes has joined #openscad
J23k13 has quit [Ping timeout: 246 seconds]
mmu_man has quit [Ping timeout: 245 seconds]
ur5us has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 246 seconds]
teepee_ is now known as teepee
qeed has joined #openscad
qeed_ has quit [Ping timeout: 245 seconds]
fling_ has joined #openscad
fling has quit [Ping timeout: 246 seconds]
fling_ is now known as fling
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
ur5us has quit [Ping timeout: 246 seconds]
J23k has joined #openscad
peeps has quit [Ping timeout: 258 seconds]
erectus has quit [Remote host closed the connection]
teepee_ has joined #openscad
erectus has joined #openscad
erectus has quit [Remote host closed the connection]
teepee has quit [Ping timeout: 246 seconds]
teepee_ is now known as teepee
peeps[work] has joined #openscad
erectus has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
blucanu has joined #openscad
blucanu has quit [Client Quit]
fling has quit [Remote host closed the connection]
fling has joined #openscad
snaked has quit [Ping timeout: 248 seconds]
ur5us has joined #openscad
mmu_man has joined #openscad
fling has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 255 seconds]
qeed_ has joined #openscad
qeed has quit [Ping timeout: 246 seconds]
snaked has joined #openscad
snaked has quit [Remote host closed the connection]
GNUmoon has quit [Quit: Leaving]
GNUmoon has joined #openscad
Guest31 has joined #openscad
<Guest31> good, morning. i have a rather simple command set in a difference(). when the subtracted items overlap, rendering gets stuck and the progress bar cannot be canceled.
<Guest31> i've tried in release 2021 and a couple dev 2023. i can paste the code if needed.
<ndnihil> paste it
<Guest31> TY.
<Guest31> difference(){
<Guest31>     cylinder(h=1,d=9,$fn=32);
<Guest31>     cylinder(h=1,d=5.2,$fn=32);
<Guest31>     translate([6.6/2,0,0]) cylinder(h=1,d=1.4,$fn=32);
<Guest31>     rotate([0,0,120]) translate([6.6/2,0,0]) cylinder(h=1,d=1.4,$fn=32);
<Guest31>     rotate([0,0,-120]) translate([6.6/2,0,0]) cylinder(h=1,d=1.4,$fn=32);
<Guest31> }
<ndnihil> er
<ndnihil> sorry
<ndnihil> not here, on pastebin or something
<InPhase> paste?
<othx> paste is https://www.3dcustomizer.net/paste for .scad files, https://bpa.st for text, https://pasteboard.co/ or https://imgur.com/ for images
<InPhase> ^
<Guest31> if the second cylindar is 5.0 , it works fine.  but 5.2 breaks
<Guest31> sorry, i beat you to it :P
<ndnihil> if I recall, difference() takes two objects/args, you're giving it 5
<InPhase> Guest31: You are failing to follow the overlap rule described in the manual.
<InPhase> manual?
<ndnihil> but it's stupid o-clock and I've not caffiened
<ndnihil> caffeined?
<Guest31> thanks. i followed a youtube which said multiple, thank i'll RTFM :wink:
<ndnihil> pretty sure that's a verb in some countries
<InPhase> Guest31: See the bolded "Note:" under difference: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/CSG_Modelling#difference
<InPhase> Guest31: And read the corresponding one above that for union.
<Guest31> understood, thank ya'll very kindly
<InPhase> I wrote those sections of the manual, but some days I wish I could put them flashing and on the main page. ;) It's one of the most common things people trip over.
<InPhase> In order of frequency, most to least: 1. Failure to follow the overlap rule. 2. Attempting to reassign variables imperatively.
<Guest31> "stupid-o-clock" <-- love it.
<Guest31> side-note, irregardless of my failed code, seems the cancel button should work.
<InPhase> Widely agreed, but it's a more involved problem than it seems due to library issues.
<Guest31> requires exiting openscad to reset :(
<Guest31> understood
<InPhase> The program gets trapped inside of library calls that do not really have an exit feature.
<buZz> cancel button does kinda work but takes a long time to cancel
<Guest31> overnight :wink: so the "lib" issue makes sense here.
<InPhase> I think the right solution is for us to be using rendering processes to decouple this, so the cancelation of a process happens internally, but that requires some restructuring.
<Guest31> perfectly fixed with union, really appreciate your direction.  saving me time here!! :heart:
fling has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
<ndnihil> ah caffeine, a benevolent king amongst drugs
aiyion1 has quit [Remote host closed the connection]
aiyion1 has joined #openscad
mmu_man has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 246 seconds]
teepee_ is now known as teepee
tachoknight has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
hrberg has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hrberg has joined #openscad
J23k has quit [Quit: Client closed]
J23k has joined #openscad
mmu_man has quit [Ping timeout: 246 seconds]
<Guest31> for the records, i went back and tested... worked without union as well. it was the sizing and translations that technically fixed it (extension beyond primary object)
mmu_man has joined #openscad
<ndnihil> union it anyway, for great justice
<Guest31> 🆗
Guest31 has quit [Quit: Client closed]
Guest31 has joined #openscad
Guest31 has quit [Ping timeout: 246 seconds]
L29Ah has quit [Ping timeout: 244 seconds]
zauberfisch_ has quit [Ping timeout: 255 seconds]
zauberfisch has joined #openscad
aiyion1 has quit [Ping timeout: 246 seconds]
aiyion1 has joined #openscad
hyvoid has quit [Ping timeout: 255 seconds]
hyvoid has joined #openscad
L29Ah has joined #openscad
califax has joined #openscad
LordOfBikes has quit [Remote host closed the connection]
LordOfBikes has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
califax has quit [Ping timeout: 246 seconds]
califax has joined #openscad
califax has quit [Ping timeout: 246 seconds]
califax has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
J23k has quit [Quit: Client closed]
J23k has joined #openscad
Frigg^_ has joined #openscad
Frigg has quit [Quit: bytte server]
Frigg^_ has quit [Client Quit]
Frigg has joined #openscad
zauberfisch has quit [Ping timeout: 245 seconds]
J23k has quit [Quit: Client closed]
J23k has joined #openscad
zauberfisch has joined #openscad
pah has joined #openscad
pa has quit [Ping timeout: 245 seconds]
Frigg has quit [Quit: reboot]
RoyK has joined #openscad
ur5us has joined #openscad
tachoknight has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest74 has joined #openscad
Guest74 has quit [Client Quit]
Guest74 has joined #openscad
hyvoid has quit [Ping timeout: 260 seconds]
marcus has quit [Remote host closed the connection]
marcus has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 246 seconds]
teepee_ has quit [Ping timeout: 246 seconds]