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
teepee_ has joined #openscad
teepee has quit [Ping timeout: 256 seconds]
teepee_ is now known as teepee
<kintel> manifold vs. fast-csg: Are we, generally, confident that manifold will take over? ..to the point that we can/should start pulling out fast-csg, at least from the test framework?
<kintel> ^ there's a bunch of automatic enabling of fast-csg for tests which would be good to clean up
<teepee> my view is Manifold for everything supported, CGAL only for the remaining stuff which is probably the decomposition and straight skeleton
<teepee> I'm not sure if those are corefinement or something else
<teepee> basically retire fast-csg as separate option, maybe even making Manifold the default
<teepee> it's not like there are no problems with CGAL
Guest80 has joined #openscad
<Guest80> Hi all.  Is there an optics workbench for OpenSCAD?  I know there is one for FreeCAD, but I'm just used to mechanical designs in OpenSCAD.
<peeps[zen]> Guest80: there are no workbenches at all
<teepee> I suppose the analog thing would be a library with functions for optics?
<teepee> I don't know if that exists, there's a big projects for microscopes
<Guest80> I tried using pyrate, which is very powerful.  It had plugins for FreeCAD.  It has no GUI on its own, it is totally scripted.  The documentation is almost nothing for that code.
<Guest80> the microscope project seems cool
<Guest80> i used OpenSCAD to make a lot of lens mounts and the plastic parts for a projector.
noonien88 has joined #openscad
noonien8 has quit [Ping timeout: 272 seconds]
noonien88 is now known as noonien8
<Guest80> Thanks all.  I know lens design is a dark art lol.
Guest80 has quit [Quit: Client closed]
Guest80 has joined #openscad
<kintel> teepee yeah, makes sense. I feel the test framework got a little out of hand with all the fast-csg and manifold config. I'll try to clean up a bit
<Guest80> what I did find is there is an OpenSCAD workbench in FreeCAD, so I can just build the model in OpenSCAD and use it in FreeCAD and then use their optics workbench.
<teepee> yeah, too many combinations and possibilities by now
<Guest80> cheers everyone
Guest80 has quit [Client Quit]
<peeps[zen]> i wonder if tetrahedral meshing would be useful, as a roundabout convex-decomposition method. i think it is used in many FEM/FEA apps, but don't know the exact format used for that.
<peeps[zen]> also might be useful for multi-material support in some way?
<peeps[zen]> https://doc.cgal.org/latest/Mesh_3/index.html i've tried to read about it here and there, but inevitably get lost in CGAL's explanations for math PhDs
tritcher has quit [Ping timeout: 260 seconds]
J23k5 has joined #openscad
J23k2 has quit [Ping timeout: 248 seconds]
kalvinr has joined #openscad
kalvinr has quit [Client Quit]
erectus has quit [Ping timeout: 256 seconds]
erectus has joined #openscad
MatrixBot1234514 has quit [Ping timeout: 245 seconds]
TheAssassin has quit [Remote host closed the connection]
aiyion has quit [Ping timeout: 256 seconds]
aiyion has joined #openscad
TheAssassin has joined #openscad
<gbruno> [github] kintel pushed 3 modifications (Make the STL export test have only triangles to be more robust when underlying tesselation changes) https://github.com/openscad/openscad/commit/5229c5131299593f5882f6c1e745dee615e4157d
<gbruno> [github] kintel opened pull request #4800 (Make the STL export test have only triangles) https://github.com/openscad/openscad/pull/4800
MatrixBot1234514 has joined #openscad
LordOfBikes has quit [Ping timeout: 264 seconds]
mmu_man has quit [Ping timeout: 255 seconds]
<kintel> Has anyone noticed (and/or discussed) manifold vs. CGAL/fast-csg tessellation?
<kintel> I noticed this: https://ibb.co/QHyGRMX
LordOfBikes has joined #openscad
teepee has quit [Ping timeout: 256 seconds]
<peeps[zen]> hadn't noticed that myself. i guess manifold doesn't automatically simplify colinear edges, coplanar faces
teepee has joined #openscad
<peeps[zen]> that's one thing CGAL handled remarkably well in retrospect. seems tricky since faces of the final cube are all dependent, can't remove a vertex on edge of one face without affecting the adjacent face
snaked has joined #openscad
<InPhase> kintel: That might be a good Manifold issue to open.
<InPhase> kintel: Especially with such a clear comparison image.
<InPhase> kintel: ... Unless it already does it and we're just missing a call.
<InPhase> That might be something you'd only do when asked in such a library. Prematurely guessing that this should be done might be unhelpful.
<peeps[zen]> to be done on final output of render?
TheAssassin has quit [Remote host closed the connection]
<InPhase> peeps[zen]: If it's fast, it might actually be worth doing more often.
TheAssassin has joined #openscad
<InPhase> peeps[zen]: There could be combinatoric gains in some designs.
<peeps[zen]> true
<InPhase> And I could imagine that function being fairly fast. The search space is simple and linear.
<InPhase> Or if it has some overhead, it could be top level render and explicit render(), and it could be thrown in as an optimizer. :)
<peeps[zen]> although I feel like most real-world use cases wouldn't result in significant amount of coplanar faces like that, just as a gut feeling
<InPhase> Probably also right. So it has to be pretty fast to be worth throwing everywhere.
<kintel> Interesting detail: The underside of the object has no internal vertices
<kintel> floating point issue perhaps?
<kintel> Anyway, will keep it in the back of my head for a rainy day :)
<InPhase> Manifold might have purged the grid snap.
<InPhase> I think there was discussion of that.
<InPhase> The premise of doing it was based on keeping the rationals small. But coplanarity might then also need an epsilon.
<peeps[zen]> that test scad is kinda funky. the intersection is not needed to avoid lazy union when there is an explicit union there anyways. and center=1 seems to evaluate to false
<peeps[zen]> so that intersection is maybe responsible for the lack of internal vertices?
<peeps[zen]> putting a # on the cube outside the loop to see
<peeps[zen]> is that a new bug (boolean parameters like "center" should accept "truthy" values?) might be a pain to audit all builtins for that
<peeps[zen]> s/new/newly discovered/
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
<peeps[zen]> kintel: I just confirmed that changing the center=1 to center=true makes the bottom face no longer coplanar during intersection, so it tesselates the same as the top
<InPhase> peeps[zen]: That truthy thing might relate to all those changes you made of value comparisons years back? Maybe the test result changed and no one noticed?
<InPhase> I see no need to support center=1 though.
<InPhase> In fact I might interpret the meaning of that differently...
<peeps[zen]> its just doing a straight type check, i don't think its really related to my value comparison changes
<kintel> That test was originally written for fast-csg I think. I was wondering if it's worth keeping when I stumbled across the manifold behavior.
<gbruno> [github] kintel pushed 1 additions (Forgot one missing expected file) https://github.com/openscad/openscad/commit/fe52d7c73b7a91bfe6bfce0c91e73378a4310bfe
<gbruno> [github] kintel synchronize pull request #4796 (Make tests work in non-experimental mode) https://github.com/openscad/openscad/pull/4796
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qeed has quit [Remote host closed the connection]
misterfish has joined #openscad
qeed has joined #openscad
hyperair has quit [Ping timeout: 255 seconds]
misterfish has quit [Ping timeout: 260 seconds]
hyperair has joined #openscad
arebil has joined #openscad
ferdna_ has quit [Quit: Leaving]
lastrodamo has joined #openscad
hyperair has quit [Remote host closed the connection]
L29Ah has quit [Ping timeout: 255 seconds]
hyperair has joined #openscad
hyperair has quit [Remote host closed the connection]
misterfish has joined #openscad
hyperair has joined #openscad
cart_ has joined #openscad
mmu_man has joined #openscad
quiliro has joined #openscad
<quiliro> hello
<quiliro> I did not know about so many libraries!
<quiliro> I thought functions were basic.
<quiliro> But I feel overwhelemed.
snaked has quit [Quit: Leaving]
<quiliro> I would like to find the shape of the line on the intresection between an ondulated sheet and a square cylinder which becomes a circular cylinder.
<InPhase> quiliro: Current versions of OpenSCAD do not provide numerical descriptions of generated geometry. The data flow goes the other way, computational to geometry. You need to either compute the shapes in question, or use geometric manipulations to utilize shapes after you generate them.
<InPhase> paste?
<othx> paste is https://www.3dcustomizer.net/paste for .scad files, https://bpa.st for text, https://pasteboard.co/ or https://imgur.com/ for images
<InPhase> If you put up a paste using one of those urls of your design, and a description of what you're trying to do given that paste, someone might be able to offer feedback on how best to achieve the objective.
<InPhase> The U.S. is still in the process of waking up though, which is a chunk of us, so a little patience waiting on replies is advised. :)
<quiliro> this is the former shape https://www.pinterest.com/pin/670332725811231111/
<quiliro> How can I find the formula for the intersection of one shape with another?
<J23k5> nice shape
<J23k5> but not sure what intersection you talk about
<J23k5> quiliro can you explain what you are trying to  accomplish? .. You could make the intersection, then a projection and export as svg  so you get a  2D shape of it
mmu_man has quit [Ping timeout: 240 seconds]
mmu_man has joined #openscad
<quiliro> I have two shapes made out of paper:
<quiliro> one is a ciruclar cylinder (a normal one)
<quiliro> circular*
<quiliro> which becomes a square cylinder
<quiliro> the other shape is the one shown in the image which I linked: a sheet which makes a roof
<quiliro> the first shape is a square tube on one end and it is a circular tube on the other end
<quiliro> it is a house with a square base and a hanging roof made from a sheet which is not stretched but deformed as a sheet of paper would be deformed
<quiliro> the walls, which for a square on the base, form a circle when it goes up
<J23k5> your image  is something like this https://bpa.st/PBXA
<quiliro> for ... form*
<quiliro> oh....a scad file! let me test
<gbruno> [github] kintel pushed 1 modifications (Remove obsolete experimental_tests() macro) https://github.com/openscad/openscad/commit/0349dacf8fef683375eed104a88d047d8f766b53
<gbruno> [github] kintel synchronize pull request #4796 (Make tests work in non-experimental mode) https://github.com/openscad/openscad/pull/4796
<J23k5> you looking for this? https://imgur.com/a/MI3uY4v
<quiliro> I rendered your file, J23k5
<quiliro> it is not the same on one edge than the other
<quiliro> my shape is not like that
<quiliro> https://imgur.com/a/MI3uY4v does not show on my browser
<J23k5>  i am trying to find out what it is that you want
<quiliro> that image is exactly the one... but the base is upside down
<quiliro> the bottom is square
<J23k5> yeah noticed that too
<quiliro> and the top is circular m(cylindrical)
<quiliro> and the top is circular (cylindrical)
<quiliro> yes!
qeed_ has joined #openscad
<quiliro> how did you do it?
<quiliro> I would like to learn that skill
qeed has quit [Ping timeout: 240 seconds]
<quiliro> and I am surprized that you could discover the shapes with only my explanation
<quiliro> I have dificulties getting people to understand what I explain
<quiliro> but you discovered it almost immediately
<J23k5> you gave me an image of the roof ..   a  square lofted into a circle is not that difficult
<J23k5> but still i have no clue what you need
misterfish has quit [Ping timeout: 255 seconds]
<J23k5> i think the resulting curve is a parabola  (at least it is not an ellipse)
<quiliro> but there is a small berror
<quiliro> error*
<quiliro> the top shape is not a hanging plane
<quiliro> for it to be a hanging plane, it has to have an angle between the crossing top lines
<quiliro> like the roof of a normal house...just on the topmost part
<quiliro> why do you think the intersection is a parabola and not a catenary?
<quiliro> or rathe 4 catenaries
<quiliro> rather*
<quiliro> why do you think that you do not understand what I need.
<quiliro> You discovered it almost completely
<quiliro> there are only details to correct
<quiliro> I can see only one error
<quiliro> J23k5: would you laso care to explain how the openscad commands you wrote work to make the figure you made for me?
<quiliro> laso ... also*
<gbruno> [github] kintel pushed 3 modifications 1 removals (Make the STL export test have only triangles to be more robust when underlying tesselation changes) https://github.com/openscad/openscad/commit/f610ec419c3c766993534e13ce66e5ae175dc6de
<gbruno> [github] kintel synchronize pull request #4800 (Make the STL export test have only triangles) https://github.com/openscad/openscad/pull/4800
<J23k5> catenary are quite similar to a parabola https://en.wikipedia.org/wiki/Catenary#/media/File:Comparison_catenary_parabola.svg
<quiliro> yes, but not exact
<gbruno> [github] kintel edited pull request #4800 (Make the STL export test have only triangles) https://github.com/openscad/openscad/pull/4800
<J23k5> cheatsheat!
<quiliro> so you made a parabola?
<J23k5> 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
<quiliro> (instead)
<J23k5> here you find the comands (click on them) to see  how they work and can be used
<quiliro> nice
<J23k5> to make that roof proper you need a bit more complex approach
<quiliro> were you able to change the curves on the roof?
<quiliro> and there is one more detail... the perimeter of the cylinder is the same all along
<quiliro> but it is beautiful!
<quiliro> I did not know it could be made so quickly
<quiliro> once you know how!
<J23k5> here the roof without creating a polyhedron with points and more math https://bpa.st/3AOQ
<J23k5> when you loft a circle into a square  you  either have the square edges on the same radius or the sides   so the square is either bigger on the edges or smaller on the sides
<J23k5> here https://bpa.st/EZBA
<quiliro> the cylinder is correct now
<quiliro> but the roof is not a plane when stretched
<quiliro> that is the only remaining correction
<J23k5> the roof is build like your bamboo version
<quiliro> it is a plane which is held by lines which connect in the center
<quiliro> it is as if was a sheet of paper
<quiliro> not stretchable
<J23k5> https://bpa.st/7HQQ    you get this with a lower resolution and without connecting the the next
<quiliro> the lines should not be on the x and y anxes
<quiliro> or the shape would not stretch to a plane, as would a sheet of paper
<J23k5> that bamboo model can't have a plane paper,  but you can probably  skin this with 4 papers
<quiliro> I made it with paper
<quiliro> fold paper at 90 degrees
<quiliro> and change the angle on the folds
<quiliro> between folds the paper hangs
<J23k5> this will move the  edges of the crests down
<quiliro> yes
<J23k5> not like the bamboo version in the image
<quiliro> sure
<quiliro> but it was the only similar shape
<J23k5> here you have  2 delta variables to change for the  angle  https://bpa.st/K2AQ
<J23k5> calculating the correct angle  will need some math
lastrodamo has quit [Quit: Leaving]
lastrodamo has joined #openscad
<quiliro> those are flat surfaces
<quiliro> they should be hanging
<J23k5> you can put them on a curved path.
<quiliro> how?
<J23k5> pow()  or sin ()
<J23k5> but you now creating a 3D freeform meaning you can't use straight lines you need a matrix
<J23k5> check day 24  on the https://openscad.org/advent-calendar-2021/
<quiliro> downloaded it. but do not know what to do
<quiliro> downloaded the scad file for day 24
<J23k5> so if you don't want  a straight crest like here https://i.imgur.com/KKv2P9h.png  this will get much more complex
<quiliro> thats it!
<quiliro> exactly what is needed, I think
<InPhase> J23k5: Wait, the cube thing is actually serving as an example for someone's real world problem? :)
<quiliro> do the straight lines measure the same as the curved lines?
<J23k5> this is the code i gave you  just  change the delta and delta2  .. there are some ratio of these that will end with flat surfaces  .. other will have curved skin
<J23k5> InPhase  just the way the surface was generated ..  if you are not ready to deep dive into polyhedra
<J23k5> and how you can manipulate the surface with functions
<InPhase> J23k5: :) I just remember that one as being hacky, and done that way primarily because it allowed making a surprising effect and a neat color pattern.
<J23k5> Iirc i made the original version for pupils to show them how a surface can be made from "vertices"  without using vertices but more visible alternatives
<quiliro> do the straight lines on the top measure the same as the curved lines ?
<quiliro> on the last design
<quiliro> I need to know how to cut the paper in order to have the edges of the top paper match the edges of the bottom paper. Wil openscad help me do that?
<J23k5> no that is pure math .. you can use openSCAD to calculate but you still need to put in the formular for the angles and resulting length
<J23k5> if you calculate the length of each bar it could be used to simulate the distortion on a flat paper
<J23k5> but using UV mapping in blender is probably easier
<othx> J23k5 linked to YouTube video "UV Unwrapping for Beginners (Blender Tutorial)" => 1 IRC mentions
<J23k5> As you can render the geometry in openscad and import that object in blender ..
<J23k5> the heat map will show you how much stretching is there  ( which need to be zero for a paper fold)
misterfish has joined #openscad
paddymahoney has quit [Ping timeout: 264 seconds]
<quiliro> the shape is almost as it should have....https://bpa.st/EZBA but with the roof as in https://i.imgur.com/KKv2P9h.png
<quiliro> how can I do it?
<quiliro> I know I have to do it in blender. But it is useful to have the shape of my abstract idea visible on 3D
<quiliro> with openscad
<InPhase> quiliro: If you're talking about an arrangement of paper in which the edges are straight (like in your last image), then the calculation is actually straightforward. It's just the pythagorean distance between the coordinates of the edges.
<InPhase> quiliro: I mean, between the coordinates of the corners.
<InPhase> quiliro: So you would just need to calculate where those corners actually are. A good test is to calculate the corners, then put a red marker sphere at each calculated corner with an isolated translate(corner1) color("red") sphere(2); Then you have visual confirmation that you calculated it correctly.
<InPhase> Then echo("Edge 2-1 length:", norm(corner2-corner1));
<quiliro> InPhase: I am a little confused
<InPhase> Excellent. That's better than very confused.
<lf94> hahaha
<quiliro> would you describe it in simpler terms.
<quiliro> sure
<lf94> I think he's getting a bit tired x)
<quiliro> what is a pythagorean distance?
<lf94> it's just distance.
<lf94> sqrt(a^2 + b^2)
<quiliro> oh...hypothenuse
<lf94> yea
<lf94> A quick search wouldve told you ;)
<lf94> all good
<quiliro> true..thanks for the tip
<lf94> How'd you do that roof in OpenSCAD ? It's an interesting shape
<quiliro> it is better to give a fishing cane than a fish
<quiliro> but both is better!
<lf94> of course B)
<quiliro> I don't know how to do that shape in openscad
<quiliro> but one with the foldings on the x and y axes, respectively....was done before
<lf94> who did it? where'd you find it
<quiliro> nevertheless, the foldings are not on the axes, they are on the x-z and the y-z planes, though
<quiliro> InPhase made it
<lf94> InPhase: how'd you do it
<lf94> (just share the script)
<lf94> (save you some explanation time ;p)
<InPhase> quiliro: Well, looking at your last code pastebin... You have a for (y=[0:step:50-step]), so your first one is y=0, You put a cube at [0,0,0], [50,0,0], [0,1,0], and [50,1,-1] So it looks like your two corners at y=0 are [0,0,0] and [50,0,0]. Now let's take the far end, y=50-step, which is 49. You have [0,49,0], [50,49,-49], [0,49+1,0], and [50,49+1,-49-1]. So your farthest corners from the first
<InPhase> set appear to be [0,50,0] and [50,50,50]. Therefore, those are your 4 corners. Name them corner1, corner2, corner3, and corner4 in the right order, and your edges are the norms going around the perimeter using that echo command above.
<J23k5>  2 delta variables to change for the angle https://bpa.st/K2AQ     put in  50 for delta2  pulls the edges deeper and curves the surface
<InPhase> lf94: How did I do what?
<lf94> the roof
<InPhase> I didn't.
<lf94> roof looking
<lf94> ah
<InPhase> J23k5 was helping. :)
<lf94> it was a mystery man
<lf94> ah
<lf94> it was a well known man
<lf94> B)
<InPhase> I just jumped in to advise some math.
<lf94> J23k5: looking
<J23k5> again ?   2 delta variables to change for the angle https://bpa.st/K2AQ
<lf94> J23k5: sorry your name kinda blends in lol. The visual perceived randomness makes it hard to catch my attention
* J23k5 blends in …
<lf94> I see now. basically hulling a bunch of cube points you generate in quadrants
<lf94> hull() is probably the most interesting unique function of openscad IMO
<lf94> I wish SDFs had a similar function sometimes
<lf94> There's probably some math shit to make it possible
<lf94> I think loft() is the closest
<lf94> loft is like a degenerate version of hull lol
<J23k5> hull as it is used here is just  creating a  quad  without using a polyhedra
<lf94> yea exactly
<quiliro> the last paste is right except that the highest point should make a straight line to the lowest points
<quiliro> because the water should run down to the corners of the roof
<quiliro> and should hang from the walls
<quiliro> not be a dome... but a catenary
<lf94> draw it on paper
<lf94> (maybe you already did, im late to the convo)
<quiliro> I made it on paper
<quiliro> not just sketch
<quiliro> but cannot make the shape of the intersection
<quiliro> the shape is almost as it should have....https://bpa.st/EZBA but with the roof as in https://i.imgur.com/KKv2P9h.png
<lf94> sketch it on paper
<lf94> show us
<quiliro> you can see a straight line from the highest point to each of the lowest points
<lf94> Im 99% sure we can achieve what you need :)
<quiliro> to make it on paper is exactly what I need
<J23k5> blob:https://imgur.com/4b40ec0c-10ba-42f9-819a-a2121896eea2
<quiliro> I made the bottom part (walls) and the top part (roof)... but I do not know how to make the edges to fit each other
<lf94> J23k5: blob link doesnt work x)
<lf94> J23k5: I know, imgur is weird
<J23k5> seems i copied before imgur was ready
<lf94> J23k5: is this a plane that is just sine warped?
<lf94> thinking how I could recreate in summonscript
<J23k5> yes ..
<lf94> by the way, did you see my cad system? :p
<lf94> It's CSG also
<quiliro> that is not the correct shape
<lf94> I dont think you'll use it, but it could be interesting to you anyway
<J23k5> lf94 seen some videos but didn't catch the advantage
<quiliro> it should hang from the walls in the center
<lf94> (I really respect your code cad work so your thoughts matter to me x)
<lf94> J23k5: gotchya gotchya. thanks for watching!
<quiliro> I guess I did not mention them
<lf94> J23k5: the advantage is just complex code cad scenes that are not really possible in other systems
teepee_ has joined #openscad
<lf94> J23k5: also organic shapes
<lf94> and being able to extend the engine by just implementing SDF math
<lf94> For example, surface level details is something I really really wanted in OpenSCAD and Curv
<lf94> But they couldnt do it without insane powerful hardware behind them
<lf94> As you see in one example, I can do it, all on my shitty mini PC
<J23k5> cant't you bring SDF into oscad via python?
<lf94> I've tried to bring in libfive in one PR. But it got abandonned
<lf94> Where you can actually use OpenSCAD code
<lf94> Other advantages are, it's all JavaScript, it's a small tech stack, etc
<lf94> Anyway, just wanted to know if you saw it ;) All good, we can move back to quiliro's problem :DDD.
teepee has quit [Ping timeout: 256 seconds]
teepee_ is now known as teepee
<quiliro> is openscad python or C++?
<lf94> C++
<J23k5> it is hanging quiliro https://i.imgur.com/orMEIKo.png
<teepee> lf94: you abandoned it
<teepee> and javascript is rarely a small tech stack
<lf94> teepee: yes
<quiliro> !https://i.imgur.com/KKv2P9h.png
<lf94> teepee: it is small. for example, quickjs is zero dependencies
<lf94> teepee: the only requirement is a C compiler
<J23k5> https://bpa.st/CYFQ   it might be easier to construct it this way -  if you are not aiming for the bamboo model
<lf94> teepee: I abandonned it because it was a handoff to people more involved in OpenSCAD. Clearly no one wanted it, so, it was abandonned
<teepee> not true
<teepee> just no time
<lf94> > making the same typo 3 times x(
<lf94> teepee: then it's not abandoned and it's just basting :)
<lf94> it's up to you guys if it's abandoned
<quiliro> that last paste will not make https://i.imgur.com/KKv2P9h.png
<teepee> I would assume it does happen at some point, if there's nobody going to help it might take a while, simple
<lf94> to me it's just simple evolutionary principle at play
<lf94> no enough excitement / mental stimulus to those involved -> dead
<lf94> "nobody going to help" is just another word for "not interesting enough" or "not useful enough"
<teepee> nope, not the same at all
<lf94> why would no one help?
<lf94> "no time"
<lf94> why not enough time?
<lf94> "because busy with other things"
<lf94> why are they busy with other things?
<lf94> "because they are more important"
<lf94> why are they more important?
<lf94> "because they have more impact on their lives"
<lf94> hence: no one is helping because the feature / PR is not useful enough.
<quiliro> J23k5: that sound right....how can it be intergrated into https://bpa.st/EZBA ?
<quiliro> looks right*
<quiliro> not sounds!
<J23k5> quite some options https://i.imgur.com/NjqbXs8.png
<quiliro> what is the code change?
<J23k5> just replace the for loop with this for loop
<J23k5> quiliro it is an octagon shape https://bpa.st/DN7Q
<quiliro> how can I integrate it with https://bpa.st/EZBA
<quiliro> the last two both make the same roof
<quiliro> they are both good for me
<J23k5> different angles are used
<quiliro> yes
<J23k5> if you want a difference with the square circle loft .. just  put a difference around the union and the  hull() from the loft as first object
<quiliro> oh deg changes!
mmu_man has quit [Ping timeout: 240 seconds]
<quiliro> now I see that the circle is inscribed in the square
<quiliro> on the square - circular cylinder
<quiliro> the circle should have the same perimeter as the square
<quiliro> I see now that it can be made
<quiliro> thank you very much for your help
<quiliro> it has been very useful to learn
<quiliro> J23k5: I don't understand your last statement...please clarify
<quiliro> which union?
<quiliro> I have a hull and a for
<quiliro> should I replace the hull with the hull on your last paste?
<J23k5> here https://bpa.st/FGLQ
<lf94> J23k5: are you retired?
<J23k5> i put the parts in modules so you see what is what   quiliro
<linext__> i saw something called Cosmopolitan on hackernews.com, why is it important? https://github.com/jart/cosmopolitan
<J23k5> lf94  no just tired .. and bored
<lf94> x)
<lf94> linext__: it's more useful than important: it allows for easy cross platform binaries
<lf94> rather, it allows 1 binary to act as N binaries :p
<lf94> The same binary will work on Windows, Linux, Mac
<linext__> huh
<linext__> so it's an .exe file that will also run on linux?
<lf94> yes
<linext__> only modern OSes though, right?
<linext__> not like windows 95
<linext__> hmmm... it says MSDOS as well
<lf94> so, awhile ago, it used to be a fun hacker thing to try and stitch together many file formats
<lf94> for example, a zip file that's a pdf that's a word document
<linext__> yea, i remember that
<lf94> this person decided to make that ... activity, something useful
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
<linext__> so yes, it appears to only work for somewhat modern OSes
<quiliro> looks better than the difference I was constructing, J23k5
<quiliro> But it is weird.... The walls should be inclined.
<quiliro> because the circle on the top should be the same perimeter as the square on the bottom
<quiliro> I do not understand what "$fa=1;$fs=.5;" is for
<quiliro> on https://bpa.st/FGLQ
<J23k5> these are just for the roundness of the circle
<quiliro> how does it do that?
<quiliro> I do not see them used anywhere else in the text
<quiliro> those variable names
<J23k5> $fs defines the fraqment size  and $fa the min angle
<quiliro> is it some data that module uses?
<quiliro> oh!
<quiliro> thanks for the patience
<J23k5> all in the cheatsheet!
<J23k5> 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
erectus has quit [Remote host closed the connection]
<J23k5> quiliro  https://imgur.com/a/Qj8a4kE  as you see  the circle has the size of the square .. the edges have a bigger distance
erectus has joined #openscad
<quiliro> J23k5: If the circle had the same perimeter of the square, its diameter would be longer than the side of the square
misterfish has quit [Ping timeout: 255 seconds]
<quiliro> I understand now the $f variables
<quiliro> thanks for the link
<quiliro> by the perimeter of the square, I mean the sum of the lengths of its sides (4l)
<J23k5> remove the "*sqrt(2)" and they are the same .. with $fn=4  the sides are smaller than the circle
<J23k5> if you want an equal circumference  this can be calculated
<quiliro> I do not want the circle to be inscribed in the square. I do not want to inscribe the square inside the circle either.
<quiliro> p1=p2 ... 4l=Pi*d ... d=4l/PI
<quiliro> p1=p2 ... 4l=Pi*d ... d=4l/Pi
<J23k5> here https://bpa.st/XFBQ
<quiliro> nothing was rendered with that code
<quiliro> why?
<quiliro> oh... I replaced the previous loft module and it worked
<quiliro> if you see it from the bottom, you will notice that only one wall is a circle
<quiliro> is it possible to make it transparent, so I can see the lines inside?
<quiliro> I changed from perspective to ortogonal and it seem different
<quiliro> if I see it from the top, it does not show a circle
<J23k5> if perspective view is used things get smaller with distance.. orthogonal means they stay the same
<J23k5> maybe start learning oSCAD with a tutorial
<J23k5> 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
<quiliro> thanks!
<J23k5> use »color(alpha=.5)« to make an object transparent
<quiliro> nice!
<quiliro> it make the colors dim, not transparent
<quiliro> it is not possible te see through the faces
<quiliro> te - to*
<quiliro> it would be interesting to be able to edit the code in Emacs and render it in openscad to open a buffer in Emacs with the image....nevertless, it would not rotate as in openscad
<quiliro> that is a bummer
<quiliro> what is the difference between rendering and previewing?
<J23k5> rendering calculates geometry, preview is faster but is just 2D simulating 3D  - colors work only in preview
<J23k5> put color("skyblue",alpha=.5)render()  in front so full geometry is calculated and then displayed transparent
ferdna_ has joined #openscad
<J23k5> also you can use an external editor so  openscad is just used for preview/rendering
<quiliro> qeed_: what is the render()_ command you put the for?
arebil has quit [Quit: arebil]
<quiliro> I see your image but cannot make it myself
<JordanBrown> Transparency only sort of works, and depends on what order you add the objects.
<quiliro> it is still not transparent with color("skyblue", alpha=.5)
<quiliro> is render()_ needed?
<JordanBrown> render() will defeat colors of things you call it on.
<JordanBrown> To make transparency work, the transparent object has to be later in the file than the object behind it.
<J23k5> which is why you first use render() to get full geometry .. then use the color
<JordanBrown> https://bpa.st/RB6Q demonstrates how order matters.
<J23k5> JordanBrown  if you check the image you notice this is a transparent object .. not seeing another object through one
<JordanBrown> I don't understand the distinction that you are making.
<J23k5> if your object is generated by a difference/hull/intersection ...  you need render() to make it transparent else you will only get the surface
<J23k5> compare color("skyblue",alpha=.5)render()difference(){cylinder(5,d=50);cube(10);}   with a version without the render()
<JordanBrown> Given the black magic that goes into difference and intersection, I wouldn't be surprised at all to find that transparency doesn't work well with them.
<JordanBrown> But even for simple shapes you have to get the order right.
<JordanBrown> https://imgur.com/a/P10qdl5 is the result of running that little program I gave.
<J23k5> there is only ONE object .. so no order applies
<JordanBrown> OK.
<J23k5> but you are right that for multiple objects the drawing sequence is relevant  and there are even more issues if transparent objects are behind transparent objects
<J23k5> i think there is a bug if transparencies are overlay they can become more transparent
<J23k5> and  ctrl+shift+c  will copy a different transparent image
<JordanBrown> Yeah, I was just going to mention that for some reason Edit/Copy viewport image gave an incorrect result.
<JordanBrown> And for some reason imgur doesn't want to accept a paste.
<J23k5> compare these https://imgur.com/a/cJF2Tvh
<J23k5> hm imgur accepted them just fine
<JordanBrown> Maybe it isn't getting along with Firefox.
<quiliro> your example works JordanBrown
<quiliro> but transparency will not work on the images we made
<InPhase> JordanBrown: Transparency chaos: difference() { cube(10); translate([5, -5, 5]) color("#ffffff10") cube(10); } translate([3,3,3]) cube(6);
<J23k5> kind a strange how dependent we are from browsers and how different results they can display  -  i mean i can even display different images for different browser
<quiliro> perhaps the transparency should be some other place
<quiliro> tries top and bottom...they do not work
<quiliro> tried*
<JordanBrown> InPhase yeah, but you applied transparency to the negative object. You deserve what you get.
<JordanBrown> quiliro can you supply a paste of what you're playing with?
<J23k5> something that even render() can't fix ..  mixed color objects
fling has quit [Remote host closed the connection]
fling has joined #openscad
juri__ has joined #openscad
juri_ has quit [Ping timeout: 255 seconds]
juri__ has quit [Read error: Connection reset by peer]
<gbruno> [github] njsokalski opened issue #4801 (Use a Fixed Width Font in Console) https://github.com/openscad/openscad/issues/4801
juri_ has joined #openscad
<quiliro> JordanBrown: bpa.st
<quiliro> sorry
<quiliro> do you get this: https://i.imgur.com/5qfwOV6.png
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
<quiliro> I get this error:
<quiliro> WARNING: Normalized tree is growing past 200000 elements. Aborting normalization.
<quiliro> WARNING: CSG normalization resulted in an empty tree
<quiliro> with this code:
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
<J23k5> quiliro  you can't put  a ; after the color as it will terminate - but you want the color to affect the object after ..  also use render() after the color
<gbruno> [github] thehans closed issue #4801 (Use a Fixed Width Font in Console) https://github.com/openscad/openscad/issues/4801
<J23k5> quiliro your  4c0g post is missing a } at the end  and also  will result in a difference of the two roofs but one is higher as the other so it just takes a bit from the top ..   if you have too many elements put a render() in front of the loop so the geometry is calculated there
mmu_man has joined #openscad
cart_ has quit [Ping timeout: 255 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 256 seconds]
teepee_ is now known as teepee
fling has quit [Remote host closed the connection]
fling has joined #openscad
<quiliro> where should color go to get transparency?
<J23k5> position is fine .. just loose the ";"
<gbruno> [github] mindlessroman opened issue #4802 (OpenSCAD Intermittently Crashing When Making Some Simple Shapes (Mac 14.1)) https://github.com/openscad/openscad/issues/4802
mmu_man has quit [Read error: Connection reset by peer]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
L29Ah has joined #openscad
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 240 seconds]
mmu_man has joined #openscad
<peepsalot> is there a way we can have a github bot account auto reply to new issues mentioning 2021.01, with a message to try a development snapshot?
<teepee> possible yes, but getting the parsing to work right, I'm not so sure
<teepee> maybe adding something to the issue template helps?
mmu_man has quit [Ping timeout: 240 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
GNUmoon has joined #openscad
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
mmu_man has joined #openscad
SamantazFox has quit [Quit: Bye]
aiyion has quit [Remote host closed the connection]
SamantazFox has joined #openscad
aiyion has joined #openscad
mmu_man has quit [Ping timeout: 240 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
<peepsalot> yeah, could help to mention there
<teepee> I think Gina had some bot for octoprint looking at posted issues...
lastrodamo has quit [Quit: Leaving]
<teepee> archived, now using github actions - https://github.com/foosel/GitIssueBot
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
<gbruno> [github] t-paul pushed 1 modifications (Bump manifold to latest version (v2.1.0-111-g5930b5c).) https://github.com/openscad/openscad/commit/27cd71ba0c9a0a361ef6e57dfacc2685e1045443
<gbruno> [github] t-paul synchronize pull request #4728 (Bump manifold to latest version (v2.1.0-107-g6218356).) https://github.com/openscad/openscad/pull/4728
mmu_man has quit [Ping timeout: 272 seconds]
mmu_man has joined #openscad
fardog has quit [Read error: Connection reset by peer]
quiliro has quit [Ping timeout: 264 seconds]