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
mtm has quit [Ping timeout: 265 seconds]
mtm has joined #openscad
<teepee> uh, oh, no crash...
<teepee> still no python though :(
<teepee> where do we need to point the path to? https://pastebin.com/4d0Nr4Jh
LordOfBikes has quit [Ping timeout: 252 seconds]
LordOfBikes has joined #openscad
<stealth_> teepee, is cross-compiling process easy for openscad?
<teepee> I guess that depends on the specific case
<teepee> cross compile is never 100% trivial
<stealth_> teepee, give this a look if you have spare time https://www.youtube.com/watch?v=kuZIzL0K4o4
<othx> stealth_ linked to YouTube video "Using ZIG as a Drop-In Replacement C Compiler on Windows, Linux, and macOS!" => 1 IRC mentions
<stealth_> might help the whole build process, i knew of ppl would have different OS to compile those software back in the day, not sure if ppl still do that.
<teepee> cross compiling what exactly?
<stealth_> openscad https://openscad.org/downloads.html you can do it from 1 system.
<teepee> I doubt that it helps in the difficult cases, like signed multi-arch macos binaries
<teepee> if it would make windows builds easier, that would be nice
<teepee> but it's not just openscad that has to be build
<stealth_> i does all of it, you can do it just from your linux system, you can do windows/mac/arm..
<stealth_> check out that video and give it a try! if it makes your life easier by a bit its a win.
<stealth_> The compiler itself is actually written in zig!
<teepee> first some sleep though, almost 2am
<stealth_> aww night.
GNUmoon has quit [Remote host closed the connection]
<nomike> BTW: I've installed the latest OpenSCAD from github and compiled it myself, but why hasn't there been any release since 2021.01? I guess because of that, that's also the latest version available in the debian and ubuntu repositories. If there where a newer official release, packages in debian/ubuntu might receive an update, making it more accessible to users not experienced in software development.
<nomike> Good night teepee
GNUmoon has joined #openscad
<church_> oh, right. forgot debian love of "stable, even if ancient" :/
J25k41 has joined #openscad
J25k has quit [Ping timeout: 240 seconds]
kintel has joined #openscad
<gbruno> [github] kintel pushed 8 modifications (Fix check dependencies.sh (#5699) * Fix script error in check-dependencies.sh (#5698) * Add missing shebangs to shell scripts. --------- Co-authored-by: nomike <nomike@nomike.cpm>) https://github.com/openscad/openscad/commit/6d24920bad7acca58adbc1d931334bc185ef5e40
<gbruno> [github] kintel closed pull request #5699 (Fix check dependencies.sh) https://github.com/openscad/openscad/pull/5699
<gbruno> [github] kintel closed issue #5698 (Shebang missing in check-dependencies.sh) https://github.com/openscad/openscad/issues/5698
<kintel> nomike Re. new release: It's WIP, but there is still significant work left to stabilize the features added since 2021.01: https://github.com/orgs/openscad/projects/2
<nomike> BTW: I tried signing up on https://lists.openscad.org via direct link AND via sending an email to the subscribe address, but I didn't get any response and that was easily more than 30 minutes ago. I tried to sign up for an account to be able to read the archives, but I'm also not receiving the confirmation mail.
<nomike> My Mail-Address is nomike@nomike.com hosted by dreamhost.com, so none of those gmail shenanigans where there frequently are issues. I also checked my spam folder of course.
<nomike> So I guess, there is an issue with affinity ¯\_(ツ)_/¯...
<nomike> Or is the discussion list simply dead?
aiyion4 has quit [Remote host closed the connection]
califax has quit [Remote host closed the connection]
<kintel> You should have gotten an email to confirm your email address. At least such an email was generated by affinity 32 minutes ago
califax has joined #openscad
aiyion4 has joined #openscad
<nomike> Nope. There's nothing so far...
<nomike> I will check again tomorrow, but if it takes that long already, I don´t expect anything to arrive. I will double check but AFAIK dreamhost is not doing any server-side spam filtering.
<nomike> Anyway, 3 am, I should go to sleep. Have a nice time.
sauce has quit [Ping timeout: 252 seconds]
sauce has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
killjoy has quit [Ping timeout: 260 seconds]
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
<gbruno> [github] thestumbler opened issue #5700 (Import JSON, Spaces in key names) https://github.com/openscad/openscad/issues/5700
L29Ah has quit [Read error: Connection timed out]
<gbruno> [github] jordanbrown0 closed issue #5700 (Import JSON, Spaces in key names) https://github.com/openscad/openscad/issues/5700
guso78k has quit [Ping timeout: 240 seconds]
kintel has quit [Ping timeout: 252 seconds]
fling has quit [Remote host closed the connection]
fling has joined #openscad
<gbruno> [github] kintel pushed 13 modifications (Squashed some clang-tidy warnings, slightly adjusted clang-tidy config) https://github.com/openscad/openscad/commit/7801ba1e8331b2dccb688ea97e203141f3c511bf
<gbruno> [github] kintel opened pull request #5701 (Squashed some clang-tidy warnings, slightly adjusted clang-tidy config) https://github.com/openscad/openscad/pull/5701
<gbruno> [github] kintel edited pull request #5701 (Squashed some clang-tidy warnings, slightly adjusted clang-tidy config) https://github.com/openscad/openscad/pull/5701
HumanG33k has quit [Ping timeout: 252 seconds]
misterfish has joined #openscad
HumanG33k has joined #openscad
aiyion4 has quit [Remote host closed the connection]
aiyion4 has joined #openscad
HumanG33k has quit [Excess Flood]
HumanG33k has joined #openscad
califax has quit [Remote host closed the connection]
LordOfBikes has quit [Ping timeout: 260 seconds]
califax has joined #openscad
HumanG33k has quit [Ping timeout: 244 seconds]
HumanG33k has joined #openscad
HumanG33k has quit [Excess Flood]
LordOfBikes has joined #openscad
HumanG33k has joined #openscad
stealth_ has quit [Quit: Leaving]
guso78k has joined #openscad
misterfish has quit [Ping timeout: 272 seconds]
lastrodamo has joined #openscad
JakeSays_ has joined #openscad
JakeSays has quit [Ping timeout: 252 seconds]
guerd has joined #openscad
guso78k has quit [Quit: Client closed]
misterfish has joined #openscad
J25k41 has quit [Quit: Client closed]
J25k41 has joined #openscad
SparshN has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
nomike has quit [Ping timeout: 252 seconds]
Guest34 has joined #openscad
Guest34 has quit [Write error: Connection reset by peer]
leptonix has quit [Quit: leaving]
misterfish has quit [Ping timeout: 252 seconds]
guso78k has joined #openscad
guerd has quit [Read error: Connection reset by peer]
guso78k has quit [Quit: Client closed]
L29Ah has joined #openscad
misterfish has joined #openscad
guso78k has joined #openscad
<guso78k> teepee, my best guess is  ./usr/python/lib/python3.10
<guso78k> my 2nd best guess is ./usr/python/lib/python3.10/site-packages
<guso78k> i never tested with python3.10, i am moving between 3.11 and 3.13
JakeSays has joined #openscad
JakeSays_ has quit [Ping timeout: 252 seconds]
guso78k has quit [Quit: Client closed]
LordOfBikes has quit [Ping timeout: 260 seconds]
SparshN has quit [Quit: Client closed]
J25k41 has quit [Quit: Client closed]
J25k41 has joined #openscad
LordOfBikes has joined #openscad
mmu_man has joined #openscad
guso78k has joined #openscad
mtm has quit [Ping timeout: 252 seconds]
califax has quit [Remote host closed the connection]
califax has joined #openscad
mtm has joined #openscad
foul_owl has quit [Ping timeout: 252 seconds]
foul_owl has joined #openscad
nomike has joined #openscad
nomike has quit [Ping timeout: 260 seconds]
L29Ah has quit [Ping timeout: 248 seconds]
noonien808310429 has quit [Quit: The Lounge - https://thelounge.chat]
noonien808310429 has joined #openscad
L29Ah has joined #openscad
L29Ah has left #openscad [#openscad]
<gbruno> [github] kintel pushed 1 modifications (Fix bad eigen include) https://github.com/openscad/openscad/commit/28a5c9c0cd18dedfc4ef490a524fd3215cd5c556
<gbruno> [github] kintel synchronize pull request #5701 (Squashed some clang-tidy warnings, slightly adjusted clang-tidy config) https://github.com/openscad/openscad/pull/5701
L29Ah has joined #openscad
misterfish has quit [Ping timeout: 248 seconds]
Mohamed_yaser has joined #openscad
<gbruno> [github] kintel pushed 2 modifications (Correctly include FreeType headers) https://github.com/openscad/openscad/commit/31792574fa3c834005f6ea0b395bb9af6834bdb1
<gbruno> [github] kintel synchronize pull request #5701 (Squashed some clang-tidy warnings, slightly adjusted clang-tidy config) https://github.com/openscad/openscad/pull/5701
<gbruno> [github] kintel edited pull request #5701 (Squashed some clang-tidy warnings, slightly adjusted clang-tidy config) https://github.com/openscad/openscad/pull/5701
noonien808310429 has quit [Ping timeout: 260 seconds]
nomike has joined #openscad
Mohamed_yaser has quit [Quit: Client closed]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
J25k41 has quit [Quit: Client closed]
J25k41 has joined #openscad
Ckat has quit [Ping timeout: 260 seconds]
Ckat has joined #openscad
J25k41 has quit [Quit: Client closed]
J25k41 has joined #openscad
<gbruno> [github] t-paul pushed 1 modifications (Add more python folder checks for AppImage.) https://github.com/openscad/openscad/commit/bfbbd61bfb58676f311de9d791df9c67e5c8d04a
Ckat has quit [Ping timeout: 248 seconds]
Ckat has joined #openscad
stealth_ has joined #openscad
arebil has quit [Quit: arebil]
arebil has joined #openscad
<gbruno> [github] t-paul pushed 1 modifications (Fix path.) https://github.com/openscad/openscad/commit/486842e4a26316b6c318151228f43109bb451a1d
LordOfBikes has quit [Ping timeout: 260 seconds]
J25k41 has quit [Quit: Client closed]
J25k41 has joined #openscad
SparshN has joined #openscad
SparshN has quit [Client Quit]
<teepee> yay!
<church_> ugh. finally "fixed" hated behaviour of echo(). why i didn't thought of using str() within echo() earlier, dunno :/
<church_> now at can see multiple variables and their meaning text without excessive quotes and commas inbetween
<church_> even \t & \n works
<teepee> huh?
<teepee> echo(x = x, y = y);
LordOfBikes has joined #openscad
<gbruno> [github] t-paul pushed 1 modifications (Enable roof only if EXPERIMENTAL and CGAL flags are set.) https://github.com/openscad/openscad/commit/f1c1318cce44c15fa4008b99a86c7710eb479627
<InPhase> Is roof failing for manifold?
<teepee> no idea, is there one in manifold?
aiyion4 has quit [Remote host closed the connection]
aiyion4 has joined #openscad
<InPhase> teepee: Well I don't know. It works, and I didn't ask how. ;)
LordOfBikes has quit [Ping timeout: 252 seconds]
SparshN has joined #openscad
misterfish has joined #openscad
<SparshN> Greetings, I was interested in the GSOC Project regarding getting a windows build to work for OpenSCAD. I was wondering if there's any specific process regarding forms/applications for now, or if it's primarily through discussion in this IRC channel? The issue I was looking at is https://github.com/opencax/GSoC/issues/101
LordOfBikes has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
misterfish has quit [Ping timeout: 245 seconds]
misterfish has joined #openscad
SparshN has quit [Quit: Client closed]
SparshN has joined #openscad
guso78k has quit [Quit: Client closed]
arebil has quit [Quit: arebil]
arebil has joined #openscad
misterfish has quit [Ping timeout: 252 seconds]
J25k41 has quit [Quit: Client closed]
J25k41 has joined #openscad
SparshN has quit [Quit: Client closed]
LordOfBikes has quit [Ping timeout: 260 seconds]
SparshN has joined #openscad
<teepee> SparshN: hi
J25k41 has quit [Quit: Client closed]
teepee has quit [Remote host closed the connection]
J25k41 has joined #openscad
teepee_ has joined #openscad
teepee_ is now known as teepee
LordOfBikes has joined #openscad
LordOfBikes has quit [Ping timeout: 252 seconds]
<gbruno> [github] t-paul closed pull request #5702 (Python: AppImage support) https://github.com/openscad/openscad/pull/5702
<gbruno> [github] t-paul opened pull request #5702 (Python: AppImage support) https://github.com/openscad/openscad/pull/5702
<gbruno> [github] t-paul pushed 6 modifications (Merge pull request #5702 from openscad/python-appimage Python: AppImage support) https://github.com/openscad/openscad/commit/48028df3e588af87e3e58e2986ef04184035245d
L29Ah has left #openscad [#openscad]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 268 seconds]
misterfish has joined #openscad
<gbruno> [github] t-paul pushed 1 modifications (Python: Enable python in CircleCI AppImage build.) https://github.com/openscad/openscad/commit/005330814e5d4b2f3d3ca52d0f3a0c39ca0c000a
<gbruno> [github] t-paul opened pull request #5703 (Python: Enable python in CircleCI AppImage build.) https://github.com/openscad/openscad/pull/5703
L29Ah has joined #openscad
misterfish has quit [Ping timeout: 268 seconds]
SparshN has quit [Quit: Client closed]
<church_> hmm, is it stupid idea to add enableable option/preference to auto-remove during rendering of all small (hmm, <.003 ?) bits from model to auto-clean z-infighting artifacts? (of course, unless object is 2-D)
mmu_man has joined #openscad
<teepee> not a stupid idea, it's just not clear if it's possible to do in general
<teepee> hmm, framework desktop computer. I'm tempted :)
<L29Ah> is the cooling as bad as in the laptop?
<teepee> it has a big ass fan
mmu_man has quit [Ping timeout: 244 seconds]
<teepee> I have no issue with my laptop, but I'm mostly running it in low powermode :)
<gbruno> [github] t-paul pushed 1 modifications (Merge pull request #5703 from openscad/python-on-circleci Python: Enable python in CircleCI AppImage build.) https://github.com/openscad/openscad/commit/9dab2d812335031c5658730ed8818b2ff38cbaab
<gbruno> [github] t-paul closed pull request #5703 (Python: Enable python in CircleCI AppImage build.) https://github.com/openscad/openscad/pull/5703
guso78k has joined #openscad
guso78k has quit [Client Quit]
<gbruno> [github] gsohler synchronize pull request #5694 (Python pr5) https://github.com/openscad/openscad/pull/5694
mmu_man has joined #openscad
bertronika has joined #openscad
guso78k has joined #openscad
J25k41 has quit [Quit: Client closed]
J25k41 has joined #openscad
misterfish has joined #openscad
killjoy has joined #openscad
killjoy has quit [Changing host]
killjoy has joined #openscad
misterfish has quit [Ping timeout: 244 seconds]
misterfish has joined #openscad
<gbruno> [github] scrameta synchronize pull request #5584 (RFC: New general-purpose extrusion mechanism - 2025 refresh) https://github.com/openscad/openscad/pull/5584
lastrodamo has quit [Remote host closed the connection]
lastrodamo has joined #openscad
lastrodamo has quit [Remote host closed the connection]
SparshN has joined #openscad
<gbruno> [github] t-paul synchronize pull request #5694 (Python pr5) https://github.com/openscad/openscad/pull/5694
<teepee> guso78: the branch is getting out of sync, is it possible starting with a new one once the current one is merged?
<guso78k> yes of course. i could make python_pr(5+1)
<teepee> also what's the next steps? basic features are on in OBS builds, Snap, Flatpak and AppImage - so that should cover all the Linux builds as first step
<teepee> it would be nice to get a handle on the packamanagement, so maybe pip could be used
<teepee> but that's just me :)
<guso78k> you wanted to optimize python (forget) everything and i have tons of more functions to implement
<teepee> there might be other interesting topics
<guso78k> i *do* have a pip package setup and compiling it locally works great!
<guso78k> just shipping is little bit difficult, because
<teepee> yeah, local build is always easy as you have the consistent setup
<guso78k> pip an sdist: compilation is needed on the target computer and basically all dependencies/header files need to be present
<guso78k> pip as binary distribution: pypi only accepts "anylinux" format which is intentionally created on *very* old distros, which do not even have packages for eigen
<teepee> I guess the re-init would be nice, but it's also not urgent
<teepee> the interesting part is getting more feedback from other people
<guso78k> plus: pypi accepts at most 100 MB packages and mine turned out 110 MB, but we can ask for exception
<teepee> 100mb?
<guso78k> pypi accepts maximum of 100mb for uploaded pip packages
<teepee> but why so big? the appimage with full python is 75mb
<guso78k> sorry, did not track down the details, i just realized that i have 110mb and i did not further bother
<guso78k> and of course: the pip package does not have any graphical display
<teepee> maybe stripping binaries or using some other build flags can bring that down?
<teepee> so that's a headless openscad inside python?
<guso78k> i think stripped would have worked. but key to success is the manylinux format,  they offer docker images for that
<guso78k> exactly: headless pip
<guso78k> you can browse the setup.py in the root of my pythonscad repo.its basically a huge list of cc files to consider :')
<guso78k> personally i'd like to get the mxe thing working, because it addresses the biggest percentage of people.
<guso78k> other dreams are getting openscad working as a jupyter kernel. its working 99% for me D: D:
<teepee> I had a look some time ago using c++ but via python it might be easier
<guso78k> key to work in jupyter is libxeus. libxeus is an adapter library which taslk jupyter protocol
<guso78k> basically its working, but of course you want to 3d view your targets in jupyer. and i was able to copy all relevant code from solidpython
<guso78k> this code works for origininal ipython3 kernel, but not for pythonscad kernel ...
Guest59 has joined #openscad
Guest59 has quit [Client Quit]
sparsh-n has joined #openscad
guso78k47 has joined #openscad
SparshN has quit [Quit: Client closed]
<gbruno> [github] kintel edited pull request #5701 (Squashed some clang-tidy warnings, slightly adjusted clang-tidy config) https://github.com/openscad/openscad/pull/5701
<gbruno> [github] kintel pushed 1 modifications (Use more modern yaml syntax) https://github.com/openscad/openscad/commit/5fe959c522cabca1c302eaa632b09370a9700948
<gbruno> [github] kintel synchronize pull request #5701 (Squashed some clang-tidy warnings, slightly adjusted clang-tidy config) https://github.com/openscad/openscad/pull/5701
<gbruno> [github] t-paul closed pull request #5694 (Python pr5) https://github.com/openscad/openscad/pull/5694
<gbruno> [github] t-paul pushed 3 modifications (Python: 2D and Extrude) https://github.com/openscad/openscad/commit/8d2a7e54c6177476594b06488a7b9f52746f10f7
foul_owl has quit [Ping timeout: 260 seconds]
guso78k47 has quit [Quit: Client closed]
<gbruno> [github] damienmarchal opened pull request #5704 (Fix issue #5695) https://github.com/openscad/openscad/pull/5704
<gbruno> [github] damienmarchal edited pull request #5704 (Fix issue #5695) https://github.com/openscad/openscad/pull/5704
<gbruno> [github] damienmarchal edited pull request #5704 (Fix issue #5695) https://github.com/openscad/openscad/pull/5704
<gbruno> [github] damienmarchal synchronize pull request #5704 (Fix issue #5695) https://github.com/openscad/openscad/pull/5704
guso78k has quit [Quit: Client closed]
<teepee> eh, I can: import pip ; pip.main() but it exits :)
<teepee> is there a way of catching those exits?
foul_owl has joined #openscad
sparsh-n has quit [Quit: Client closed]
bertronika has quit [Quit: Konversation terminated!]
sparsh-n has joined #openscad
<InPhase> teepee: You like hacky?
<teepee> no, if possible
<InPhase> teepee: import sys; _SAVE_EXIT_ = sys.exit; def NoExit(r=0): pass; sys.exit = NoExit
<InPhase> With proper indentation of course.
<InPhase> teepee: Well, pip.main is already specified as an internal mechanism that you should not call. ;) And it outputs a warning, "pip is being invoked by an old script wrapper. This will fail in a future version of pip."
<teepee> interesting, no exit but different output
<teepee> how do I do the -m pip from code?
<InPhase> teepee: Well, it's supposed to run in a separate python instance now. So that puts you into the subprocess with sys.executable zone. See: https://inventwithpython.com/blog/2022/08/25/how-to-run-pip-from-the-python-interactive-shell/
<teepee> meh
<InPhase> Uh, except for the update at the top of that which tells you to do the wrong thing?
<teepee> I like that so much more :)
<InPhase> It would be nice!
<InPhase> Not sure why they want you to funnel into a separate process.
<InPhase> Probably somebody was causing problems, and they were getting bug reports.
<InPhase> As you can see, it's easy to mess up python and break the behavior of something else.
<InPhase> There are lots of modifiable global things.
<InPhase> Sometimes this is good, but there are people who break stuff and blame the wrong party.
<teepee> I guess we need to find a reasonable way creating a venv with the included python
<teepee> good teaser https://imgur.com/ms681Tc ?
<InPhase> What's the broader context within which this is being done?
<InPhase> I guess setting up the venv for embedded python then.
<teepee> yes, we link libpython, so we *are* python
<InPhase> Oh... I see the issue.
<teepee> to support pip in a general way, we probably need the venv so we don't need to care what's on the system otherwise
<InPhase> That sounds like it might tread outside the beaten path. I need to make some dinner. I will think amidst this.
<teepee> cool, no hurry, that's all going to take a while to sort out I assume
<InPhase> Also, what happens if sys.exit is called from a .py file inside openscad?
<teepee> I'm off to bed soon anyway
<teepee> let me try :)
<InPhase> If it crashes, file under "told you so". lol