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
ali1234 has joined #openscad
ali1234 has quit [Client Quit]
ali1234 has joined #openscad
<sidilakies> is there a way to set the render to a gpu
<sidilakies> not that it's important yet, or ever will be for me.
<InPhase> sidilakies: No. But if you're asking that question, you're probably using the last release instead of manifold in the nightly release.
<InPhase> sidilakies: It is so much faster that no one using Manifold is asking about gpu's anymore. :)
J24k55 has quit [Quit: Client closed]
J24k55 has joined #openscad
<sidilakies> no, I was just reading some posts on reddit, and just curious, but I downloaded and installed opencad about a week ago. I have version 2021.01 , is that the newest, I installed through apt on linux mint
<sidilakies> and do I have to activate manifold?
<sidilakies> I found it on github, that is the latest
J24k57 has joined #openscad
J24k55 has quit [Ping timeout: 250 seconds]
snaked has joined #openscad
LordOfBikes has quit [Ping timeout: 255 seconds]
LordOfBikes has joined #openscad
Smeef has quit [Ping timeout: 268 seconds]
RonRN18 has joined #openscad
<RonRN18> I am having difficulty with a design I am trying to make. My intent is to inlay, or place an SVG-based logo as a void, to the top surface of my object. I have a variable I call "tz" as my top surface. I wish to center my logo to an X-value of zero. I already have another void in the top surface so my Y-value is a negative number that I'm still
<RonRN18> trying to adjust. I wish the logo to be about 2 mm from the surface. My object has several nested differences and unions of parts but my call for placing the logo is in the last line of the outermost difference. The line I have is currently: [ translate([0,-20,(tz-2)]) linear_extrude(height = 2, center = true)import("logo.svg"); ]
<RonRN18> I have several problems with this. First off, the logo appears to start at an X-value of zero as opposed to centered on the X-value of zero. The other issue is, even if I start playing with the translation X-value to try to eyeball centering the logo, it looks find until I render the design. When I render the design, instead of subtracting the logo
<RonRN18> from the top surface, I end with an error saying: "ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron."
qeed has quit [Quit: qeed]
gbruno_ has joined #openscad
gbruno_ has quit [Changing host]
gbruno_ has joined #openscad
phryk_ has joined #openscad
ndnihil_ has joined #openscad
ndnihil_ has quit [Changing host]
ndnihil_ has joined #openscad
knielsen_ has joined #openscad
ndnihil_ is now known as nihil
nihil is now known as ndnihil_
ndnihil_ has quit [Client Quit]
ndnihil_ has joined #openscad
ndnihil_ has joined #openscad
ndnihil_ has quit [Changing host]
milkandtang has joined #openscad
arogora has joined #openscad
jan64 has quit [*.net *.split]
knielsen has quit [*.net *.split]
phryk has quit [*.net *.split]
foul_owl has quit [*.net *.split]
killjoy has quit [*.net *.split]
Wolf480pl has quit [*.net *.split]
gbruno has quit [*.net *.split]
ndnihil has quit [*.net *.split]
fardog has quit [*.net *.split]
gbruno_ is now known as gbruno
arogora is now known as killjoy
killjoy has joined #openscad
killjoy has quit [Changing host]
RonRN has joined #openscad
Wolf480pl has joined #openscad
qeed has joined #openscad
foul_owl has joined #openscad
ndnihil_ is now known as nihil
nihil is now known as ndnihil
kintel has joined #openscad
qeed_ has joined #openscad
redlizard_ has joined #openscad
jaredo_ has joined #openscad
qeed has quit [Read error: Connection reset by peer]
pa has quit [Ping timeout: 260 seconds]
pah_ has joined #openscad
lostapathy2 has joined #openscad
dTal_ has joined #openscad
<kintel> RonRN Try enabling Manifold, that should be a bit more robust for SVG imports
redlizard has quit [Ping timeout: 240 seconds]
<kintel> Does anyone else experience a crash when rendering examples/Advanced/GEB.scad with Manifold enabled?
berndj-blackout has joined #openscad
tcurdt has joined #openscad
castaway_ has joined #openscad
foul_owl has quit [*.net *.split]
Wolf480pl has quit [*.net *.split]
Virindi has quit [*.net *.split]
dostoyevsky2 has quit [*.net *.split]
splud has quit [*.net *.split]
Fleck has quit [*.net *.split]
Pegazusao`z has joined #openscad
Pegazusao`z has left #openscad [#openscad]
dTal has quit [*.net *.split]
jaredo has quit [*.net *.split]
ccox has quit [*.net *.split]
Ekho has quit [*.net *.split]
gonkulator has quit [*.net *.split]
lostapathy has quit [*.net *.split]
berndj has quit [*.net *.split]
castaway has quit [*.net *.split]
tcurdt- has quit [*.net *.split]
jaredo_ is now known as jaredo
berndj-blackout is now known as berndj
gonkulator has joined #openscad
Ekho has joined #openscad
Fleck has joined #openscad
Wolf480pl has joined #openscad
dostoyevsky2 has joined #openscad
Virindi has joined #openscad
ccox has joined #openscad
foul_owl has joined #openscad
splud has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<J24k57> kintel yes crashed 2024.05.11  (preview and render causing crash) - it is the "DarkMagenta"  part causing it
<J24k57> Kintel `projection() rotate([-90.1,0,0]) GEB(); ` // this prevents the crash
<J24k57> even weirder `projection() rotate([90,0,0]) GEB();`  this works too
<J24k57> which should make no difference for the projecton()s result
<J24k57> mirror([0,1])rotate([90,0,0])  also an option
<J24k57> scale(-1)  also prevents the crash .. translations did not
<J24k57> (scale and mirror are probably the same multmatrix operation)
<InPhase> kintel: Same here as what J24k57 reports.
<InPhase> 2024-05-06 build.
<InPhase> kintel: Maybe the examples should be in the tests. ;)
<InPhase> Aside from catching a few more things, we'd avoid the embarrassment of official examples that suddenly don't work.
<peeps[zen]> i'm sure i've seen GEB and a sampling of other examples in the full test suite, maybe just not in the default set of tests
foul_owl has quit [Ping timeout: 264 seconds]
foul_owl has joined #openscad
TheCoffeMaker has quit [Excess Flood]
TheCoffeMaker has joined #openscad
teepee_ has joined #openscad
guso78k has quit [Quit: Client closed]
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
snakedGT has joined #openscad
snaked has quit [Ping timeout: 268 seconds]
qeed has joined #openscad
qeed_ has quit [Ping timeout: 268 seconds]
TheCoffeMaker has quit [Excess Flood]
mohammad1722 has joined #openscad
mohammad1722 has quit [Client Quit]
TheCoffeMaker has joined #openscad
jan64 has joined #openscad
TheCoffeMaker has quit [Excess Flood]
TheCoffeMaker has joined #openscad
qeed_ has joined #openscad
qeed has quit [Ping timeout: 264 seconds]
RonRN18 has quit [Ping timeout: 250 seconds]
mohammad1722 has joined #openscad
califax has quit [Ping timeout: 260 seconds]
califax has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
mohammad1722 has quit [Ping timeout: 250 seconds]
pah_ is now known as pa
pa has quit [Changing host]
pa has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
fling has quit [Remote host closed the connection]
graham_ has joined #openscad
fling has joined #openscad
<graham_> /help -l
graham_ has quit [Quit: Leaving]
RonRN has quit [Ping timeout: 268 seconds]
graham_ has joined #openscad
graham_ has quit [Client Quit]
<J24k57> oh graham_
kintel has joined #openscad
<kintel> Thanks for testing, updated https://github.com/openscad/openscad/issues/5137
<gbruno> [github] kintel edited issue #5137 (Crash when rendering examples/Advanced/GEB.scad with Manifold) https://github.com/openscad/openscad/issues/5137
<kintel> It looks like a bug in Clipper2, used by Manifold
<gbruno> [github] kintel edited issue #5137 (Crash when rendering examples/Advanced/GEB.scad with Manifold) https://github.com/openscad/openscad/issues/5137
<kintel> I'll try to come up with a minimal example and open a manifold issue
<kintel> ..and yes, we should run examples on the CI, at least on the master branch on a regular basis
kintel has quit [Client Quit]
* InPhase nods.
<InPhase> Yeah, it's running on the CI that would have caught that ahead of time.
<InPhase> Catching it early makes it easier to spot which change did it.
<InPhase> Also, shame shame shame to whichever component is triggering a crash instead of an error message. :)
pa has quit [Ping timeout: 256 seconds]
pah has joined #openscad
pah has quit [Changing host]
pah has joined #openscad
pah is now known as pa
<J24k57> .oO no error reported - it's all fine
L29Ah has quit [Read error: Connection reset by peer]
phryk_ is now known as phryk
ExAussie has joined #openscad
<ExAussie> Where can i find how to put text on a cylinder.
<ExAussie> Hallo I'm new here and I don't know how to ask questions in the correct way. Excuse me.
<J24k57> Ok seems we are going from "stl please" ↦ straight to "step please"
<J24k57> ExAussie you already found the right way
aiyion3 has quit [Remote host closed the connection]
<J24k57> the answer may not be so simple though
<jan64> I'd say asking a question is better than asking if you can ask a question :P
<jan64> yeah, the code above seems to mimick it by rotating stuff and then doing a bunch of intersections
aiyion3 has joined #openscad
<jan64> which is... ugh
<jan64> but not going to judge too much if it works
<J24k57> I would use letters around the cylinder intersecting with a slightly bigger cylinder  (with textmetrics you also can have correct distances) my lib has a module for that
<J24k57> ExAussie check this https://pastebin.com/a7Htze4N
ExAussie has quit [Quit: Client closed]
<jan64> F
<jan64> that being said, neat
<J24k57> F?
<jan64> the guy just disappeared, potentially before seing the proper answer
<J24k57> oh .. well its in the log now if he is returning
<jan64> ¯\_(ツ)_/¯
<J24k57> i have a function that can actually bend points around a cylinder .. but you need the text as 3D points
<J24k57> and for printability you want chamfer (roof) too
ExAussie has joined #openscad
<gbruno> [github] kintel pushed 3 additions (Add failing test case for #5137) https://github.com/openscad/openscad/commit/1e9ce8be35bd8d427cc8cbaa25368365ff5b88e9
<gbruno> [github] kintel opened pull request #5139 (Add failing test case for #5137) https://github.com/openscad/openscad/pull/5139
<gbruno> [github] kintel closed pull request #5139 (Add failing test case for #5137) https://github.com/openscad/openscad/pull/5139
<gbruno> [github] kintel pushed 3 additions (Add failing test case for #5137 (#5139)) https://github.com/openscad/openscad/commit/f35972f726a840065acaa54549bd406a89664867
<ExAussie> Hallo gbruno, Sorry its all Greek to me. I'M Just a starter with OpenScad and also 78 so things don't learn that fast.
<jan64> ExAussie, that's just a notification bot for unrelated things
<jan64> if you haven't seen it, J24k57 posted a nice solution https://pastebin.com/a7Htze4N
<J24k57> ExAussie maybe start with the tutorial
<J24k57> tutorial!
<othx> tutorial is The OpenSCAD tutorial is a great place to learn how to create designs in OpenSCAD, and can be found at: https://en.wikibooks.org/wiki/OpenSCAD_Tutorial
<J24k57> openSCAD can be bit intimidating if you  are not used to code - but it can do great things if you lean into it.
<J24k57> and we are here to guide and accompany you if you like…
<J24k57> maybe start with a letter `linear_extrude(1)text("E",size=10);`
<ExAussie> I have had a look at some of the tutorials bus never found one that uses the exact width of letters.
<J24k57> there is a lot math involved as you need to calculate the distance for that radius and the width of that letter .. textmetrics() will give you the size of the letter
<J24k57> as this is font, size and text dependent to get correct spacing you need to calculate the position for each letter from the start of the text
<ExAussie> where is textmetrics() to be found.
<J24k57> that said using a library may be easier - or you will have quite a steep learning curve ahead ..
<J24k57> if you install the nightly dev build  (some version 2024)  you can activate this in preferences↦features
<ExAussie> I'm a pensionado and have all the time in the world. I have seen a lot of Libraries on the site but have not used one yet. Only the cheat sheet and the Manual parts when you click on the cheat sheet.
<J24k57> So for the word "Test"  you need to calculate the position of "T" "Te" "Tes" "Test" to place each letter correctly
<J24k57> Libraries https://openscad.org/libraries.html  are  just scad scripts that are loaded with `include<library.scad>` at the beginning of your script. So you can use the modules/functions defined in that library
<J24k57> therefor you need to download the library and copy into a library folder - or have in the same folder as your script is saved
<J24k57> https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries   ( teepee might be a good idea to link that on the libraries page or?)
<ExAussie> I will start the learning curve, but believe me this one will not be steep, If I need you in the future how do i get in touch with you? Anyway thanks for the moment.
<ExAussie> By the way what is "nightly dev build"?
<J24k57> just shout here .. normally ill see that ..
<J24k57> dev team is compiling a version of current dev status nearly every day
<J24k57> you also find me as author of ub.scad
<J24k57> ExAussie if you add J24k to your msg i should get an alarm (if i am online/logged in here)
L29Ah has joined #openscad
<ExAussie> J24k57, what is ub.scad. You got me interested now.
<J24k57> that is a library
<ExAussie> and where d oi find it.
<J24k57> that i made because i am lazy and don't like to repeat and search solutions for things i already solved
<J24k57> https://openscad.org/libraries.html   5th from top
<ExAussie> I want to be lazy to
<J24k57> either start your own lib or use the libs from others .. using others had the disadvantage that you need to learn how to use them
<J24k57> i put some help into my modules  so you get some info how to use it
<ExAussie> Impressive,
<J24k57> also most modules work out of the box
<ExAussie> I'm going to look at it so bye for now.
<J24k57> cheers mate
<ExAussie> how do you log out?
<J24k57> just close the window if you use irc via browser  or /quit
ExAussie has quit [Quit: Client closed]
* J24k57 just ignores the tab
lostapathy2 has quit [Quit: WeeChat 3.5]
lostapathy has joined #openscad
erectus has quit [Ping timeout: 260 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
erectus has joined #openscad
snakedGT has quit [Quit: Leaving]
<buZz> it would be kinda nice to have something like 'directives' in the .scad
<buZz> where you can just say with 1 instruction that all cubes are centered
<buZz> preventing the need to specify later
ali1234 has quit [Remote host closed the connection]
ali12341 has joined #openscad