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
fling has quit [Remote host closed the connection]
califax has quit [Remote host closed the connection]
califax has joined #openscad
fling has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
peeps[work] has quit [Remote host closed the connection]
pie_ has quit [Remote host closed the connection]
stefanct has quit [Excess Flood]
stefanct has joined #openscad
MatrixBot1234516 has quit [Ping timeout: 245 seconds]
MatrixBot1234516 has joined #openscad
peeps[work] has joined #openscad
pie_ has joined #openscad
J24k73 has joined #openscad
LordOfBikes has quit [Ping timeout: 246 seconds]
J24k94 has quit [Ping timeout: 250 seconds]
erectus has quit [Remote host closed the connection]
LordOfBikes has joined #openscad
erectus has joined #openscad
ferdna has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
<gbruno> [github] kintel edited issue #4851 (PolySet needs cleanup) https://github.com/openscad/openscad/issues/4851
snaked has joined #openscad
<gbruno> [github] kintel closed pull request #4932 (Add convenience methods addVertex/prependVertex taking Vertex3d) https://github.com/openscad/openscad/pull/4932
<gbruno> [github] kintel pushed 12 modifications (Add convenience methods addVertex/prependVertex taking Vertex3d (#4932)) https://github.com/openscad/openscad/commit/ffafe74259aac68ee2bc2782dda162aaa577109c
<JordanBrown> teepee (sorry, real work intruded :-) so the 3mf stuff that PrusaSlicer added was important to figuring out object topology, versus being something unrelated like slicing parameters?
<teepee> it looks like they dump a couple of prusaslicer files into the metadata folder
califax has quit [Remote host closed the connection]
fling has quit [Remote host closed the connection]
califax has joined #openscad
fling has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
Reisga2 has quit [Quit: The Lounge - https://thelounge.chat]
Reisga2 has joined #openscad
drkow has joined #openscad
drfff has quit [Ping timeout: 268 seconds]
<J24k73> i wouldn't wonder if that has to do with their modification by negative elements - as the 3mfs outside prusa slicer got displayed wrong (even on printables)
califax has quit [Remote host closed the connection]
califax has joined #openscad
arebil has joined #openscad
peeps has joined #openscad
peeps[work] has quit [Ping timeout: 264 seconds]
<gbruno> [github] MWStonton closed issue #4928 (Development Snapshot 2024.01.06 Linux AppImage fails to run on some machines due to missing examples.json file) https://github.com/openscad/openscad/issues/4928
Guest67 has joined #openscad
Guest67 has quit [Client Quit]
peeps[work] has joined #openscad
peeps has quit [Ping timeout: 256 seconds]
peeps[work] has quit [Ping timeout: 240 seconds]
ToAruShiroiNeko has quit [Ping timeout: 252 seconds]
ToAruShiroiNeko has joined #openscad
peeps[work] has joined #openscad
peeps has joined #openscad
peeps[work] has quit [Ping timeout: 264 seconds]
peeps has quit [Ping timeout: 268 seconds]
ferdna has quit [Ping timeout: 245 seconds]
peeps[work] has joined #openscad
ferdna has joined #openscad
mmu_man has joined #openscad
peeps has joined #openscad
peeps[work] has quit [Ping timeout: 276 seconds]
peeps[work] has joined #openscad
peeps has quit [Ping timeout: 252 seconds]
peeps has joined #openscad
peeps[work] has quit [Ping timeout: 264 seconds]
peeps[work] has joined #openscad
peeps has quit [Ping timeout: 260 seconds]
peeps has joined #openscad
peeps[work] has quit [Ping timeout: 264 seconds]
Ravo has joined #openscad
<Ravo> Question: Can the SCAD language be used to define movement? For instance if I'm modelling an engine and want a piston to reciprocate along one axis for 20mm+/- from its center, can this be defined?
Guest45 has joined #openscad
Guest45 has quit [Client Quit]
<J24k73> Ravo yes you can do animation and also save as multiple images $t is the variable used for it
<Ravo> I'm reading that right now. Trying to think of the possibilities and limitations of it.
<J24k73> [sin($t*360),cos($t*360)]*radius  can be used for a circular motion .. but also  rotate($t*360)translate([radius,0]) cylinder();
<J24k73> in the gallery and SCADvent you find more examples
<Ravo> It should work, but the amount of effort is making my eyes glaze over.
<Ravo> I am not a talented SCAD writer.
<Ravo> Arguably, if I get the ratios done properly I could link everything to a single instance of $t having pistons reciprocating, a crankshaft rotating, gears in a transmission and differential meshing, and all without the hassle of one moving too fast or slow and clipping into another part.
<Ravo> I laughed. I thought that would be a simple example, then it jumped.
* InPhase chuckles.
<InPhase> That was my calendar entry for this year.
<InPhase> Trying to do a quick demo of body part connectivity. It's mildly hacky in the code, but works.
<J24k73> Ravo here a simple script https://bpa.st/IQOA
<InPhase> Gears and pistons and such are totally doable as well. Lots of people do these sorts of demos as well.
<InPhase> e.g., J24k73's there.
<Ravo> In truth, I was reading on Steam forums the Tank Mechanic Simulator dev talking about how it takes months to finish a single tank. I immediately thought of OpenSCAD. It would also take months to do something as complex as a tank with hundreds of parts, but having the whole thing in pure text is a gold mine for modding and updating and
<Ravo> troubleshooting. Movement was the only limiting factor. Naturally openSCAD couldn't account for things like tracks interacting with a floor, but being able to define the movements a part can take would allow the game engine to generate movement without any weirdness or clipping.
<InPhase> Ravo: A tank? How about an excavator? Day 22, one in and up from the bottom right on this calendar: https://openscad.org/advent-calendar-2022/
<J24k73> for a real conrod you would invoke more math to get the rotation angle via tangents
<Ravo> $t seems more powerful than I realized.
<J24k73> keep in mind that game engines is a lot of tricks (magic)  so this is never done like the real mechanics would work .. and  interacting with floor are often just displacement maps
<InPhase> The key really is to derive other values from it, and build up from there. At least when working within OpenSCAD. If your ultimate goal is doing external games, then you're really only doing preliminary modeling in OpenSCAD, and $t animations are just validating that shapes have the desired interoperability under motion.
<J24k73> you can't export motion, you need to export every moving part separately and rig within your game engine
<InPhase> Yeah, that.
<InPhase> OpenSCAD is just for prototyping in this context.
<Ravo> Thanks guys, I'll keep this in mind.
<J24k73> but also the whole mapping (UV-maps) need to be done somewhere else
<InPhase> I suppose in theory you could generate animations as cutscenes, but probably this is not optimal. :)
Ravo has left #openscad [#openscad]
<J24k73> S stands for solid .. so it gets very very slow (and bad) simulating  smoke or volume clouds  - and we still have no "nice" shader
<InPhase> Yeah. The one-true lighting scheme option would probably not work well for direct game integration.
<InPhase> But also the simple workflow of generating animations in compressed form is a little goofy in its intermediate steps for such a workflow anyway.
<InPhase> Ravo left by the way.
<J24k73> haha thanks .. didn't noticed
<J24k73> "target audience left the room 3h ago"
<ferdna> how do i always make a number negative?
<ferdna> sign?
<InPhase> J24k73: I liked your water, by the way. I don't remember if I mentioned during the calendar rollout.
<InPhase> ferdna: -abs(x)
<J24k73> * (x>1?1:-1)
<ferdna> thanks!
<J24k73> InPhase Thank you always nice to get appreciated
<J24k73> btw what happened to the shader for GSoC
<J24k73> from
<J24k73> never made it into a nightly build or?
L29Ah has quit [Ping timeout: 245 seconds]
peeps[work] has joined #openscad
peeps has quit [Ping timeout: 268 seconds]
ferdna has quit [Ping timeout: 260 seconds]
peeps[work] has quit [Ping timeout: 255 seconds]
peeps[work] has joined #openscad
peeps[work] has quit [Ping timeout: 264 seconds]
peeps has joined #openscad
<pca006132> I think manifoldcad supports exporting hierarchical gltf
<pca006132> and there is plan for having some UV map support (https://github.com/elalish/manifold/discussions/683)
<pca006132> probably a good GSoC project
peeps[work] has joined #openscad
peeps has quit [Ping timeout: 246 seconds]
peeps[work] has quit [Remote host closed the connection]
L29Ah has joined #openscad
snaked has quit [Remote host closed the connection]
Guest12 has joined #openscad
Guest12 has quit [Client Quit]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
RichardP_ has joined #openscad
qeed_ has joined #openscad
qeed has quit [Remote host closed the connection]
RichardPotthoff has quit [Ping timeout: 255 seconds]
pca006132 has quit [Ping timeout: 264 seconds]
pca006132 has joined #openscad
snaked has joined #openscad
rawgreaze has quit [Quit: ZNC 1.8.2 - https://znc.in]
rawgreaze has joined #openscad
kintel has joined #openscad
<gbruno> [github] kintel pushed 5 additions (Add failing minkowski test for #4934) https://github.com/openscad/openscad/commit/791d0a94d0b1f95ebd10f2fcdb48b00341abca31
<gbruno> [github] kintel assigned issue #4934 (Manifold doesn't support Minkowskis convexity) https://github.com/openscad/openscad/issues/4934
<kintel> J24k73 From last year's GSoC? It still needs significant cleanup to be mergeable
<gbruno> [github] kintel opened pull request #4935 (Add failing minkowski test for #4934) https://github.com/openscad/openscad/pull/4935
<J24k73> ah ok, thanks - haven't heard about any progress and thought it should be finished  ( i am not familiar how GSoC works)
<kintel> The VBO cleanup I'm doing should help set the stage for looking closer into it
<J24k73> great!
<kintel> Btw., I fixed the manifold convexity issue, just need to get more tests going
<J24k73> perfect that was fast
<kintel> one-liner. pca006132 was right, it was just a missing forwarding of convexity for manifold
<kintel> fast-csg was already fine
<kintel> ..but as often is the case: 80% of the work is making it testable :)
<J24k73> as you already assumed it should be a minor problem
<J24k73> i think this issue is only visible in a difference (intersection) so bit more complex for having it in automatic testing
<kintel> it's just because minkowski in preview mode will resolve to a concrete geometry, and this is a CSG preview issue
<kintel> ..so throwing in the difference makes it a CSG rendering
<kintel> I effectively just added your example a test case
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snaked has quit [Remote host closed the connection]
<teepee> meh https://www.printables.com/model/718240-shape-puzzles "I made it with OpenSCAD"... so here are the gcode files only :(
<pca006132> worse than only sharing the STL files
<pca006132> maybe he is just a beginner?
<teepee> who knows. well, obviously everyone can decide what to share, but it's still a bit sad to not being able to see the source of things
<InPhase> It's safe to assume a gcode share is a mistake based on not knowing what to do.
<InPhase> The only legit gcode share I saw was the one that makes printers play songs. :)
<teepee> prusa/printables very much encurage sharing gcode
<teepee> right, can't hurt asking :)
<teepee> that said, Stemfie3D published the Benchy model as CC-BY-SA which I found curious, so I commented it's nice to see it with that license ;-)
<teepee> next day it was gone :D
<pca006132> I once tried the fullcontrol pin support challenge https://fullcontrol.xyz/#/models/67cf20
<pca006132> I think for this kind of stuff it is also reasonable to share a gcode :)