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
FractOrr has joined #openscad
J23k27 has joined #openscad
J23k14 has quit [Ping timeout: 248 seconds]
LordOfBikes has quit [Ping timeout: 245 seconds]
<yunfan1987> is there any cad app which acts like openscad, but use a forth like language ?
<dTal> openscad is probably the forthiest you'll find
LordOfBikes has joined #openscad
<yunfan1987> dTal: nope , its languages style were more like declarative language
<dTal> So is scad.
<dTal> In fact they're so similar I wouldn't be surprised if you could write a thin syntax transformer.
<dTal> $children is a very forthy concept.
<gbruno> [github] kintel pushed 10 modifications (Make VBO rendering default. Keep indexed rendering as an experimental feature for now) https://github.com/openscad/openscad/commit/15be3fd4e447f733ff0c398b0e19a402a487412a
<yunfan1987> dTal: then how can you ignore cadquery? which use python as the lang?
<dTal> I ignore it easily, because I think it's awful
<yunfan1987> isnt that python is also NOT a declarative lang
<gbruno> [github] kintel opened pull request #4789 (Move VBO rendering out of experimental mode) https://github.com/openscad/openscad/pull/4789
kintel has joined #openscad
mmu_man has quit [Ping timeout: 258 seconds]
<gbruno> [github] stockholmux opened issue #4790 (Nested modules throw syntax error if using let.) https://github.com/openscad/openscad/issues/4790
peepsalot2 has joined #openscad
peeps[win] has quit [Ping timeout: 258 seconds]
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
snaked has joined #openscad
<kintel> Does anyone know if/when we can start using std::span (https://en.cppreference.com/w/cpp/container/span) without running into compiler support issues?
<kintel> ah, thx. Looks like Ubuntu 20.04 is on gcc 9, so perhaps not quite yet
<peepsalot> or >= 7.0 if clang / libc++ https://libcxx.llvm.org/Status/Cxx20.html
<peepsalot> P0122R7
<peepsalot> kintel: i guess the general "gcc" package is 9, but gcc-10 can be explicitly installed https://packages.ubuntu.com/focal/gcc-10
<kintel> I guess the main question is how many people building openscad relies on gcc 9 and how much hassle it is to upgrade.
<kintel> It would be cool to be able to track when we can upgrade to what C++ version or which version of major libs, but I guess it means scouring through all the distros etc..
<gbruno> [github] kintel pushed 9 modifications 2 removals (Made VertexStateManager redundant) https://github.com/openscad/openscad/commit/d12f8946b10612fbf7384434db0da6ab4ef1f6eb
<gbruno> [github] kintel synchronize pull request #4786 (Green refactoring of VBO code) https://github.com/openscad/openscad/pull/4786
<kintel> anyway, not important right now, it's just that every time I see some class return a std::vector, I want to use a span :)
<gbruno> [github] kintel edited pull request #4786 (Green refactoring of VBO code) https://github.com/openscad/openscad/pull/4786
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juri__ has joined #openscad
juri_ has quit [Ping timeout: 260 seconds]
peepsalot2 has quit [Ping timeout: 264 seconds]
teepee has quit [Ping timeout: 256 seconds]
teepee has joined #openscad
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
cart_ has joined #openscad
cart_ has quit [Ping timeout: 260 seconds]
ferdna_ has quit [Quit: Leaving]
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 256 seconds]
teepee_ is now known as teepee
cart_ has joined #openscad
little_blossom has quit [Remote host closed the connection]
mmu_man has joined #openscad
little_blossom has joined #openscad
snaked has quit [Quit: Leaving]
Guest42 has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
<Guest42> What's the best forum / place to ask openscad script questions? I am having trouble with difference() and for loops
<InPhase> Here is a fine place.
<Scopeuk> there is also a mailing list if you want longer form discussion.
<Guest42> I think I've written this correctly - but it seems that difference() is only picking up the last iteration of the for loop's cylinder, I was hoping it was going to create multiple difference objects for the model. Version 2023.10.15.
<Guest42> front_row = true;
<Guest42> front_row_number = 2;
<Guest42> difference(){
<Guest42> union(){
<Guest42> translate([45,35]) {
<Guest42> linear_extrude(height=4, scale=1) polygon(points = [[45,-35],[-45,-35],[-45,35],[45,35]]) ;}
<Guest42> }
<Guest42> if(front_row == true){
<Guest42> model_socket(30,front_row_number);
<Guest42> }
<Guest42> }
<Guest42> module model_socket(row_location,sockets){
<Guest42> for (p=sockets){
<Guest42> translate([p/(sockets+1)*90,row_location,4]) cylinder(r=12, h=6, $fn=96,center=true);
<Guest42> }
<Guest42> }
<Scopeuk> I think your for loop has a small error it sets p to one value not a range of values
<Scopeuk> for (p=[1:sockets])
<Scopeuk> or maybe for (p=[0:sockets]) not fully sure of your intent
<Guest42> You are correct. I should get some sleep. Thank you :) :) :)
teepee_ has joined #openscad
teepee has quit [Ping timeout: 256 seconds]
teepee_ is now known as teepee
ferdna_ has joined #openscad
erectus has quit [Ping timeout: 256 seconds]
erectus has joined #openscad
TheAssass1n has joined #openscad
TheAssassin has quit [Ping timeout: 256 seconds]
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
FractOrr has quit [Quit: Client closed]
J23k27 has quit [Quit: Client closed]
J23k27 has joined #openscad
Guest42 has quit [Quit: Client closed]
J23k27 has quit [Quit: Client closed]
J23k27 has joined #openscad
juri__ has quit [Ping timeout: 258 seconds]
juri_ has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
J23k27 has quit [Quit: Client closed]
J23k27 has joined #openscad
J23k27 has quit [Quit: Client closed]
J23k27 has joined #openscad
jonasbits has quit [Quit: No Ping reply in 180 seconds.]
jonasbits has joined #openscad
GNUmoon has quit [Remote host closed the connection]
cart_ has quit [Ping timeout: 255 seconds]
GNUmoon has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #openscad
yunfan1987 has quit [Ping timeout: 258 seconds]
yunfan1987 has joined #openscad
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
guso78k has joined #openscad
erectus has quit [Ping timeout: 256 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 256 seconds]
teepee_ is now known as teepee
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
erectus has joined #openscad
guso78k has quit [Quit: Client closed]
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
J23k27 has quit [Quit: Client closed]
J23k27 has joined #openscad
Guest12 has joined #openscad
Guest12 has quit [Quit: Client closed]
yunfan1987 has quit [Ping timeout: 248 seconds]
yunfan1987 has joined #openscad