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
<gbruno> [github] kwikius synchronize pull request #4367 (ModuleLiterals: making openSCAD modules first class.) https://github.com/openscad/openscad/pull/4367
<InPhase> linext_: 404 on that last link.
<linext_> strange, it works for me
<linext_> i'll upload it somewhere else
<linext_> maybe it's only for my session because it's in a tmp folder
<InPhase> Likely.
<gbruno> [github] thehans closed pull request #4387 (Disable excessive "GL Deprecated" messages for mac builds.) https://github.com/openscad/openscad/pull/4387
<gbruno> [github] thehans pushed 2 modifications (Merge pull request #4387 from thehans/no_gl_warn Disable excessive "GL Deprecated" messages for mac builds.) https://github.com/openscad/openscad/commit/66818d176c506ca6a9fea6cd1909a183fbaf4044
<InPhase> linext_: Pretty nice. Maybe a calendar entry. :)
<InPhase> linext_: Although you have the timing off on the last 3 frames.
<InPhase> 400ms for all then 600ms then two with 200ms.
<linext_> ah
<linext_> must be the formula i used
<InPhase> It doubled up frames for some reason.
<InPhase> It's 60 frames for 31 entries.
<InPhase> Although a 62 frame version that goes up and down and up might be neat.
<linext_> $fn = floor($t*100)+2;
<InPhase> Ah.
little_blossom has quit [Ping timeout: 248 seconds]
<linext_> if i set fps to 40 and steps to 100, it's one frame per $fn change
<linext_> i think...
<InPhase> $fn = round(2*abs($fn-0.5)*31)+2 and steps to 31.
<InPhase> err
<InPhase> steps to 62.
<InPhase> Crap. $t in the middle there instead of $fn. :)
<InPhase> This is why testing helps!
<linext_> i should add a pastebin with update functionality to 3dcustomizer.net
<InPhase> Oh, and rounding bumped it to 33.
<InPhase> I've duplicated your problem. I'm getting doubled up frames at 17. *ponder*
<InPhase> Of course, because it's not 62 frames. Math.
<InPhase> $fn = round(2*abs($t-0.5)*30)+2; and 60 steps.
GNUmoon has quit [Ping timeout: 258 seconds]
little_blossom has joined #openscad
<InPhase> linext_: The effect is improved with: rotate([0,0,-90])body();
<InPhase> linext_: Then the poly expansion is outward from the nose axis. :)
GNUmoon has joined #openscad
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
<gbruno> [github] kwikius synchronize pull request #4367 (ModuleLiterals: making openSCAD modules first class.) https://github.com/openscad/openscad/pull/4367
<gbruno> [github] kwikius synchronize pull request #4367 (ModuleLiterals: making openSCAD modules first class.) https://github.com/openscad/openscad/pull/4367
<gbruno> [github] thehans closed pull request #4371 (linear_extrude slices calculation) https://github.com/openscad/openscad/pull/4371
<gbruno> [github] thehans pushed 1 modifications (linear_extrude slices calculation (#4371) * linear_extrude slices calculation: non uniform scale with twist uses max of twist and non uniform scale) https://github.com/openscad/openscad/commit/484f3c670bc9a2a35351af915fbe2f3b68462166
LordOfBikes has quit [Ping timeout: 260 seconds]
grymzu has quit [Ping timeout: 264 seconds]
LordOfBikes has joined #openscad
grymzu has joined #openscad
J1A8434 has joined #openscad
J1A84 has quit [Ping timeout: 244 seconds]
snaked has quit [*.net *.split]
redlizard has quit [*.net *.split]
Cadair has quit [*.net *.split]
paddymahoney has quit [*.net *.split]
clemens3 has quit [*.net *.split]
rvt has quit [*.net *.split]
Xeha has quit [*.net *.split]
othx has quit [*.net *.split]
Joel has quit [*.net *.split]
Fleck has quit [*.net *.split]
othx has joined #openscad
othx has joined #openscad
othx has quit [Changing host]
paddymahoney has joined #openscad
redlizard has joined #openscad
clemens3 has joined #openscad
Xeha has joined #openscad
rvt has joined #openscad
snaked has joined #openscad
Cadair has joined #openscad
Joel has joined #openscad
Fleck has joined #openscad
rawgreaze has quit [Ping timeout: 260 seconds]
rawgreaze has joined #openscad
ur5us_ has quit [Ping timeout: 248 seconds]
qeed has quit [Quit: qeed]
qeed has joined #openscad
ur5us has joined #openscad
ur5us has quit [Ping timeout: 246 seconds]
KimK_ has joined #openscad
KimK has quit [Ping timeout: 264 seconds]
ur5us has joined #openscad
lastrodamo has joined #openscad
ur5us has quit [Ping timeout: 260 seconds]
fling has quit [Remote host closed the connection]
fling has joined #openscad
castaway has joined #openscad
HansLoeblich[m] has quit [Quit: You have been kicked for being idle]
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
KimK_ has quit [Quit: Leaving]
TheAssassin has quit [Ping timeout: 258 seconds]
TheAssassin has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
GNUmoon has quit [Ping timeout: 258 seconds]
GNUmoon has joined #openscad
GNUmoon has quit [Remote host closed the connection]
snaked has quit [Ping timeout: 248 seconds]
teepee has quit [Ping timeout: 258 seconds]
teepee has joined #openscad
GNUmoon has joined #openscad
Guest59 has joined #openscad
<Guest59> hi to all
<Scopeuk> Hi
<Guest59> I discovered openscad just today and right now I am trying to follow documentation
<Guest59> a client of mine requested a feature for a project which I developed for him
<Guest59> the request is adding a 3d text to a proper place on .stl design object
<Guest59> by proper I mean a flat surface and big enough to place this text so that ıt can be distinguished from others after producing it in 3d printers
<Guest59> is there anyone which can direct me to a close way ?
<buZz> hi
<buZz> editting .stl in openscad isnt really recommended
<buZz> its not really a object editor
<buZz> but, you can try, make sure the vertices arent on the same position
<buZz> import("bla.stl"); linear_extrude() { text("openscad"); }
<buZz> afaik
<buZz> just put rotate() and translate() before the linear_extrude to place it in right position
<buZz> Guest59: ^
KimK has joined #openscad
<J1A8434> cutting the text from the bottom may be also possible
J1A8434 is now known as J1A84
<Guest59> thank you for your reply, I will follow examples and maybe after, it will make sense for me.
<Guest59> I think the first thing I should do to determine this suitable flat surface on .stl object
<buZz> Guest59: just realize that openscad -can- import stl but its not really as useful as say, blender, for editting .stl
<J1A84> cheatsheet!
<othx> cheatsheet is https://www.openscad.org/cheatsheet/ for the release version and https://www.openscad.org/cheatsheet/snapshot.html for the development snapshot versions
<Guest59> it should be programatically of course
<Guest59> I have found information about blender on my google search
<buZz> Guest59: yeah, replacing the .stl with a remake in native openscad code will work better
<J1A84> if it is always the same name you can check for a tool that merges stl
<J1A84> i am not sure if import accept variables when calling from command line
<Guest59> yes I will need to merge 2 stls in the end
fling has quit [Remote host closed the connection]
<Guest59> for example is there way to determine flat or close to flat surfaces on a 3d object in openscad ?
<Guest59> I know it is not easy but maybe there might be a way
fling has joined #openscad
<J1A84> import works with variables ..   just seems multi object files are a problem
<buZz> Guest59: import("bla.stl); and turn on 'edges' in openscad , you'll see a wireframe over it :)
<buZz> if there's no triangles on a surface (or just one or two) its usually flat
<Guest59> yes exactly buZz, this is the way I should follow I guess
<J1A84> Guest59 there is no way to automatically align text to on imported stl object   ..  you can use resize to get the size put  nothing for rotation and translation
<J1A84>  you could intersect the text with a little scaled imported object ..  so the text will protrude equal without a flat surface
<J1A84> you also could create a flat surface for the text on the object
<Guest59> thanks for your replies, I will learn more about openscad and come here alter, cos right now I cant even follow the logic.
<Guest59> see you soon
<Guest59> :)
epony has quit [Quit: QUIT]
<J1A84> Guest59 https://bpa.st/VCPQ
<J1A84> just copy this into open scad and press F5
<Guest59> thanks a lot
<Guest59> can "Name" be on top of the sphere instead of inside ?
<J1A84> just translate([0,0,5]) Name();  to move it 5 up
<Guest59> moreover can I detect that there is a kind of flat surface on top of this sphere somehow and place this name to that place which I detected programatically
<Guest59> ?
<buZz> no, you cannot detect anything
<J1A84> with known objects yes but an imported object is unknown for openScad .. with resize you may be able to get the  size but this only  can help if the stl is centered
<J1A84> (and resize would change the size of your stl to something known )
<J1A84> ..  what buZz said Ü
<Guest59> I got it
<Guest59> I thought maybe I can find tools to detect this flat surface on this unknown object
<Guest59> then combine this text and the object
<J1A84> you can parse the stl .. and then call openscad with that values to move the text
<Guest59> I should read each function in documentation and think over them whether they can be used for such purpose or not
<J1A84> for now there is no feature in openscad to make this
<Guest59> yes traversing each triangle on stl object might be a good start
<J1A84> but if you cut the text from the bottom .. and assuming that all printable models have a flat bottom - may work
<Guest59> models dont have flat bottom, it would be nice if they have but no
<Guest59> can we upload an image here ?
<J1A84> paste!
<Guest59> from turkey I cant sign up for imburg
<Guest59> I did it
<Guest59> the 3d files are like this
<Guest59> finding a flat surface on them wont be easy I guess
<J1A84> it depends on the size ..
<J1A84> but that is why i showed you the option to create a "plateau" for the text
<J1A84> but if you have an algorithm that detects flat areas  -  the text will end up in a strange orientation  to fit
<Guest59> yes I should also detect the suitable orientation
<Guest59> and yes it should fit there
<J1A84> or add the text free floating
fling is now known as narrator
<Guest59> because of the fact that this object will be cleaned off from this text after production I shouldnt modify the 3d object a lot
<Guest59> this text will be used just to distinguish this 3d object among others after production so it will be removed after production
<Guest59> my clinet has huge 3d printers which can 3d print maybe 50 objects like the ones I sent in the image
<Guest59> I should leave now, thanks a lot for your replies, I hope I can help you too in the future somehow
<Guest59> take care.
<J1A84> maybe use a tag to break of
<J1A84> f
<J1A84> normally  a cage with a name tag is printed around objects
<J1A84> (to keep multiple objects from one users in printjobs together)
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
Guest59 has quit [Quit: Client closed]
SamantazFox has joined #openscad
J1A84 has quit [Quit: Client closed]
J1A84 has joined #openscad
qeed_ has joined #openscad
qeed has quit [Ping timeout: 268 seconds]
LordOfBikes has quit [Quit: Ex-Chat]
LordOfBikes has joined #openscad
J1A844 has joined #openscad
Guest142 has joined #openscad
J1A84 has quit [Ping timeout: 244 seconds]
Guest142 has quit [Quit: Client closed]
neur0 has quit [Quit: ZNC 1.8.2 - https://znc.in]
neur0 has joined #openscad
paddymahoney has quit [Ping timeout: 248 seconds]
narrator has quit [Remote host closed the connection]
fling has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee has joined #openscad
<gbruno> [github] C0rn3j opened issue #4388 (Feature request: Support JPEG XL (.jxl) for exports) https://github.com/openscad/openscad/issues/4388
paddymahoney has joined #openscad
fling has quit [Ping timeout: 258 seconds]
fling has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee has joined #openscad
ur5us has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
<J1A844> JPEG XL  would work for animations too
<teepee> the library is not available anywhere except linux
<Scopeuk> https://github.com/libjxl/libjxl appears to give information on building on msys2, no idea if it's any good
<Scopeuk> I guess also probably not a huge priority unless someone who wants it takes the mantlew
<teepee> being able to build is only a small part, I don't want to maintain more stuff so being in the official repos is very helpful
lastrodamo has quit [Quit: Leaving]
<peepsalot> I've decided once again to try to reduce compiler warnings in our project. maybe even down to 0 this time!
<peepsalot> currently i'm not sure the best way to handle these overloaded-virtual warnings I get from clang: https://bpa.st/QK6Q
<peepsalot> they take different parameter types from the base which they overload
<peepsalot> would it be best to give each signature a unique function name?
epony has joined #openscad
castaway has quit [Ping timeout: 252 seconds]
fling has quit [Ping timeout: 258 seconds]
fling has joined #openscad
<JordanBrown[m]> Yet another C++ beginner question: how do these hide the inherited method? I thought that in C++ the argument list was part of the “name” of the method, that you could have two methods with the same name and different argument lists.
<peepsalot> something like parameters don't count as part of name for inherited functions. i found this explanation https://isocpp.org/wiki/faq/strange-inheritance#hiding-rule
<peepsalot> it also recommends how to fix it, so I'll try that too `using Base::f;` :)
<peepsalot> ok, got it sorted. now its mostly just a couple dozen "warning: comparison of integer expressions of different signedness"
fling has quit [Remote host closed the connection]
fling has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad