00:01
califax has quit [Remote host closed the connection]
00:06
dalias has quit [Ping timeout: 276 seconds]
00:24
retrosenator has joined #openscad
00:25
<
retrosenator >
how to get opposite of "difference" in a single operation?
00:26
<
peepsalot >
swap the inputs?
00:26
dalias has joined #openscad
00:27
<
retrosenator >
no I mean this: union() { intersect(A, B); difference(B, A); }
00:27
<
retrosenator >
it's technically possible to compute that in single operation
00:28
ur5us has quit [Ping timeout: 272 seconds]
00:32
<
retrosenator >
can openscad "compile" the above automatically into a more efficient underlying operation?
00:32
dalias has quit [Ping timeout: 260 seconds]
00:35
<
retrosenator >
exactly what I was looking for
00:35
<
retrosenator >
maybe it's wrong to say difference is opposite of imply
00:36
<
retrosenator >
imply() { A(); B(); C(); } ?
00:36
<
retrosenator >
can it be implemented?
00:36
<
peepsalot >
i don't know what it would do for more than 2 operands. only ever seen it as a binary operator
00:37
<
retrosenator >
well I have to figure that out
00:37
<
retrosenator >
i'm not quite sure either
00:37
<
retrosenator >
but it needs to be "right"
00:38
<
retrosenator >
another operator missing is opposite of intersect
00:38
<
retrosenator >
i mean exclusive union
00:40
<
retrosenator >
but.. if openscad can somehow automatically "optimize" the code once parsed to use these operators in an underlying way I guess they dont need to be exposed to the user?
00:40
<
peepsalot >
the underlying geometry engines only typically support standard union, difference, and intersection. so you have to convert to composition of those ops at some level
00:40
<
retrosenator >
or at least I could just define exclusive union as a difference of union and intersection
00:42
<
retrosenator >
so by augmenting this library it can be done in a single pass heh
00:43
<
retrosenator >
actually maybe not but, perhaps 2 passes instead of 3?
00:51
J221 has joined #openscad
00:54
J22 has quit [Ping timeout: 252 seconds]
00:55
<
peepsalot >
hmm, actually, implies is not the right thing, that includes the universe outside of A and B in the result.
00:55
<
retrosenator >
i wanted that lol
00:56
<
retrosenator >
is that also impossible?
00:56
<
peepsalot >
the result of: union() { intersection() { A(); B(); } difference() { B(); A(); } } ==> B();
00:56
<
retrosenator >
yeah sorry
00:56
<
retrosenator >
"inverted" objects are useful for subtraction
00:57
<
retrosenator >
ok that is a whole other thing.. would need another operator to invert (make it the universe minus that)
00:59
<
retrosenator >
using 3 and more arguments also more combinations arise
00:59
<
peepsalot >
not sure what you're after anymore
01:02
<
retrosenator >
I want to take an object and cut away a certain depth from the surface everywhere...
01:03
<
peepsalot >
so, offset(r=-x) but i'm guessing you mean in 3D?
01:04
<
retrosenator >
i tried making a "negative" by subtracting from a cube, then minkowski, then subtract the cube from that...
01:05
<
retrosenator >
the minkowski is with a sphere to cut away that depth
01:05
<
retrosenator >
but anyway.. the minkowski operation is very slow
01:08
<
dTal >
I think offset() is supposd to be faster than minkowski
01:18
dalias has joined #openscad
01:18
<
retrosenator >
does it work in 3d?
01:23
dalias has quit [Ping timeout: 260 seconds]
01:30
LordOfBikes has quit [Ping timeout: 246 seconds]
01:35
dalias has joined #openscad
01:40
ur5us has joined #openscad
01:44
LordOfBikes has joined #openscad
01:54
lostapathy has quit [Quit: WeeChat 2.8]
02:10
qeed has joined #openscad
02:11
qeed_ has quit [Ping timeout: 260 seconds]
02:13
dalias has quit [Ping timeout: 260 seconds]
02:28
dalias has joined #openscad
02:31
snakedGT is now known as snaked
02:43
dalias has quit [Ping timeout: 240 seconds]
02:54
dalias has joined #openscad
03:00
dalias has quit [Ping timeout: 240 seconds]
03:15
lostapathy has joined #openscad
03:20
dalias has joined #openscad
03:32
dalias has quit [Ping timeout: 260 seconds]
03:32
dalias has joined #openscad
03:37
dalias has quit [Ping timeout: 240 seconds]
04:06
dalias has joined #openscad
04:26
dalias has quit [Ping timeout: 260 seconds]
04:31
dalias has joined #openscad
04:36
dalias has quit [Ping timeout: 260 seconds]
04:49
Virindi has joined #openscad
04:55
dalias has joined #openscad
05:02
dalias has quit [Ping timeout: 240 seconds]
05:13
dalias has joined #openscad
05:18
ur5us has quit [Ping timeout: 272 seconds]
05:20
ricekot has left #openscad [#openscad]
05:21
dalias has quit [Ping timeout: 240 seconds]
05:41
Junxter has joined #openscad
06:19
dalias has joined #openscad
06:22
retrosenator has quit [Read error: Connection reset by peer]
06:24
dalias has quit [Ping timeout: 240 seconds]
07:09
teepee has quit [Remote host closed the connection]
07:10
teepee has joined #openscad
07:14
dalias has joined #openscad
08:28
dalias has quit [Ping timeout: 260 seconds]
08:48
lastrodamo has joined #openscad
08:52
dalias has joined #openscad
09:22
dalias has quit [Ping timeout: 240 seconds]
09:22
dalias has joined #openscad
09:25
ur5us has joined #openscad
10:34
teepee has quit [Remote host closed the connection]
10:34
teepee has joined #openscad
10:40
ur5us has quit [Ping timeout: 272 seconds]
12:56
retrosenator has joined #openscad
13:13
dalias has quit [Quit: Reconnecting]
13:13
dalias has joined #openscad
13:18
dalias has quit [Client Quit]
13:18
dalias has joined #openscad
13:20
dalias has quit [Client Quit]
13:20
dalias has joined #openscad
13:24
retrosenator has quit [Read error: Connection reset by peer]
14:22
aiyion has quit [Ping timeout: 240 seconds]
14:22
nedko has quit [Ping timeout: 240 seconds]
14:22
fling has quit [Ping timeout: 240 seconds]
14:24
TheAssassin has quit [Ping timeout: 240 seconds]
14:26
GNUmoon2 has quit [Ping timeout: 240 seconds]
14:31
teepee has quit [Remote host closed the connection]
14:46
juri__ has quit [Read error: Connection reset by peer]
14:47
juri_ has joined #openscad
14:52
fling has joined #openscad
14:52
teepee has joined #openscad
14:55
GNUmoon2 has joined #openscad
14:55
nedko has joined #openscad
15:00
aiyion has joined #openscad
15:19
juri_ has quit [Read error: Connection reset by peer]
15:24
juri_ has joined #openscad
15:41
sinned69150 has joined #openscad
15:42
raboof_ has joined #openscad
15:42
xtor has joined #openscad
15:43
mlaga97_ has joined #openscad
15:45
gwillen1 has joined #openscad
15:45
InPhase_ has joined #openscad
15:45
kanzure_ has joined #openscad
15:49
mlaga97 has quit [*.net *.split]
15:49
mikolajw has quit [*.net *.split]
15:49
Cadair has quit [*.net *.split]
15:49
sinned6915 has quit [*.net *.split]
15:49
kanzure has quit [*.net *.split]
15:49
raboof has quit [*.net *.split]
15:49
extor has quit [*.net *.split]
15:49
gwillen has quit [*.net *.split]
15:49
InPhase has quit [*.net *.split]
15:50
sinned69150 is now known as sinned6915
15:50
raboof_ is now known as raboof
15:51
TheAssassin has joined #openscad
15:57
Cadair has joined #openscad
16:06
mikolajw has joined #openscad
16:23
J221 has quit [Quit: Client closed]
16:23
J221 has joined #openscad
17:15
kanzure_ is now known as kanzure
17:23
GNUmoon2 has quit [Ping timeout: 240 seconds]
17:28
GNUmoon2 has joined #openscad
17:36
Junxter has quit [Read error: Connection reset by peer]
17:42
linext__ has joined #openscad
17:45
linext_ has quit [Ping timeout: 240 seconds]
17:45
mlaga97 has joined #openscad
18:07
j1mu5 has joined #openscad
18:32
peeps[zen] has joined #openscad
18:33
peepsalot has quit [Ping timeout: 248 seconds]
19:19
InPhase_ is now known as InPhase
19:22
teepee has quit [Remote host closed the connection]
19:24
teepee has joined #openscad
19:32
dalias has quit [Ping timeout: 276 seconds]
19:36
dalias has joined #openscad
20:27
dalias has quit [Ping timeout: 260 seconds]
20:40
dalias has joined #openscad
20:45
j1mu5 has quit [Quit: Client closed]
21:06
ur5us has joined #openscad
22:05
lastrodamo has quit [Quit: Leaving]
22:25
ur5us has quit [Quit: Leaving]
22:27
ur5us has joined #openscad