<InPhase>
Same shape I was making, just a different way.
<ferdna_>
ohhh cool
<ferdna_>
is that the one in the sample docs?
J23k70 has quit [Quit: Client closed]
J23k70 has joined #openscad
Guest59 has quit [Quit: Client closed]
cart_ has joined #openscad
<ferdna_>
InPhase, ^
<InPhase>
No, I just made it as an example to address your question.
L29Ah has joined #openscad
<peeps[work]>
for a while it wasn't clear to me when intersection was useful, but now i mostly think of it as a way to define the bounds of a shape
<peeps[work]>
to limit the bounds
<peeps[work]>
so that example is a clear usage for intersection
<InPhase>
Yeah, that seems to be how 90%+ of my usage of intersection looks.
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon2 has joined #openscad
<ferdna_>
how do you make variables?
<ferdna_>
cube([1,1,1],center=true);
<ferdna_>
how do you get position of that cube?
<ferdna_>
cubex = cube([1,1,1],center=true);
<ferdna_>
cubey = cube([1,1,1],center=true);
<ferdna_>
?
<ferdna_>
ohhh... thinking about it i can replace the 1,1,1 with variables that way i know the size of the cube... duhh
<ferdna_>
i am learning as i go. thank you.
mmu_man has joined #openscad
<J23k70>
InPhase - you mixing 3D and 2D ?
<InPhase>
Don't think so...
<InPhase>
ferdna_: Oh. I just figured out from scrolling up that I gave you the wrong bpa.st link. When you said "it came out empty" you meant the pastebin page, and not the preview. Right after you said that I re-tested what I had pasted on the master branch, and part of that version of what I made disappeared from the preview, so I thought that's what you were referring to as "empty".
mmu_man has quit [Ping timeout: 260 seconds]
<InPhase>
ferdna_: Now I understand your "what are you talking about??" We were living in two different mental worlds, one in which I had shared code with you that had a problem that was being discussed, and one in which you received a blank link that was being discussed. ;)
<J23k70>
4HMQ is an intersection of a cube with a polygon .. can't render this
<InPhase>
J23k70: Oh, that was supposed to be "square".
<InPhase>
J23k70: I was only doing preview tests, and it worked fine.
<ferdna_>
correct
<ferdna_>
thats what i meant
<InPhase>
J23k70: I as a matter of routine typo "square" as "cube" when trying to do 2D stuff. Like, a lot... I just catch most of them before sharing.
<J23k70>
always living in a 3D world (as preview does)
<J23k70>
But a quite elegant solution .. i was thinking of calculation the angle and length to put the square in correctly - Ü
Guest59 has joined #openscad
<J23k70>
But the example had different length 20 and 24
cart_ has quit [Ping timeout: 246 seconds]
<lf94>
multiverse is real
* lf94
has left the channel.
GNUmoon2 has quit [Remote host closed the connection]
<InPhase>
J23k70: I didn't even see the code beneath that original image. A notch more complicated to do asymmetric, but it's not too bad. https://bpa.st/C6NA
GNUmoon2 has joined #openscad
<InPhase>
Probably that should have some modern features like variables and such.
<J23k70>
variables (constants) are so futuristic - Ü
<J23k70>
maybe placing two square(2) at the end and a hull() would need less math from user..