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
<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.
<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
<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.