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
foul_owl has joined #openscad
GNUmoon2 has quit [Ping timeout: 240 seconds]
GNUmoon2 has joined #openscad
LordOfBikes has quit [Ping timeout: 268 seconds]
J23456469 has joined #openscad
J234564 has quit [Ping timeout: 245 seconds]
LordOfBikes has joined #openscad
peeps[work] has quit [Ping timeout: 248 seconds]
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon2 has joined #openscad
snaked has quit [Quit: Leaving]
srk has quit [Remote host closed the connection]
srk has joined #openscad
kintel has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee has joined #openscad
<gbruno> [github] kintel closed pull request #4622 (Add a manual build workflow) https://github.com/openscad/openscad/pull/4622
<gbruno> [github] kintel pushed 1 additions 5 modifications (Add a manual build workflow (#4622)) https://github.com/openscad/openscad/commit/7714032ac3e1bc097a9a42ce053ae8c4fe9e9e7d
snaked has joined #openscad
<gbruno> [github] kintel pushed 1 modifications (NULLGL fix) https://github.com/openscad/openscad/commit/49a7a14f55686b3785283d123872fa8139845c1e
<gbruno> [github] kintel synchronize pull request #4616 (More green offscreen refactoring) https://github.com/openscad/openscad/pull/4616
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
L29Ah has quit [Read error: Connection reset by peer]
TheCoffeMaker has quit [Ping timeout: 240 seconds]
phryk has quit [Quit: ZNC 1.8.2 - https://znc.in]
phryk has joined #openscad
TheCoffeMaker has joined #openscad
pbsds has quit [Quit: Ping timeout (120 seconds)]
pbsds has joined #openscad
guso785 has joined #openscad
<gbruno> [github] gsohler synchronize pull request #4601 (Python delivered in tiny bites) https://github.com/openscad/openscad/pull/4601
teepee has quit [*.net *.split]
GNUmoon2 has quit [*.net *.split]
califax has quit [*.net *.split]
caveman has quit [*.net *.split]
aiyion has quit [*.net *.split]
pharonix71 has quit [*.net *.split]
fling has quit [*.net *.split]
TheAssassin has quit [*.net *.split]
califax has joined #openscad
GNUmoon2 has joined #openscad
teepee has joined #openscad
aiyion has joined #openscad
TheAssassin has joined #openscad
pharonix71 has joined #openscad
fling has joined #openscad
caveman has joined #openscad
fling has quit [Max SendQ exceeded]
fling has joined #openscad
caveman has quit [Ping timeout: 240 seconds]
caveman has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
foul_owl has quit [Ping timeout: 268 seconds]
guso785 has quit [Quit: Client closed]
foul_owl has joined #openscad
Bebop182 has joined #openscad
guso781 has joined #openscad
L29Ah has joined #openscad
pie__ has quit [Ping timeout: 240 seconds]
pie_ has joined #openscad
guso78 has quit [Ping timeout: 245 seconds]
Bebop182 has quit [Quit: Client closed]
Bebop182 has joined #openscad
J23456469 has quit [Quit: Client closed]
J23456469 has joined #openscad
snaked has quit [Quit: Leaving]
guso781 has quit [Quit: Client closed]
Bebop182 has quit [Quit: Client closed]
kintel has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kintel has joined #openscad
Notkea has quit [Quit: Bridge terminating on SIGTERM]
xloem[m] has quit [Quit: Bridge terminating on SIGTERM]
mikolajw has quit [Quit: Bridge terminating on SIGTERM]
mfg[m] has quit [Quit: Bridge terminating on SIGTERM]
LinuxHackerman has quit [Quit: Bridge terminating on SIGTERM]
Cadair has quit [Quit: Bridge terminating on SIGTERM]
evils[m] has quit [Quit: Bridge terminating on SIGTERM]
Number3[m] has quit [Quit: Bridge terminating on SIGTERM]
guso78[m] has quit [Quit: Bridge terminating on SIGTERM]
agnes_de_lion[m] has quit [Quit: Bridge terminating on SIGTERM]
JordanBrown[m] has quit [Quit: Bridge terminating on SIGTERM]
anotherlucas[m] has quit [Quit: Bridge terminating on SIGTERM]
usop[m] has quit [Quit: Bridge terminating on SIGTERM]
BZK[m] has quit [Quit: Bridge terminating on SIGTERM]
isitaboat[m] has quit [Quit: Bridge terminating on SIGTERM]
Notkea has joined #openscad
guso78[m] has joined #openscad
mikolajw has joined #openscad
xloem[m] has joined #openscad
LinuxHackerman has joined #openscad
Cadair has joined #openscad
evils[m] has joined #openscad
Number3[m] has joined #openscad
usop[m] has joined #openscad
mfg[m] has joined #openscad
BZK[m] has joined #openscad
agnes_de_lion[m] has joined #openscad
isitaboat[m] has joined #openscad
anotherlucas[m] has joined #openscad
JordanBrown[m] has joined #openscad
J23456469 is now known as J23
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mechadense has joined #openscad
<gbruno> [github] kintel pushed 2 additions 18 modifications 2 removals (More green offscreen refactoring (#4616) * Use offscreen_old namespace, add makeCurrent(), move NULLGL out of offscreen-old) https://github.com/openscad/openscad/commit/43092e3aa93c0e76e5c91d14847548dd1add778a
<gbruno> [github] kintel closed pull request #4616 (More green offscreen refactoring) https://github.com/openscad/openscad/pull/4616
<gbruno> [github] kintel pushed 1 modifications (Don't require accelerated context, better error handling) https://github.com/openscad/openscad/commit/612673931d4e9966717aaa6d8922b566ce9d288c
<gbruno> [github] kintel synchronize pull request #4582 (Add new, more capable, offscreen classes) https://github.com/openscad/openscad/pull/4582
<mechadense> In OpenSCAD version 2023.05.04.ai15029 (git 7714032ac) it seems functions are not included via "use<>" or "include<>". I need that to make a reusable library. Any tipps?
kintel has joined #openscad
<gbruno> [github] kintel pushed 5 modifications (Turn off builtin OpenCSG for now) https://github.com/openscad/openscad/commit/b6fcc1affddf82e54b8b8a3b35271765b1baf0b8
<gbruno> [github] kintel synchronize pull request #4596 (Add OpenCSG as a submodule (optional).) https://github.com/openscad/openscad/pull/4596
<mechadense> Specifically these get not carried over it seems: function test1(x) = 2*x;
<mechadense> test2 = function(x) 2*x;
kintel has quit [Client Quit]
<mechadense> I have a gear/screw library with profiles and geometries defined after the fact, but want to use one of some standard profile functions in another file.
<mechadense> I can't pick profiled by just passing some strings describing the profiles (and using case of analysis) because I want to pass parameters too.
guso78 has joined #openscad
<InPhase> mechadense: Functions are included. Function references are not with use, but only with include.
<InPhase> mechadense: So test2 = function(x) 2*x; will only carry over with include. But function test2(x) = 2*x; would get carried over with both.
<InPhase> mechadense: The defining characteristic of the differences is that use only picks up functions and modules and not variables, and those assignment statement versions make a variable that refers to a function.
escherial has quit [Remote host closed the connection]
escherial has joined #openscad
<J23> mechadense  that is familiar https://www.printables.com/@mechadense_702445
<J23> btw  why is SCAD not recognizing if a library is used twice?
<InPhase> J23: Do you have a problem with code reuse?
<J23> I tried to split up  so  lib A is used by lib B  but if  i include  A and B  then A is executed twice (at least the echos)
<mechadense> I had no luck with include either.
<J23> mechadense include should work
<J23> \me thinks .oO time to update for me
<mechadense> Just re-checked, cleared console, it gives: function test1(x) = 2*x;
<mechadense> test2 = function(x) 2*x; and same for test2
<mechadense> oops incomplete
<mechadense> WARNING: ignoring unknown function before both
<mechadense> using include<...>
<J23> that is in 2023.05.04  only?
<J23> what does   ```echo(test2);``` give
<mechadense> 2022.05.15 too
<J23> maybe add an echo("libX");  in your library just to ensure it is really included
<mechadense> WARNING: Ignoring unknown variable 'test2' in file
<J23> maybe you including a library with the same name but from a different location without that function
<J23> as libraries can be used from the acual folder, user and system
<mechadense> Well all the geometry carries over so it's definitely included.
<J23> i am (and other) using functions a lot and using all  sort of versions .. so if it is not a bug in the most recent one - i think i would have noticed if such an elementary function stopped working
drfff has quit [Ping timeout: 240 seconds]
<mechadense> RESOLVED classic i remaned the dependency but chaned only a bit there. Sorry to steal your time for that and THANKS!!
<J23> no problem .. glad it could be solved
<J23> (and glad you asked here and didn't open an issue Ü )
J23 has quit [Quit: Client closed]
J23 has joined #openscad
mechadense has quit [Quit: Client closed]
L29Ah has quit [Ping timeout: 268 seconds]
guso78 has quit [Quit: Client closed]
peeps[work] has joined #openscad
peeps[work] has quit [Quit: Leaving]
peeps[work] has joined #openscad
guso78 has joined #openscad
guso7842 has joined #openscad
guso78 has quit [Client Quit]
<joseph_> teepee kintel: Supposedly the GSoC decisions have been released now. But there appear to be technical difficulties with Google's site because login attempts return "something went wrong." Perhaps it is from everyone trying to check the results simultaneously.
<teepee> yep, #gsoc is a flurry of activity right now :)
<teepee> I guess the easy option is waiting for the email
<joseph_> teepee I didn't even know there was a different IRC channel for GSOC. I think I've set up all my clients to only show this channel
<teepee> it's not that used anymore, the early group of google admins actively used it but that stopped when the team changed a couple of years ago
<teepee> now and in addition due to the freenode->libera move it's just a small one kept alive by some of the regular mentors
<joseph_> Thank you for clarifying. I believe I misunderstood the IRC topology. At first I thought the flurry of #gsoc activity was all for OpenSCAD applicants which didn't make sense. In Slack, which I am familiar with from my university courses, different "servers" are generally assigned for different purposes and there can be multiple channels per organization. But it seems like many OSS orgs share just one Libera server.
<joseph_> And I now have an email saying that my GSoC proposal was accepted!
<teepee> yep, there's hundreds of oss projects having chanels here
<guso7842> InPhase, i just looked into the source code openscad use statment. it appears to accept far more but only scad files. there are also otf and ttf which seem to  be fonts for text statement ...
<teepee> yep it registers fonts as the normal font usage is always by name not by path
<guso7842> i like to concept! is it possible to use serveral differwent l fonts in parallel ?
<teepee> you can use all (vector fonts) that the built-in fontconfig knows about, on linux the list is shown via fc-list
<teepee> all "installed" fonts are there anyway
<teepee> use is only needed for fonts that are shipped with the project and are not necessarily installed
<guso7842> did not know fc-list, but its output i huge
<guso7842> and in text() command you select the font by e.g. script="Cantarell-ExtraBold" ) ?
<teepee> font=""
<teepee> that parameter basically is a fontconfig query so in theory you can put in a full query like fc-query uses
<teepee> it's probably better to keep that limited, is a bit of an API leak
<guso7842> I actually blindly thought, that use can use process scad  files. if I know that option/idea before, i did not  have to go the long way and coding an extra "texture" command in src/core/Expression.cc
<guso7842> .. that use can process scad files only ....
L29Ah has joined #openscad
<guso7842> teepee, apparently you are the very expert on text() command as you finally got it inserted into openscad. so many people use it :)
<teepee> so it is written in the openscad history books ;-)
<guso7842> at least its written in the github "history"  but very likely the information got more popular
<guso7842> background was, that inphase was brainstorming on how to best mix openscad with python lanaguage, so python could calculate subresults which openscad would assemble to the final result. now looking into the implementation of "use" keyword , this appears  to be a  very promising concept, when supporting "python" file type next to fft and otf.
Guest82 has joined #openscad
Guest82 has quit [Client Quit]
<guso7842> question is just how to make the best link of python solids to module children and python numbers to openscad function results.
<teepee> yeah, interesting question, at least some interaction between the languages would be great
<teepee> but I'm not yet sure what the best strategy for that is
<guso7842> i vote for including them by "use"   ....
<teepee> yes, that seems the natural way
<teepee> but we still need some way of actually calling things and returning geometry or values
<teepee> I don't have a good feeling how complex that is
<guso7842> is openscad content included with "use" inserted into the openscad main script during "use" time or later when their functions are actually needed
<teepee> it's parsed and stored as a separate module
<teepee> so lookup for things will find it in the outer script
<guso7842> i think: each python function included with "use" should be marked as "returns solid" or "returns other.  it should have the same effect as defining a openscad function or defining an openscad module.
<teepee> yeah, so we need to put some sort of wrapper into the parsed result
<guso7842> the "lookup module name" function needs to be extended
<guso7842> i presume such function exists
<teepee> yes, for modules and functions
<teepee> although that covers only the old style functions
<guso7842> what is the difference between "old style functions" and  more recent version ?
<guso7842> std::shared_ptr<AbstractNode> LocalScope::instantiateModules
<teepee> old functions have their own namespace, so you can have all three, a variable, a module and a function with the same name
<guso7842> probably i have to extend this one here ..
<guso7842> haha, thats funny. best environment to write obfuscate code ...
<Lagopus> What is a good way to make a helix with a cylindrical wire?
<Lagopus> linear_extrude(... twist = 360 ... ) circle ( ... ) is uncomfortably flat
<Lagopus> linear_extrude()translate()circle() *
guso7842 has quit [Ping timeout: 245 seconds]
joseph_alt has joined #openscad
joseph_alt has quit [Client Quit]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
<peeps[work]> Lagopus: like this? https://www.thingiverse.com/thing:1098806
peeps[work] has quit [Ping timeout: 248 seconds]
<Lagopus> yes actually
<Lagopus> oh, I see what I think you are thinking
<Lagopus> take the stl and stretch / crop it
<Lagopus> peeps[work]: you are a genius
<Lagopus> hmm, it still may be a bit too flat when stretched to the proper dimensions, but it's better than what I currently am facing
kintel has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<peepsalot> Lagopus: not sure what you mean about "too flat", like too low poly? also there's no manipulation of an STL involved, just an cross section outline path
<Lagopus> to be brief, looking to make an inner threading for a cap, extruding the circle doesn't give the threads enough substance but I have a few ideas to correct some things.
<peepsalot> generating threads is a whole other problem, typically triangular profile an not circular
<peepsalot> there are a number of libraries specifically for making threads already though
<peepsalot> like this one from InPhase https://github.com/rcolyer/threads-scad
<InPhase> That one is not the most flexible thread library for choosing different thread profiles other than triangular, but it gives very efficient results with the full thread as one polyhedron, it handles tolerances properly, and it gets improved fits by tapering the end of the outer threads in a bit so they insert smoothly.
<InPhase> I have thought about writing a version that takes an arbitrary cross-section profile, but it is hard to merge that with the other design goal I had of perfectly aligning the triangulation with the edges to maximize smoothness of the turning.
snaked has joined #openscad