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
mmu_man has quit [Ping timeout: 245 seconds]
omegatron has quit [Quit: Power is a curious thing. It can be contained, hidden, locked away, and yet it always breaks free.]
ur5us has quit [Ping timeout: 272 seconds]
ur5us has joined #openscad
snaked has joined #openscad
LordOfBikes has quit [Ping timeout: 245 seconds]
LordOfBikes has joined #openscad
snaked has quit [Ping timeout: 245 seconds]
snaked has joined #openscad
<enthdegree> heres my awful solution (both a very ugly shape and a very ugly solution approach)
<enthdegree> thankfully what it supports is light enough to be held up short-term by the generic PLA the printer came with
ur5us has quit [Quit: Leaving]
J23k13 has joined #openscad
J23k has quit [Ping timeout: 246 seconds]
qeed__ has quit [Quit: qeed__]
qeed has joined #openscad
J23k13 has quit [Quit: Client closed]
J23k13 has joined #openscad
guso78_ has joined #openscad
ccox has quit [Ping timeout: 245 seconds]
misterfish has joined #openscad
ccox has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
<teepee> lol, I feel like I did not pay any attention lately. "Ultimaker Thingiverse" I totally missed that
<guso78_> yeahh, they have a new Cura version lately and make the "Tree" support standard, which i have been using for one year now!
qeed_ has joined #openscad
mmu_man has joined #openscad
qeed has quit [Ping timeout: 272 seconds]
<J23k13> the makerbot ultimaker merger was a while ago
<J23k13> DefunctAugust 31, 2022
<teepee> they supposedly put OpenSCAD update into the backog with "no promises when something will happen"
<teepee> which I guess is more than bot makerbot and statsys did the last 6 years ;-)
<J23k13> and so ultimaker is also part of stratasys
<teepee> oh, this way? meh
<teepee> almost time to learn Haskell then
<J23k13> NPM holds 54.4% Stratasys 45.6%
<teepee> so I guess it's pretty unclear how that will go mid-term. we'll find out eventually I suppose
<J23k13> Stratasys top 10 shareholders own over 30%  .. so  these company names are just a mask - as they are all  "shared"
<teepee> my impression is they just buy everything which even slightly looks like competition and then starve it until it's dead
<teepee> so basically I wonder if that means cura is dead
mmu_man has quit [Ping timeout: 272 seconds]
misterfish has quit [Ping timeout: 258 seconds]
pa has quit [Ping timeout: 245 seconds]
pah has joined #openscad
<J23k13> as NPM holds the majority and cura is going strong into cloud platform i assume they are safe for now  - however they got strong competition an their printer segment from bambulab and prusa is trying
pah_ has joined #openscad
pah has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
snaked has quit [Quit: Leaving]
misterfish has joined #openscad
<guso78_> have you seen the mail from terry, who wants to alter an existing STL ? difference() is the solution, but how to be accurate ? what about having  function, which can extract certain characteristics from an object like bounding box, center and even center of holes ? using this altering stl files will become more easier
<teepee> yes, at some point there was even some trying to convert to actual openscad code, but that was when G+ still existed
<teepee> never heard back from them
<teepee> there's that data = render() mod(); proposal which would even be nicer if that would not return a fixed structure but allow a function to be passed
<teepee> holes = render(detect_holes_function) ...
<teepee> bbox = render(calculate_bounding_box) ...
<teepee> or something like that
<guso78_> suppose the bbox detect function is easy. how would it look like ?
<teepee> the code already exists, the other infrastructure is the interesting part
<guso78_> suppose its available in any of the available libs.
<teepee> also in c++ code
<guso78_> ahh, misconception! when coding:  holes = render(detect_holes_function)  and render is an openscad languge fun, i thought that hole detect function is also openscad function
<teepee> render would be the built-in, the function passed in could be both in theory
<teepee> but we don't have code doing that so far (I think)
<guso78_> detecting the holes is just creating the difference of an objects hull with the object, check whrere the result touches the hull in 2 distinct placces and calculate the point of gravity from the selected objects. Actual implementation will be more complex than just my select_overlap function
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
J23k13 has quit [Quit: Client closed]
J23k13 has joined #openscad
teepee_ has joined #openscad
<teepee_> guso78_: that hull only covers some special cases
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
<teepee> linear_extrude(8) square(40, center = true); difference() { linear_extrude(1) square(60, center = true); for (x=[-25,25], y=[-25,25]) translate([x,y]) cylinder(r=2, h=20, center = true); }
<teepee> maybe project in all axes to catch full through holes in axis direction?
<guso78_> calculate the center of mass would also be very useful to have in openscad. it literally calculates the center point of of an object independant on the actual triangles represented.
<juri_> center of mass implies consistent materials.
<guso78_> yep, agreed. i assume  that the yellow material has same density in all the points :)
<guso78_> teepee, i like the projection approach. maybe clipper even has an option to extract holes.
<Scopeuk> center of mass really would need to go to your slicer
<Scopeuk> center of mass as juri_ says for a solid homogenous material is easy, not so much for a 3d print with the large number of rules that derive where material is and isn't deposited
<guso78_> Probably I expressed myself very bad. I am aware that an 3d printed objects is done with filling,  double perimeters etc.
<guso78_> I was referring to the center of gravity of the virtual objects shown in openscad window, not the actual printed object.
mmu_man has quit [Ping timeout: 246 seconds]
misterfish has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
guso78_ has quit [Ping timeout: 246 seconds]
misterfish has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
misterfish has quit [Ping timeout: 272 seconds]
peeps[work] has joined #openscad
misterfish has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
guso78_ has joined #openscad
Phoo has joined #openscad
<Phoo> I want to overwrite a cylinder. Can I simplyfy my code?
<Phoo> module r_cylinder(h, r, r1, r2, d, d1, d2, fr=0.1){
<Phoo>     _d1 = d==undef ? (r==undef ? (r1==undef ? (d1==undef ? 0.0 : d1) : 2*r1) : 2*r) : d;
<Phoo>     _d2 = d==undef ? (r==undef ? (r2==undef ? (d2==undef ? 0.0 : d2) : 2*r2) : 2*r) : d;
lostapathy has quit [Quit: WeeChat 3.5]
lostapathy has joined #openscad
<teepee> Phoo: maybe limit to a smaller set of options?
<Phoo> I just found out, that I can once overwrite the input parameter constant
<teepee> not quite overwrite, you get a new variable with the same name :)
<teepee> but the effect is the same
<teepee> there's also is_undef() in case you get warnings at some point
<Phoo> I see. because of the scope?
<teepee> yes, the parameters live in some sort of magic extra scope I guess
<Phoo> I have a polygon as an arument. Now I want a list, that is the polygon plus an offset of the polyong, reversed
<Phoo> Think of the frame around a polygon
<Phoo> does it work on a list, too?
<teepee> no, BOSL2 is a big library which has lots of stuff handling vertices as lists
J23k13 has quit [Quit: Client closed]
J23k13 has joined #openscad
<Phoo> how can I use for() to create a list?
<teepee> list = [for (a = [0:3]) a * a]; echo(list);
<Phoo> ah. thanks.
Phoo has quit [Quit: Client closed]
Phoo has joined #openscad
<teepee> more details under the name "list comprehensions" https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/List_Comprehensions
<joseph_> teepee: I just got back from my summer travel, so I'm now about to address the feedback on my PR from a few days ago. I don't have any more major trips planned during the rest of GSoC. Also was your earlier comment about "transfering additional data through the manifold CSG process" directed to me or was that about what guso is working on?
<teepee> joseph_: that was to guso78, context like multi-color stuff or so
J23k13 has quit [Quit: Client closed]
J23k13 has joined #openscad
Phoo has quit [Quit: Client closed]
<gbruno> [github] jbinvnt synchronize pull request #4675 (GSoC 2023: Create VertexStateManager) https://github.com/openscad/openscad/pull/4675
<guso78_> joseph_, my changes are not relevant at the moment. i am in the progress of BIG refactoring. @kintel foresees a PolysetBuilder to create the Polysets instead.
<guso78_> there are more than 40 files changed and my doubts increase that this will be *ever*  acceptes even ctest shows pass :)
Phoo has joined #openscad
<gbruno> [github] t-paul pushed 1 modifications (Remove Debian 10, add Debian 12 and Ubuntu 23.04.) https://github.com/openscad/openscad.github.com/commit/614a5c6afbcfd5162fe9b375a868e81d98cc2042
<guso78_> ahh, different challenges defined now '=D '=D
<joseph_> teepee: The CircleCI branch-build has failed again. My PR can still get merged though, right?
misterfish has quit [Ping timeout: 252 seconds]
Phoo has quit [Quit: Client closed]
<teepee> joseph_: yes. the issue with that is clearly the broken docker image, as long as the test runs are fine and no obvious build errors are shown, the merge is good to go
fling_ has joined #openscad
fling has quit [Ping timeout: 240 seconds]
hrberg has quit [Ping timeout: 245 seconds]
GNUmoon has quit [Ping timeout: 240 seconds]
GNUmoon has joined #openscad
hrberg has joined #openscad
fling_ is now known as fling
J23k13 has quit [Quit: Client closed]
J23k13 has joined #openscad
guso78_ has quit [Quit: Client closed]
<joseph_> teepee: Ok, so is #4675 good to go?
<teepee> joseph_: yeah, I want to have another look at the whole files of the renderes, but I think the topics kintel raised were addressed and I did not see any additional things. plus the test cases are green without test-file changes
<teepee> so it might be a good time to summarize the next step you want to go
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
peeps[work] has quit [Ping timeout: 272 seconds]
h-erectus has quit [Ping timeout: 240 seconds]
h-erectus has joined #openscad