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
J24k58 has joined #openscad
J24k4 has quit [Ping timeout: 256 seconds]
LordOfBikes has quit [Ping timeout: 244 seconds]
LordOfBikes has joined #openscad
snaked has quit [Quit: Leaving]
snaked has joined #openscad
snakedGT has joined #openscad
snaked has quit [Ping timeout: 252 seconds]
mmu_man has quit [Ping timeout: 245 seconds]
<pca006133> Scopeuk: no, that patch in particular is not in the PR
kintel has joined #openscad
<kintel> J24k Re. flipped normals: Do you have a smallish example?
<kintel> Could be worth just opening a github issue
krushia has joined #openscad
<gbruno> [github] thehans pushed 26 modifications (Merge pull request #5379 from openscad/clang-tidy-fixes Various fixes for clang-tidy checks with few occurences) https://github.com/openscad/openscad/commit/ef6c55e069901244b92c788e391dd2a29930b065
<gbruno> [github] thehans closed pull request #5379 (Various fixes for clang-tidy checks with few occurences) https://github.com/openscad/openscad/pull/5379
snakedGT has quit [Ping timeout: 246 seconds]
snakedGT has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
<kintel> pca006133 Thx!
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
UltimateCodeWarr has joined #openscad
<UltimateCodeWarr> So is there anyway to setup some kind of 'pantomime' that will trace a 2D shape on a 3D Curved surface like a Cylinder or Sphere?
<peeps[zen]> UltimateCodeWarr: do you mean like embossing a pattern onto a curved surface?
<UltimateCodeWarr> Yes
<peeps[zen]> not really any direct way to do so. i would imagine some libraries probably support an action for sphere and cylinder specifically, but don't know off top of my head
<peeps[zen]> and if you wanted to support arbitrary 3d curved surfaces i think that would be quite difficult
<peeps[zen]> without direct access to geometry data in userspace i think any solution would require some compromises, like breaking a 2d shape into small disjoint segments and projecting onto the surface
<pca006133> I feel like even with direct access to geometry data, this is a difficult problem in general
<pca006133> or not well-defined
<UltimateCodeWarr> It's like you would want to load a skeleton file where black is the trace path, and then you would specify either a cut depth or raised amount and a tool shape (like a triangle or sphere), and then where to center it on a particular surface.    The mechansim would just use some sort of polar cords to translate the 2D shape on the surface of the
<UltimateCodeWarr> 3D shape
<UltimateCodeWarr> I've seen CNC laser/plasma torches take a 2d drawing and cut it out on pipe
<peeps[zen]> usually that's with a rotary axis, unless you mean on a fancy robot arm
<UltimateCodeWarr> Not the stuff in my price range, it's rotary 4-jaw chucks
<peeps[zen]> in which case the rotary axis sorta does the transformation for you, you are basically sending 2d data to the CNC
<pca006133> if the user can specify a transformation function, it is well-defined...
<pca006133> because otherwise you have cases like mapping a square onto a sphere for example, or maybe into things with holes, in general when things have different topology you have to make arbitrary decisions
<peeps[zen]> just remininded me of some fun trivia: a triangle on the surface of a sphere can have 3 right angles
<peeps[zen]> *reminded
aiyion1 has quit [Remote host closed the connection]
aiyion1 has joined #openscad
extor has quit [Ping timeout: 245 seconds]
extor has joined #openscad
extor has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
extor has joined #openscad
JakeSays_ has joined #openscad
JakeSays has quit [Ping timeout: 246 seconds]
<gbruno> [github] tomasf opened issue #5380 (Exporting binary STL to stdout produces corrupt data) https://github.com/openscad/openscad/issues/5380
guso78 has joined #openscad
<J24k58> f0lkert would it be possible to put all "tweakable" items at the top of the pov file? .. I have files with 500mb - so scrolling up down is something
<f0lkert> added to the todo!
<guso78> Hi f0lkert,  wanted to try my new example with povray and exported to pov.  it is at https://guenther-sohler.net/wrap.pov
<guso78> howeverm when I try it with povray and looks very bad and i basically cannot recognize my model again. is it an error  in the file, in my povray or simple wrong usage ?
<f0lkert> looks odd
<f0lkert> let's see
<guso78> i expext to see something like this and i plan to make it look like green transparent glass
<f0lkert> i'm puzzled!
<f0lkert> as if stuff is missin
<f0lkert> g
<f0lkert> do you have the code for me? the .scad-file?
<guso78> sorry,  no scad, i created with pythonscad. maybe STL is fine, too ?
<f0lkert> no
<f0lkert> *pondering*
<f0lkert> guso78: does the stl look ok?
<guso78> i have just seen, that my model is not completely closed in the top, could that be an issue ?
<guso78> i will check stl
<f0lkert> guso78: I don't think so no. yes please check the stl. I'll see if i can install pythonscad in the mean time.
<guso78> yes, stl looks fine apart top closing
<guso78> will share stl with you, compiling pythonscad could take some time
<guso78> guenther-sohler.net/wrap.stl
<guso78> I really like to add povray into my flow, I'd love to see it working in my place :)
<f0lkert> yeah the results are better than I expected myself
<guso78> .. aparently i need to improve my wrap function to handle more situations ;)
<f0lkert> another one for the todo! :)
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
<f0lkert> guso78: are you the pythonscad developer? because I get: /home/folkert/t/pythonscad/src/python/pydata.cc:5:10: fatal error: Python.h: No such file or directory
<f0lkert> even though i installed libpython3.13-dev
<guso78> f0lkert, this is interesting, which distro are you working with ?
<f0lkert> ubuntu 24.10
<f0lkert> I ran cmake, then make, then install libpythonbla, then ran cmake again and make
<guso78> do you have  experience with cmake ? maybe you can find out which include directories are  and where your Python.h sits ?
<guso78> that should be fine. later today i can test, if there is an issue with python3.13
<f0lkert> my knowledge of cmake is minimal unfortunately, but I'll see what I can do
<guso78> (i still use python 3.11 , because its much easier to handle, in respect to threads even though 3.13 is recent)
<f0lkert> I specially upgraded to 24.10 because of 3.13 threading improvements :-)
<guso78> :) but with python threads you have to lock and unlock the GIL and python will crash if you don' t do correctly  '=( '=(
<UltimateCodeWarr> Did you install anything with SNAP?
<f0lkert> guso78: indeed
<f0lkert> UltimateCodeWarr: is that a question for me?
<UltimateCodeWarr> Yes, I've had quite a few issues with SNAP sandbox folders and things not working because paths are not what they have been.
<gbruno> [github] UBaer21 opened issue #5381 (Flipped normals under certain conditions) https://github.com/openscad/openscad/issues/5381
<gbruno> [github] UBaer21 edited issue #5381 (Flipped normals under certain conditions) https://github.com/openscad/openscad/issues/5381
<f0lkert> only skype and firefox apparently
<guso78> f0lkert will check with python3.13 later that day
<f0lkert> I still have 3.12 installed as well
<gbruno> [github] UBaer21 edited issue #5381 (Flipped normals under certain conditions) https://github.com/openscad/openscad/issues/5381
<f0lkert> hmmm: "-I/usr/include/pythonOFF" that looks strange
<J24k58> kintel i made a test case and reduced it so it works without lib https://github.com/openscad/openscad/issues/5381
<gbruno> [github] UBaer21 edited issue #5381 (Flipped normals under certain conditions) https://github.com/openscad/openscad/issues/5381
guso78 has quit [Quit: Client closed]
<gbruno> [github] UBaer21 edited issue #5381 (Flipped normals under certain conditions) https://github.com/openscad/openscad/issues/5381
<gbruno> [github] UBaer21 edited issue #5381 (Flipped normals under certain conditions) https://github.com/openscad/openscad/issues/5381
guso78 has joined #openscad
<guso78> f0lkert, you can add 2nd line to 1s line in CMakeLists.txt
<guso78> find_package(Python COMPONENTS Interpreter Development)
<guso78> message(STATUS "Python Headers at ${Python_INCLUDE_DIRS}" )
<guso78> compilation  with python-3.13 works in my place
mmu_man has joined #openscad
<f0lkert> guso78: I can render the coil fine if I add a cube :-)
<guso78> interesting, so  the cube forces a CSG union operation, probably my mesh is not fine
<f0lkert> one sec
<f0lkert> guso78: I could make it compile by adding -DPYTHON_VERSION=3.13 to the cmake commandline
<guso78> wow, you already learned a new language ;)
<guso78> :)
<guso78> let me check the updated code
<f0lkert> a sphere helps as well :)
<guso78> yeahh, I also see  it now, thx for fixing my model :)
<guso78> ps: you can simple at : coil |= cube(10)  to the code ...
<f0lkert> ah!
<guso78> my next task is to fix the mesh
<f0lkert> guso78: how do I add color?
<f0lkert> I tried: b = cube(1).translate([x, y, 0]).color([mit, 0, 0])
<f0lkert> but that doesn't compile
<guso78> you can e.g. write: c = cube(4).color("green")
<guso78> color([r,g,b]) sould also work, but did not test, if it fails, raise yet another bug ;)
<f0lkert> b = cube(1).color([mit, 0, 0]).translate([x, y, 0])
<f0lkert> like that?
<f0lkert> that gives: TypeError: error during parsing color
<guso78> ok maybe bug.  let me test and fix later ...
<f0lkert> oh and I'd like to be able to abort a generation. because I made a typo and now it will take hours.
<f0lkert> oh and auto-save
<guso78> backups work in the same way as openscad
<f0lkert> meh, lost a script now
<guso78> (i just inherited/forked
<guso78> check the openscad/pythonscad backup folder for files
<f0lkert> typed in again. so now I have a mandelbrot (2D) using pythonscad. nice
<guso78> great!
<guso78> (there is an easy option to share the design in case you like)
mmu_man has quit [Ping timeout: 248 seconds]
crazy_imp has quit [Ping timeout: 252 seconds]
crazy_imp has joined #openscad
mmu_man has joined #openscad
snakedGT has quit [Quit: Leaving]
aiyion1 has quit [Ping timeout: 260 seconds]
guso78 has quit [Quit: Client closed]
kintel has joined #openscad
mmu_man has quit [Ping timeout: 246 seconds]
<gbruno> [github] yahbluez opened issue #5382 ($fonts) https://github.com/openscad/openscad/issues/5382
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<f0lkert> https://vps001.vanheusden.com/~folkert/mandelscad.mp4 <- mandelbrot in openscad and then rendered in povray
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
guso78 has joined #openscad
<guso78> The colors are spectacular!
<guso78> Suppose you have an external setup to make the videos
<guso78> there light "nails"  at 0:12,  are these shades ?
teepee_ has joined #openscad
<f0lkert> InPhase: I'm know the bastard :-) way more difficult to calculate. because I've got the 2D formula as a reference tattood on my left arm.
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
<InPhase> Well now... If that appeared in front of me, I would run. https://www.youtube.com/watch?v=fHWo_b2wVQU
<othx> InPhase linked to YouTube video "4D Quaternion Hypercomplex Mandelbrot Set" => 1 IRC mentions
<InPhase> That's the sort of thing you see before you get shredded into pulp by aliens from a higher dimension unconcerned with your lower order existence.
<f0lkert> :)
<guso78> the 4D thingy looks quite disturbing to me
<InPhase> guso78: That probably means your mind is functioning.
<guso78> :') ahh, so a good sign
<gbruno> [github] PinkPandaKatie opened pull request #5383 (Add null-coalescing operator '??') https://github.com/openscad/openscad/pull/5383
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
themind has joined #openscad
<themind> I've been using openscad-nightly with --enable=manifold, however with recent builds I'm getting "Ignoring request to enable unknown feature 'manifold'.". Wondered if maybe nightly builds had manifold feature turned off for builds, but did a build myself with it enabled and the feature still seems to be missing. What am I missing here?
<themind> aha! Awesome. Thank you.
guso78 has quit [Quit: Client closed]
abff has quit [Read error: Connection reset by peer]
abff has joined #openscad
mmu_man has quit [Ping timeout: 248 seconds]
<UltimateCodeWarr> Are there any plans in the future to where if you click on a part, like a vertex to get a measurement to another vertex?
mmu_man has joined #openscad
<InPhase> Have you tried using the distance measuring button?
<InPhase> Looks like a 10 with arrows under it.
<InPhase> It sometimes has surprising behavior, but it can be made to work.
<UltimateCodeWarr> I hadn't tried it, but it seems like it's locking up my machine
<UltimateCodeWarr> "OpenSCAD" is not responding popup
<teepee> I guess I need to post about the latest stuff too, so I can have those links ready later ;-)
<UltimateCodeWarr> I think the shapes I have might have overloaded the system.
<teepee> that can happen
stefanct has quit [Excess Flood]
stefanct has joined #openscad