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
RichardPotthoff has joined #openscad
RichardP_ has quit [Ping timeout: 252 seconds]
TheAssass1n has quit [Ping timeout: 260 seconds]
greenbigfrog has quit [Ping timeout: 260 seconds]
TheAssassin has joined #openscad
greenbigfrog has joined #openscad
J24k23 has joined #openscad
peepsalot has quit [Remote host closed the connection]
peepsalot has joined #openscad
J24k74 has quit [Ping timeout: 256 seconds]
LordOfBikes has quit [Ping timeout: 260 seconds]
LordOfBikes has joined #openscad
<gbruno> [github] hzeller opened pull request #5366 (Remove std::-headers in files not needing them) https://github.com/openscad/openscad/pull/5366
kintel has joined #openscad
<kintel> t4nk_fn What distro? Btw. there are some larger changes going on in the Manifold build system these days, so if you're building from their master branch, you may run into something new
<t4nk_fn> gentoo, kintel
<kintel> Latest tagged release should be good though
<t4nk_fn> well, I've been freewheeling for a while now with my own ebuild
<kintel> I'm also planning to clean up OpenSCAD's manifold pieces to make using an external manifold more conventional, but I'm waiting for Manifold to stabilize a bit first
<t4nk_fn> but I don't really see how to get manifold to build that libcross_something.so
<t4nk_fn> thing is.. my ebuild does secretly also build manifold (which I have packaged and installed separately) .. but then doesn't use it I guess. but the point is that it DOEs have /work/openscad-9999_build/submodules/manifold/src/cross_section/libcross_section.so
<t4nk_fn> though I can't use that one of course
<t4nk_fn> but it does build it, whilst my own package doesn't
<t4nk_fn> there's no 'submodules' directory in my version of manifold at all
<t4nk_fn> -----
<t4nk_fn> the comment about mayo's version was something different I guess.. I came across 'manifold3d.cpp:196:24: error: ‘ndarray_wrap’ was not declared in this scope'
<t4nk_fn> when I tried to build his version
<t4nk_fn> which is probably strange because my numpy is dev-python/numpy-2.1.1
<gbruno> [github] hzeller synchronize pull request #5366 (Remove std::-headers in files not needing them) https://github.com/openscad/openscad/pull/5366
<kintel> ^ that builds libcross_section
<pca006132> t4nk_fn: 1. -DMANIFOLD_CROSS_SECTION=ON
<t4nk_fn> yes, pca006132 .. I tried that, but for the life of me
<t4nk_fn> .... it doesn't seem to stick
<t4nk_fn> somehow
<t4nk_fn> :|
<pca006132> which version are you using? and did you try a clean build?
<pca006132> can you show me the log of the build?
<t4nk_fn> sorry that was just a little snippet I was going to show you
<t4nk_fn> I was gonna ask how that was supposed to look
<t4nk_fn> hang on, I'll try to get you more
<t4nk_fn> it's always a clean build, pca006132, and I'm building master
<pca006132> openscad may not work with master though
<t4nk_fn> mm it 'always has' for me
<pca006132> perhaps it works now, but we will have larage breaking changes (again) for removing glm from our public interface
<t4nk_fn> https://dpaste.com/AWMMU7N83 here's the entire build log
<t4nk_fn> (that's probably a horrible paste.. at least it is for me)
<pca006132> ok I remember now, we no longer have libcross_section, the functions inside were integrated into libmanifold
<pca006132> that was another refactor to reduce packaging complexity
<kintel> Right, I remember seeing smth. like that. Didn't look in detail since OpenSCAD doesn't yet build against Manifold master :)
<kintel> ..so for now, just use the latest tagged release, or the one we reference in OpenSCAD
<t4nk_fn> ehm
<t4nk_fn> I think I should now have the referenced one, kintel, as per https://bugs.gentoo.org/908591#c5
<t4nk_fn> but how can I check if it's really using this manifold stuff?
<t4nk_fn> I think it's taking way too long to render atm
<kintel> ./OpenSCAD.app/Contents/MacOS/OpenSCAD ../cube.scad -o out.png --backend=manifold --render=force
<kintel> Top level object is a 3D object (manifold):
<t4nk_fn> Total rendering time: 0:00:11.468
<t4nk_fn> Top level object is a 3D object (Nef polyhedron):
<t4nk_fn> (obviously that was not a cube ;) )
<t4nk_fn> Total rendering time: 0:00:00.520
<t4nk_fn> Top level object is a 3D object (manifold):
<t4nk_fn> that's from the official build. is this because of 'Geometries in cache: 6' btw? otherwise it would be bloody fast in comparison
<t4nk_fn> well, got my build back up by pinning to manifold@22c6605 I'm happy again ;)
<t4nk_fn> well, pinning my manifold package that is.
<t4nk_fn> luckily it isn't used for anything else
mmu_man has quit [Ping timeout: 252 seconds]
<pca006132> yeah we are happily throwing in breaking changes before v3.0 release
<pca006132> we want to do it once and for all
<pca006132> and 20 times faster is not really that much faster :P
<t4nk_fn> lol hehe
<t4nk_fn> euh.. something is still wrong in openscad though
<t4nk_fn> if I run that command line it renders fast.. but within openscad the rendering still takes ages
<pca006132> there is a setting
<pca006132> advanced -> backend or something
<t4nk_fn> oki!
paddymahoney has quit [Ping timeout: 264 seconds]
paddymahoney has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
hisacro has quit [Ping timeout: 252 seconds]
hisacro has joined #openscad
Non-BEAST has joined #openscad
Non-BEAST has quit [Client Quit]
paddymahoney has quit [Ping timeout: 248 seconds]
paddymahoney has joined #openscad
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
paddymahoney has quit [Ping timeout: 260 seconds]
paddymahoney has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
guerd87 has joined #openscad
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
paddymahoney has quit [Ping timeout: 264 seconds]
teepee has quit [Read error: Connection reset by peer]
teepee has joined #openscad
paddymahoney has joined #openscad
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
Artea has joined #openscad
paddymahoney has quit [Ping timeout: 272 seconds]
paddymahoney has joined #openscad
paddymahoney has quit [Ping timeout: 244 seconds]
Non-ICE has quit [Quit: Screw you guys, im going home!]
mmu_man has joined #openscad
othx has quit [Read error: Connection reset by peer]
othx has joined #openscad
paddymahoney has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
SamantazFox has quit [Read error: Connection reset by peer]
SamantazFox has joined #openscad
mmu_man has joined #openscad
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
J24k23 has quit [Quit: Client closed]
J24k23 has joined #openscad
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
J24k23 has quit [Quit: Client closed]
J24k23 has joined #openscad
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
paddymahoney has quit [Ping timeout: 260 seconds]
paddymahoney has joined #openscad
paddymahoney has quit [Ping timeout: 252 seconds]
paddymahoney has joined #openscad
J24k23 has quit [Ping timeout: 256 seconds]
Non-ICE has joined #openscad
snaked has quit [Quit: Leaving]
paddymahoney has quit [Read error: Connection reset by peer]
paddymahoney has joined #openscad
J24k has joined #openscad
mmu_man has quit [Ping timeout: 246 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
LordOfBikes has quit [Remote host closed the connection]
ekabisch has joined #openscad
<ekabisch> Hello. Can I ask in german language ?
LordOfBikes has joined #openscad
<teepee> ekabisch: können wir gerne mal machen, hier sind einige im Kanal die mitreden können :-)
<ekabisch> I wanted to make a chamfered rectangular hole in a plate over a truncated pyramid (polyhedron([..])). The truncated pyramid alone is displayed and rendered correctly, but it cannot be differentiated from another object. I've tried so many things and don't know what to do anymore. Can anyone help?
cart_ has joined #openscad
<teepee> ekabisch: try "throwntogether mode" (F12)
<teepee> if any of the polyhedron faces are pinkish color, the points have wrong winding order
<gbruno> [github] Jimw338 opened issue #5367 (Why doesn't OSX icon bounce on opening?) https://github.com/openscad/openscad/issues/5367
ekabisch has quit [Quit: Client closed]
ekabisch has joined #openscad
<InPhase> ekabisch: Also, an alternative solution structure, if I understood your general design aspiration correctly: difference() { $fn=4; cylinder(r1=20, r2=10, h=10); translate([0,0,5]) cylinder(r=5, h=9); translate([0,0,9]) cylinder(r1=5, r2=7, h=2); }
J24k has quit [Quit: Client closed]
J24k has joined #openscad
<InPhase> ekabisch: polyhedron is absolutely amazing. And a lot of hard work to get right manually. It is best to use library support if you're going to use it, or hunt a little bit for alternative solutions. Then you fall back to polyhedron when you confirm there aren't other good approaches.
<InPhase> ekabisch: An example of doing the same with library support: https://bpa.st/374Q
<J24k> InPhase you setting the square hat h= 0..  twice at 10 then at 9 and 5  and that works?
<J24k> oh - it is not the chamfered square hole .. sorry
<J24k> can you do dual walls with close points?
<InPhase> What do you mean by dual walls?
<J24k> like a ring but  building along the center and not along the circumverence
<InPhase> Yes, if I understand you correctly.
<J24k> how do you define a polygon with  a hole
<InPhase> CloseLoop
<InPhase> For a polyhedron with a hole.
<InPhase> But you can do that in either direction for a ring.
<J24k> close loop sounds like you going around like rotate extrude
<InPhase> That's the easiest way to think about it, but it's not required.
<J24k> can you have a polygon with a hole as input?
<J24k> (or multiple holes)
<InPhase> No, the hole is made on the return path.
<J24k> by starting and ending with the same polygon (without hole)
<J24k> hmm but maybe i can tune my module to work with multiple holes - on the other hand it is probably very rarely used
<InPhase> J24k: Demo: https://bpa.st/TYXA
<InPhase> J24k: That's a list of 4 polygons, basically. Outer, outer, inner, inner.
<InPhase> Topological equivalent to the rotate extrude approach. :)
<J24k> yeah that is easy - but doesn't work for a second hole
<InPhase> Correct, there is no trivial way I could come up with to support topologies with multiple holes.
<J24k> in the past it worked by just adding the holes .. it would create 0 width walls between them if they start and end at the same point - and those walls get removed when rendering ( not sure if this still works)
drkow has joined #openscad
<J24k> my module works with a "loop" variable  that is the length of the polygon - in theory it should be easy to allow lists as loop so multiple walls are created - only the normal vector might be tricky if those are within or outside
kintel has joined #openscad
drfff has quit [Ping timeout: 276 seconds]
<J24k> probably so much easier to use a difference()
ekabisch has quit [Quit: Client closed]
kintel has quit [Ping timeout: 246 seconds]
cart_ has quit [Ping timeout: 272 seconds]
mmu_man has quit [Ping timeout: 245 seconds]
cart_ has joined #openscad
rvt has joined #openscad
mmu_man has joined #openscad
<rvt> is this 3d printable? https://i.imgur.com/9mIzACS.png https://i.imgur.com/VNeG8NJ.png I am tryng to make a holder for an ceramic GPS antenna that can roate around a 90 degree axis. It will me mounted on a case. So depending if the oritentation of the case, you can rotate the GPS antenna towards the sky.
cart_ has quit [Ping timeout: 252 seconds]
<rvt> I am struggeling to find a noce compact design that is printable
<rvt> The two ruber rings on the ‘tube’ are suppose to fit into a other tube make it rotatable… if it makes sense..
<J24k> rvt it sure is, but need supports
<J24k> but you could modify the bottom so it works without or very little supports
<rvt> I think so indeed… to make it flat…
<J24k> make it a cone
<rvt> The problem is, I wanted to make a screw cap… but that then makes little room for the threads
<rvt> this is the case it is suppose to be attached on : https://i.imgur.com/9lXRcAC.jpeg
<rvt> I Ahhh yes, I can make it like that...
<J24k> maybe a bit flat at the center so you have some more contact area for bed adheason
<rvt> that should be very well possible
<rvt> dear god you are so fast… I spend 2 hours working on something like that :D
<J24k> just 6 lines of code with my library
<rvt> I used BOSL2 but I always have to re-read it once I don’t do openscad for a few weeks
guso78 has joined #openscad
<J24k> writing your own is always easier, doesn't need to be so complex like BOSL2
<rvt> unfortuntly… I would properly spend more thime on it…
<J24k> But i have a help parameter to list all setting in the console window - because i can't remember what i wrote a year ago - very rarely i need to open the code though
<J24k> as you said you already invested 2h .. if you just make the parts into modules and add them to your library .. the next time you save 1.5h
<J24k> unfortuntly - Ü i like that
<rvt> I usually ad them to my ‘parts’ library… but as I don;t ezcel in it, they always seem to become messy
<rvt> this is the case I have been working on :: https://github.com/rvt/OpenAce/tree/initial/enclosure as you can see… not suprt clean...
<J24k> it takes time to excel so just keep going and as long it is working somehow to make your life easier
<rvt> I have some idea’s.. tomorrow a new day thank for that, very helpfull!
<othx> guso78 linked to YouTube video "Morphing a cube into a dodecahedron" => 1 IRC mentions
<guso78> 90 LOC
<J24k> rvt looks good to me
rvt has quit [Quit: rvt]
rvt has joined #openscad
rvt has quit [Client Quit]
guso78 has quit [Quit: Client closed]
kow__ has joined #openscad
drkow has quit [Ping timeout: 276 seconds]
J24k has quit [Quit: Client closed]
J24k has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
peepsalot has quit [Quit: Connection reset by peep]
mmu_man has joined #openscad
J24k has quit [Quit: Client closed]
J24k has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
Joel has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
Joel has joined #openscad
peepsalot has joined #openscad
J24k has quit [Quit: Client closed]
J24k has joined #openscad
kintel has joined #openscad
<kintel> Are anyone familiar with Windows filesystem stuff? We have some places where we use QString::toLocal8Bit() to attempt to generate Windows filenames from (utf-8) std::string instances.