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
mtm has quit [Ping timeout: 272 seconds]
mtm has joined #openscad
shaina has joined #openscad
J24k77 has quit [Quit: Client closed]
J24k77 has joined #openscad
shaina has quit [Ping timeout: 240 seconds]
<gbruno> [github] kintel pushed 3 modifications (Update goldens for linear_extrude-scale-zero-tests) https://github.com/openscad/openscad/commit/0c4695df77b219141e641d9b8b4b26b385810318
<gbruno> [github] kintel synchronize pull request #5501 (Update to Clipper2) https://github.com/openscad/openscad/pull/5501
<gbruno> [github] kintel reopened issue #5502 (OpenSCAD app does not automatically pick up file changes, nor picks up file changes on explicit re-render) https://github.com/openscad/openscad/issues/5502
drfff has joined #openscad
<gbruno> [github] kintel closed issue #5502 (OpenSCAD app does not automatically pick up file changes, nor picks up file changes on explicit re-render) https://github.com/openscad/openscad/issues/5502
J24k77 has quit [Quit: Client closed]
J24k77 has joined #openscad
Jern has joined #openscad
<gbruno> [github] kintel pushed 3 modifications (make roof_vd work again) https://github.com/openscad/openscad/commit/8eb43cc2c0ae1fa7376c228c38a3c5e644d7fa00
<gbruno> [github] kintel synchronize pull request #5501 (Update to Clipper2) https://github.com/openscad/openscad/pull/5501
<gbruno> [github] kintel pushed 3 modifications (make roof_vd work again) https://github.com/openscad/openscad/commit/fa7d035eb2c2c302823220e3cafae82cf5fb80cc
<gbruno> [github] kintel synchronize pull request #5501 (Update to Clipper2) https://github.com/openscad/openscad/pull/5501
Jern has quit [Quit: Client closed]
<gbruno> [github] ochafik synchronize pull request #5210 ([WIP] Build standalone executable JS (node) "binary") https://github.com/openscad/openscad/pull/5210
mmu_man has quit [Ping timeout: 264 seconds]
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] ochafik opened pull request #62 (Merge offline support updates) https://github.com/openscad/openscad-playground/pull/62
<gbruno> [github] ochafik closed pull request #62 (Merge offline support updates) https://github.com/openscad/openscad-playground/pull/62
<gbruno> [github] ochafik pushed 2 additions 6 modifications (Merge pull request #62 from ochafik/main Merge offline support updates) https://github.com/openscad/openscad-playground/commit/92103a80b94dce106240b4eeee7e70342077f589
shaina has joined #openscad
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel pushed 1 modifications (Disable PreserveCollinear) https://github.com/openscad/openscad/commit/b3db0a96bb27708895b8450d3a4e5fbcc705fc16
<gbruno> [github] kintel synchronize pull request #5501 (Update to Clipper2) https://github.com/openscad/openscad/pull/5501
shaina has quit [Ping timeout: 240 seconds]
<gbruno> [github] kintel edited pull request #5501 (Update to Clipper2) https://github.com/openscad/openscad/pull/5501
kintel has joined #openscad
<gbruno> [github] kintel edited issue #4909 (Upgrade to Qt6) https://github.com/openscad/openscad/issues/4909
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
Guest32 has joined #openscad
Guest32 has quit [Client Quit]
<gbruno> [github] kintel opened issue #5503 (SVG import doesn't support the SVG fill-rule property) https://github.com/openscad/openscad/issues/5503
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel edited issue #5503 (SVG import doesn't support the SVG fill-rule property) https://github.com/openscad/openscad/issues/5503
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel opened issue #5504 (roof(method = "voronoi") is very sensitive to Clipper precision) https://github.com/openscad/openscad/issues/5504
<gbruno> [github] ochafik closed issue #56 (Self-sufficient deps deployment + service worker for offline access) https://github.com/openscad/openscad-playground/issues/56
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
J24k68 has joined #openscad
J24k77 has quit [Ping timeout: 240 seconds]
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel pushed 1 modifications (Build Clipper2) https://github.com/openscad/openscad/commit/5fa02d2e12d06a9cb211e6a81395dc69a83b6e42
<gbruno> [github] kintel opened pull request #5505 (Build Clipper2 on macOS) https://github.com/openscad/openscad/pull/5505
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<kintel> FYI: I'm ready to merge Clipper2 support in OpenSCAD. Caveat: I used a submodule (for now), but once all packages for all relevant distros + Windows are updated to supply a Clipper2 package, we can kill (or at least disable) the submodule. The submodule is a nice safety valve in case we discover any more Clipper2 bugs
<gbruno> [github] kintel edited issue #4974 (Update to Clipper2) https://github.com/openscad/openscad/issues/4974
<gbruno> [github] ochafik synchronize pull request #5210 ([WIP] Build standalone executable JS (node) "binary") https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik synchronize pull request #5210 ([WIP] Build standalone executable JS (node) "binary") https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik edited pull request #5210 ([WIP] Build standalone executable JS (node) "binary") https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions)) https://github.com/openscad/openscad/pull/5210
shaina has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
shaina has quit [Remote host closed the connection]
mmu_man has joined #openscad
shaina has joined #openscad
shaina has quit [Ping timeout: 240 seconds]
mmu_man has quit [Ping timeout: 248 seconds]
shaina has joined #openscad
shaina has quit [Ping timeout: 240 seconds]
RichardPotthoff has quit [Ping timeout: 260 seconds]
JakeSays has quit [Read error: Connection reset by peer]
JakeSays has joined #openscad
shaina has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
shaina has quit [Remote host closed the connection]
shaina has joined #openscad
shaina has quit [Remote host closed the connection]
shaina has joined #openscad
shaina has quit [Ping timeout: 240 seconds]
shaina has joined #openscad
shaina has quit [Remote host closed the connection]
shaina has joined #openscad
shaina has quit [Remote host closed the connection]
shaina has joined #openscad
shaina has quit [Ping timeout: 240 seconds]
Guest0101 has joined #openscad
<Guest0101> How would I do a print in place hinge on a pipe ?
<Guest0101> so it opens the pipe into 2 halves ?
shaina has joined #openscad
shaina has quit [Ping timeout: 240 seconds]
<gbruno> [github] ochafik review_requested pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
shaina has joined #openscad
shaina has quit [Remote host closed the connection]
<gbruno> [github] ochafik edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<J24k68> GUEST0101 vertical
mtm has quit [Ping timeout: 265 seconds]
<gbruno> [github] ochafik edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<J24k68> else you need supports
<J24k68> but i would print 2 parts and a clip in hinge .. or using a filament pin
mtm has joined #openscad
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
mmu_man has joined #openscad
<gbruno> [github] kintel edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
<gbruno> [github] kintel edited pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
TylerTork has joined #openscad
<TylerTork> it's me again. Still messing with deforming polyhedra. Previously it was suggested that I use the list of normals returned by BOSL2 function regular_polyhedron_info, randomly adjust their angles, then use those to produce planes, then use the planes to slice pieces off a large cube, leaving the deformed polyhedron as the result. This works fine so
<TylerTork> long as the polyhedra are convex, but if there are concavities I end up slicing off way more than I wanted. I'd like to be able to control the shape, e.g. flare the top, while still keeping the faces flat. I don't have to start with a regular polyhedron -- that just seemed easiest. Does anyone have suggestions how I can generate a polyhedron with a
<TylerTork> shape I generally control, but with some randomness, and allowing it to have concavities? Nothing to extreme, but think vase shapes.
<gbruno> [github] ochafik synchronize pull request #5210 (Build standalone executable WASM node binary (+ fix regressions & check wasm builds in CI)) https://github.com/openscad/openscad/pull/5210
guso78k has joined #openscad
<TylerTork> no?
<InPhase> TylerTork: Your description is fairly vague.
<InPhase> TylerTork: Best solutions can depend a lot on the parts you left a bit vague.
<InPhase> TylerTork: Weirdly random and lumpy shapes are doable though. For example, I put one on Day 13 under the logo here in the snowballs model: https://openscad.org/advent-calendar-2021/
<InPhase> TylerTork: So we can do regular polyhedra, and we can do snowballs. So everything in between is doable. But how best to do it? That depends on the details. :)
<InPhase> TylerTork: How about this. You might actually be in an xy-problem. Perhaps if you walk it back a step and explain what you're really trying to do, and how that would guide your design requirements, that would facilitate better advice.
<Guest0101> J24k68: any idea how would I do the print in place hing on a pipe so the pipe opens in 2 halves ?
guso78k has quit [Ping timeout: 240 seconds]
TylerTork has quit [Quit: Client closed]
Guest0101 has quit [Remote host closed the connection]
GNUmoon has quit [Ping timeout: 264 seconds]
bozo16 has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
Guest88 has joined #openscad
Guest88 has quit [Client Quit]
Guest88 has joined #openscad
<Guest88> hi can anyone help me
<InPhase> Guest88: Perhaps if you ask your actual question. :)
<Guest88> yeah sorry I am kind of new to open source contribution so I like to resolve some basic things to learn it can you help me
Guest88 has quit [Quit: Client closed]
Guest88 has joined #openscad
ali1234 has quit [Remote host closed the connection]
Guest53 has joined #openscad
Guest53 has quit [Client Quit]
Guest88 has quit [Ping timeout: 240 seconds]
J24k68 has quit [Quit: Client closed]
J24k68 has joined #openscad
Guest88 has joined #openscad
Guest88 has quit [Client Quit]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
TylerTork has joined #openscad
guso78k has joined #openscad
<TylerTork> InPhase: if you go to https://tylertork.com/ikebana-vessels you'll see the sort of things I'm designing. Many of them are based on regular polygons with some randomness added. There are parameters in the scripts I use for these that let me stretch out or pinch the top, bottom, or middle to affect the shape -- for instance to give a broader base, a
<TylerTork> wider top opening, or even an hourglass shape. I can do this now, but I don't have a way to do this and ALSO have the faces be flat, because if a face has more than three sides, distorting the shape or randomly perturbing their positions results in a set of points that are not coplanar. If the slope of a face becomes too extreme, and I turn the
<TylerTork> face into a cut plane, it cuts off entire other faces and parts of the volume I wanted to keep, instead of producing a shape with a concave shape
<InPhase> Okay.
<InPhase> So the cut plane stuff from before was definitely an xy problem then. :)
<InPhase> So you know how to do polyhedron on these, and your only issue is mathematically how to do the deformations to achieve these sorts of effects without losing the coplanarity of points that start out part of a face?
<TylerTork> that seems a pretty good summary
<InPhase> And then basically, if you have an N side face with N>3, you have 3*3 + (N-3)*2 degrees of freedom that you can actually make randomly vary, but you're currently varying 3*N degrees of freedom and hitting issues. So you need to constrain these N-3 dependent values.
<InPhase> Or alternatively, you could express this all as 2*N planar degrees of freedom, and 3 degrees of freedom to define the plane transformations (rotation and depth).
<InPhase> The 2*N part would mean that points could only vary within the defined plane, and otherwise you move the plane of the face and all the points on that face transform with it.
<InPhase> This is probably the cleanest way to express your problem, because it makes no special points.
<InPhase> Otherwise you end up with 3 special ones defining the plane, and N-3 points along for the ride.
bozo16 has quit [Quit: Leaving]
J24k68 has quit [Quit: Client closed]
J24k68 has joined #openscad
<TylerTork> no idea how to translate that into code
<InPhase> TylerTork: Well, I slapped together a start at the approach to use, with some existing code I had: https://bpa.st/K7XQ
<InPhase> You basically need to use transformations like is done at the bottom to use things like the center of mass, normal vector, and cross-products. These are the key tools for defining planar operations on all the points, or to operating within the plane.
<InPhase> If that blows your mind, you might be missing some of the math background one would use for this. If the terms are vaguely familiar but how to do it is not, then this should I think be enough of a model to see how one can do this sort of thing smoothly enough with vector and matrix operations using the provided functions.
<dTal> aw this again
<dTal> already provided an irregular-polygon generator scad file
<InPhase> dTal: Did you preserve planarity of N>3 vertex faces? :)
<dTal> oh yes indeedy
<InPhase> Well, provide it again. Then TylerTork will have two possible paths. :)
<dTal> he's already read it though
<InPhase> 404
<dTal> <TylerTork> I mean I need the VNF not the resulting shape. I'm doing more operations on it.
<dTal> can you clarify this?
<InPhase> dTal: That was a bad url.
<dTal> I guess termbin expires
<dTal> was just checking that it was the currect file before re-upping :p wouldn't want to embarrass myself would I
<InPhase> Oh that. That was convex only, right?
<dTal> Yes.
<InPhase> I think that was the core issue.
<InPhase> dTal: See the target application: https://tylertork.com/ikebana-vessels
<dTal> So we start with an arbitrary mesh, some points of which lie on planes, and have to deform it?
<InPhase> TylerTork wants to use custom code (which he has) to make deformations in an artsy way, but without breaking planarity.
<dTal> Of an arbitrary mesh
<dTal> ?
<InPhase> With lists of vertices making up faces.
<dTal> ...
<dTal> ...of an arbitrary mesh?
<InPhase> Well, starting from a regular polyhedron, it seems.
<dTal> All this "polyhedron" stuff was a red herring, and the shape can be anything?
<dTal> The way I would do this, in the general case, is just brute force it
<InPhase> I was giving a vector algebra way to do transformations of a face without breaking planarity.
<dTal> so either 1) you have access to which vertices belong to which faces, or 2) you don't
mmu_man has joined #openscad
<InPhase> Of course there's a next constraint when you need to not break planarity of multiple faces at once.
<InPhase> I'm pretty sure it's all calculable, but you'd have to build up the math pieces. :)
<dTal> it seems to me that my solution is extensible to this scenario
<dTal> all polyhedral objects can be expressed as a boolean AND of N planar signed distance fields
<dTal> so, you start with your object, determine the normal vector and offset vector of each face, and then rebuild it
<guso78k> dTal only applies for convex solids
<guso78k> git commit
<dTal> ah wait but it breaks...
<dTal> yes
<guso78k> ups ..
<guso78k> think this "polyhedral" stuff is what is refered to NEF in openscad internals
<dTal> well you could assume that the topology is the same, and work out the intersections with the adjacent faces manually, using the same philosophy
<dTal> which is probably the "correct" way to do this
<dTal> but you're sort beyond being able to do this confortably in native openscad
guso78k has quit [Quit: Client closed]
<InPhase> dTal: Actually, a maybe simple way to make yours work... https://bpa.st/DYNQ
<InPhase> ;)
<InPhase> I don't know about art... But we have there randomness with concave polyhedrons. :)
<dTal> lol well yes
<InPhase> And if you want control, vector algebra tools are there. It just takes building up.
<dTal> hey InPhase try this, rename your "render" block to a module called "chonk", then do difference(){ hull(){chonk();} chonk(); }
<InPhase> The core problem is how arbitrary the definition of a particular desired vector algebra operation can be. Some things are just not going to be predefined.
<InPhase> dTal: Well that makes the randomness closer to passing for art, if nobody looks too close.
<dTal> definitely looks like the kind of wanky sculpture you might see on a plinth in central london
<InPhase> Call it Metacave Polyhedra, and charge $5 a visit for people to climb inside and take a picture.
<dTal> "metacave" is good but "polyhedra" is too mathy, needs to be some fluffy word like "luminance"
<InPhase> Right. And then put up a plaque with some ChatGPT dribble about light and shadows.
TylerTork has quit [Ping timeout: 240 seconds]
TylerTork has joined #openscad
mmu_man has quit [Ping timeout: 244 seconds]
mmu_man has joined #openscad
<teepee> I suppose there is quite some room for improvements, but it should at least give one option on how to do this
<InPhase> You broke the overlap rule on the alpha bits. :)
<InPhase> The lamp has interference flicker at the end on my system.
<teepee> true
<teepee> hmm, some minutes left :)
<J24k68> also can be fixed later..
<J24k68> do we have some webstats how many people opened the caledar?
<teepee> InPhase: should be better now
<teepee> added a small ring giving the shape a bit of rounding
<teepee> well, we have anonymized logs on the file server
<teepee> which shows 27486 web requests for tutorial files
<teepee> hmm, I guess that includes also the mastodon clicks