01:15
anoblet has joined #openscad
01:51
mmu_man has quit [Ping timeout: 248 seconds]
01:52
J25k45 has joined #openscad
01:56
J25k4 has quit [Ping timeout: 240 seconds]
02:00
mmu_man has joined #openscad
03:19
mmu_man has quit [Ping timeout: 265 seconds]
03:33
ccox_ has joined #openscad
03:37
ccox has quit [Ping timeout: 252 seconds]
03:39
howiemnt has quit [Ping timeout: 276 seconds]
04:03
ccox has joined #openscad
04:06
ccox_ has quit [Ping timeout: 244 seconds]
04:27
howiemnt has joined #openscad
04:36
stealth_ has quit [Quit: Leaving]
04:50
fling has quit [Ping timeout: 264 seconds]
05:00
fling has joined #openscad
05:18
fling has quit [Ping timeout: 264 seconds]
05:20
fling has joined #openscad
05:27
califax has quit [Remote host closed the connection]
05:27
califax has joined #openscad
06:16
_whitelogger has joined #openscad
06:27
_whitelogger has joined #openscad
06:32
Guest28 has joined #openscad
06:38
Guest28 has quit [Quit: Client closed]
06:56
_whitelogger has joined #openscad
07:21
fling_ has joined #openscad
07:21
fling has quit [Ping timeout: 264 seconds]
07:23
guso78k has joined #openscad
07:26
guso78k has quit [Client Quit]
07:27
fling_ is now known as fling
08:02
guerd has joined #openscad
09:56
anoblet has quit [Quit: Client closed]
10:25
guerd has quit [Read error: Connection reset by peer]
10:45
L29Ah has left #openscad [#openscad]
10:45
L29Ah has joined #openscad
10:48
Guest32 has joined #openscad
10:50
Guest32 has quit [Client Quit]
10:54
aiyion has quit [Remote host closed the connection]
10:54
aiyion has joined #openscad
11:19
mmu_man has joined #openscad
11:24
J25k45 has quit [Quit: Client closed]
11:25
J25k45 has joined #openscad
11:30
L29Ah has left #openscad [#openscad]
11:31
L29Ah has joined #openscad
11:36
snaked has quit [Remote host closed the connection]
12:19
L29Ah has left #openscad [#openscad]
13:13
L29Ah has joined #openscad
14:16
J25k45 has quit [Quit: Client closed]
14:17
J25k45 has joined #openscad
15:15
califax has quit [Remote host closed the connection]
15:15
califax has joined #openscad
16:13
L29Ah has quit [Ping timeout: 245 seconds]
16:21
<
bozo16 >
I was using cgal as default backend
16:23
howiemnt has quit [Remote host closed the connection]
16:23
howiemnt has joined #openscad
16:24
J25k45 has quit [Quit: Client closed]
16:25
J25k45 has joined #openscad
16:39
L29Ah has joined #openscad
16:57
<
JordanBrown >
bozo16 probably better to use Manifold.
17:39
qpla has joined #openscad
17:52
J25k45 has quit [Quit: Client closed]
17:52
J25k45 has joined #openscad
18:01
kintel has joined #openscad
18:22
J25k45 has quit [Quit: Client closed]
18:22
J25k45 has joined #openscad
18:46
mmu_man has quit [Ping timeout: 272 seconds]
18:53
mmu_man has joined #openscad
18:58
aiyion1 has joined #openscad
19:01
aiyion has quit [Ping timeout: 264 seconds]
19:15
bozo16 has quit [Quit: Leaving]
19:28
J25k45 has quit [Quit: Client closed]
19:28
J25k45 has joined #openscad
19:35
raydenuni has joined #openscad
19:35
<
raydenuni >
Hello. I'm trying to use BOSL2 and dotSCAD in the same file, but I'm getting some errors that I'm not having success interpreting.
19:35
<
raydenuni >
WARNING: undefined operation (vector + number) in file , line 220
19:35
<
raydenuni >
ERROR: Assertion 'is_int(n)' failed in file , line 137
19:35
<
raydenuni >
TRACE: called by 'lerpn' in file , line 220
19:35
<
raydenuni >
TRACE: called by 'bezier_curve' in file Test_Spline.scad, line 156
19:35
<
raydenuni >
TRACE: called by 'sf_splines' in file Test_Spline.scad, line 158
19:35
<
raydenuni >
TRACE: called by 'sf_thicken' in file Test_Spline.scad, line 158
19:36
<
raydenuni >
include <BOSL2/std.scad>
19:36
<
raydenuni >
include <BOSL2/screws.scad>
19:36
<
raydenuni >
include <BOSL2/rounding.scad>
19:36
<
raydenuni >
use <dotSCAD/src/bezier_curve.scad>
19:36
<
raydenuni >
use <dotSCAD/src/surface/sf_splines.scad>
19:36
<
raydenuni >
use <dotSCAD/src/surface/sf_thicken.scad>
19:36
<
raydenuni >
If I don't call `sf_thicken`, it doesn't seem to happen.
19:36
<
raydenuni >
sf_thicken(sf_splines(ctrl_pts, bezier), thickness);
19:39
<
raydenuni >
for full source
19:41
<
raydenuni >
oh, is this trace a callstack? good grief
19:42
<
raydenuni >
there we go, two implementations of bezier_curve()
19:44
<
raydenuni >
What are my options for namespacing? I didn't find anything in the docs.
19:50
<
InPhase >
raydenuni: Does it not show the files, and actually shows "file ,"?
19:52
<
InPhase >
raydenuni: It would sure be easier to understand the issue if we knew exactly which one is tripping up.
19:53
<
raydenuni >
that is copy/pasted
19:53
<
raydenuni >
it doesn't say the file
19:53
<
InPhase >
That's an unfortunate bug in reporting the errors.
19:53
<
InPhase >
I don't think I've seen that before.
19:54
<
raydenuni >
but it seems that there's a collision between dotSCAD/src/bezier_curve.scad and BOSL2/beziers.scad.
19:54
<
raydenuni >
function bezier_curve(t_step, points) = _bezier_curve_impl(t_step, points);
19:54
<
raydenuni >
function bezier_curve(bezier,splinesteps=16,endpoint=true) =
19:54
<
raydenuni >
bezier_points(bezier, lerpn(0,1,splinesteps+1,endpoint));
19:54
<
raydenuni >
let me find that error again
19:54
<
InPhase >
Yeah. I see the is_int in BOSL2's tests/test_utility.scad line 137
19:55
<
raydenuni >
although I'm guessing the error handling that prints the file would be somewhere standard
19:56
<
InPhase >
raydenuni: Is this code just for your use, or do you plan on distributing it?
19:56
<
raydenuni >
just for me
19:57
<
InPhase >
raydenuni: What I recommend is opening dotSCAD/src/bezier_curve.scad and editing the module bezier_curve to be ds_bezier_curve. dotSCAD will not be getting any more updates, as unfortunately the maintainer of that impressive work has died. So there will not be anything coming out to clash with your edit.
19:58
<
raydenuni >
ah, I saw that post on github. :(
19:58
<
raydenuni >
I believe the assert is coming from BOSL2/math.scad#137
19:58
<
raydenuni >
function lerpn
19:59
<
InPhase >
Namespacing is clearly needed on the agenda going forward. The quantity of impressive libraries has been increasing, and the capability to use more of them is increasing with all these performance boosts.
19:59
<
raydenuni >
I saw there's a post in 2013 discussing namespacing. :P Holding my breath.
20:00
<
InPhase >
Well there has been discussion of object literals, and progress on this as well. A namespace and an object are not very different in notion.
20:01
<
InPhase >
If you put everything for a set of includes or uses into an object, then that's a namespace.
20:01
<
raydenuni >
oh wow, renaming it worked. I expected there to be approximately 800 internal references I would have to clean up
20:01
<
InPhase >
As long as they can find each other.
20:02
<
InPhase >
Well, there are internal references to clean up, but only if you call those.
20:02
<
InPhase >
I'll get you the full set.
20:05
<
raydenuni >
thank you
20:07
<
raydenuni >
now to figure out how I want to define all these splines. wheee
20:46
kintel has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:49
raydenuni has quit [Quit: Client closed]
20:49
snaked has joined #openscad
20:50
<
teepee >
ok, shall we check if the GSoC selections are publushed?
22:04
RoyK has quit [Ping timeout: 252 seconds]
22:04
RoyK has joined #openscad
22:09
teepee_ has joined #openscad
22:11
<
InPhase >
Ooo, offset.
22:13
teepee has quit [Ping timeout: 264 seconds]
22:13
teepee_ is now known as teepee