00:07.26 |
*** join/#brlcad archivist
(~archivist@host81-149-189-98.in-addr.btopenworld.com) |
02:35.41 |
brlcad |
starseeker: how lossy, anything critical or
just some metainfo? |
03:33.16 |
kanzure |
bleep bloop |
03:33.51 |
kanzure |
brlcad: any recommendations for the order in
which i should proceed for the "simplified" python api around
python-brlcad? |
03:34.12 |
kanzure |
are there 2d primitives/drawing in brlcad
somewhere that i could start with? |
05:46.58 |
*** join/#brlcad kesha
(~kesha@14.139.122.114) |
10:09.12 |
*** join/#brlcad merzo
(~merzo@user-94-45-58-138-1.skif.com.ua) |
11:52.52 |
*** join/#brlcad d_rossberg
(~rossberg@66-118-151-70.static.sagonet.net) |
12:24.17 |
*** join/#brlcad merzo
(~merzo@user-94-45-58-138-1.skif.com.ua) |
12:43.50 |
Notify |
03BRL-CAD:d_rossberg * 58352
brlcad/trunk/misc/win32-msvc/Dll/brlcad.rc: ups, forgot to change
this file in r56789 too (replaced logo) |
12:53.16 |
Notify |
03BRL-CAD:d_rossberg * 58353
brlcad/branches/RELEASE/misc/win32-msvc/Dll/brlcad.rc: merged
commit r58352: ups, forgot to change this file in r56789 too
(replaced logo) |
13:11.20 |
starseeker |
brlcad: quite lossy - even the title didn't
make it |
13:12.52 |
Notify |
03BRL-CAD:tbrowder2 * 58354
brlcad/trunk/doc/docbook/specifications/en/BRL_CAD_g_format_V5.xml:
remove old proposed binary attribute description and tables; add
new proposed binary attribute description; correct function names
for reading writing db objects; a bit more clean up |
13:34.48 |
Notify |
03BRL-CAD:carlmoore * 58355
brlcad/trunk/src/libtclcad/tclcad_obj.c: remove trailing
tab |
13:43.48 |
Notify |
03BRL-CAD:starseeker * 58356
brlcad/trunk/NEWS: Commit r58254 fixes an X11 display manager issue
where wireframe drawing wasn't working correctly with z-clipping
enabled. |
13:55.52 |
Notify |
03BRL-CAD:starseeker * 58357
(brlcad/branches/RELEASE/NEWS
brlcad/branches/RELEASE/src/mged/dm-X.c
brlcad/branches/RELEASE/src/mged/dm-tk.c): Merge X display manager
z-clipping fix r58254 into RELEASE |
14:31.17 |
brlcad |
kanzure: we wrap all 2D into a single 'sketch'
entity (which supports points, lines, arcs/circles, and bspline
curves) |
14:32.07 |
brlcad |
kanzure: that actually wouldn't be a bad place
to start and would be a unique capability by itself (our 2D editing
support sucks) |
14:33.49 |
brlcad |
then you could move to 3D implicit entities
next (ellipsoids, torii, paraboloids, ..), then the explicit
entities last (meshes, nurbs, volumetric data, point clouds,
..) |
14:35.04 |
brlcad |
starseeker: you got me curious |
14:35.14 |
brlcad |
``Erik: lunch still on or no go? |
15:16.43 |
Notify |
03BRL-CAD:starseeker * 58358
brlcad/trunk/src/libbn/obr.c: More introspection and tweaking of
obr - looking at replay's implementation at
http://code.google.com/p/replay/source/browse/trunk/include/replay/bounding_rectangle.hpp
to get more insight on what's supposed to be happening. |
15:48.39 |
kanzure |
brlcad: where are those 2d primitives and
manipulations located? which module? |
15:48.58 |
kanzure |
also are there constraint solving things in
brlcad? |
15:52.08 |
kanzure |
yeah, ctypesgen is definitely having a problem
with the mingw headers in python-brlcad on windows: https://www.dropbox.com/s/dpy3t0xwwx3gxlv/librt.py |
15:52.15 |
kanzure |
"__time64_t = long long #
c:\\opt\\mingw\\include\\sys\\types.h: 49" is invalid
syntax |
15:53.17 |
kanzure |
this is re: https://github.com/kanzure/python-brlcad/issues/4 |
16:11.07 |
brlcad |
kanzure: the 2d and 3d entities are in
rtgeom.h |
16:12.20 |
brlcad |
rt_curve, line_seg, carc_seg, nurb_seg (mostly
unused), bezier_seg, and rt_sketch_internal |
16:13.04 |
kanzure |
ah |
16:13.24 |
kanzure |
brlcad: is there an svg consuming component at
the moment? i'd rather just import svg files, or draw using python
svg things, and then dump in the data. |
16:13.30 |
Notify |
03BRL-CAD:n_reed * 58359
brlcad/trunk/src/other/CMakeLists.txt: Hastily stuff dom2dox, an
immature tool for rewriting c++ sources with Doc-O-Matic comments
to use Doxygen comments, into the tree. The idea is to use it on
openNURBS sources. Needs to be integrated, documented, completely
rewritten... |
16:13.49 |
kanzure |
actually, i'm sure there's dxf support, so i
could just draw dxf.. but yuck. |
16:13.50 |
brlcad |
basically a "sketch" is defined as a set of
curves, curves are piecewise composed of lines, arcs,
curves |
16:14.15 |
brlcad |
there is no svg component, that's been on a
wish list for a while |
16:14.28 |
kanzure |
and constraint solving? |
16:14.39 |
brlcad |
that's under current development |
16:14.49 |
brlcad |
so nothing you can use just yet |
16:14.58 |
kanzure |
alright |
16:16.14 |
brlcad |
and yeah, our dxf-g importer will bring in 2D
dxf entities as a sketch |
16:16.41 |
kanzure |
i should just do it using line_seg
though |
16:16.41 |
kanzure |
or rt_curve |
16:17.00 |
brlcad |
what do you mean? |
16:17.19 |
kanzure |
well, i was going to use dxf or svg as a cheat
to avoid having to implement 2d anything :) |
16:17.25 |
kanzure |
because there are many python svg
libraries |
16:17.29 |
brlcad |
sure |
16:17.33 |
kanzure |
and lots of svg/dxf stuff |
16:17.36 |
kanzure |
but it will lose out on brlcad
idioms |
16:17.45 |
brlcad |
read in the svg, translate to our data
container |
16:18.07 |
brlcad |
http://brlcad.org/wiki/Sketch |
16:19.47 |
brlcad |
basically that page describes how to manually
create and introspect a sketch object on the mged command
line |
16:20.15 |
brlcad |
you can see how painful it is, but you can
also hopefully see how it directly translates to those struct
containers |
16:20.21 |
kanzure |
btw the reason i asked about constraint
solving is that i would ideally like to make the python api layer
in a way that- whenever constraints are working- that i wont need
to refactor |
16:20.40 |
brlcad |
mk_sketch() in libwdb takes an
rt_sketch_internal object, writes it out |
16:20.42 |
kanzure |
so this probably means object-oriented style
geometry construction, with parameters that have signals or call
handlers or something. not sure. s/call/update/ |
16:22.19 |
brlcad |
constraints are a complex issue, most cad
systems treat them as separate entities |
16:22.28 |
kanzure |
hm! |
16:22.43 |
brlcad |
there are some implicit constraints, that
might be more what you're thinking |
16:22.45 |
kanzure |
so you don't "register" constraints on an
object? |
16:23.14 |
brlcad |
like if you're modeling a sketch and two line
curves coincide an endpoint, that they have an implicit constraint
that holds them together |
16:23.34 |
kanzure |
right, and a sphere has an implicit constraint
of something something cubed |
16:23.50 |
kanzure |
uh, radius |
16:24.04 |
brlcad |
or in our case, that the three vectors that
define the orientation of the sphere are equal in
magnitude |
17:12.32 |
Notify |
03BRL-CAD:carlmoore * 58360
(brlcad/trunk/src/lgt/glob.c brlcad/trunk/src/liboptical/sh_light.c
brlcad/trunk/src/proc-db/tube.c): 3 more cases of DEG2RAD being
available |
17:29.53 |
Notify |
03BRL-CAD:carlmoore * 58361
brlcad/trunk/misc/macosx/openUp.c: print Usage on stderr, and due
to use of an 'exit', I eliminated an 'else' |
18:30.03 |
Notify |
03BRL-CAD:starseeker * 58362
brlcad/trunk/src/libbn/obr.c: Calculate and return corner points...
needs lots more testing but the numbers don't seem to be totally
unreasonable. |
18:44.23 |
Notify |
03BRL-CAD:starseeker * 58363
(brlcad/trunk/src/other/dom2dox/dom2dox.c
brlcad/trunk/src/other/dom2dox/dom2dox.h and 2 others): Add
copyright/license headers to dom2dox files |
19:25.54 |
Notify |
03BRL-CAD:carlmoore * 58364
brlcad/trunk/src/shapes/gastank.c: make new local variable
maxnumtnk, so that '26' needs to be entered only once |
19:44.16 |
Notify |
03BRL-CAD:carlmoore * 58365
brlcad/trunk/src/proc-db/ringworld.c: implement my usual h?
options, remove H option, and make sure Usage gets sent to
stderr |
20:01.08 |
*** join/#brlcad _tanmay
(~tanmay@115.248.130.148) |
20:02.11 |
Notify |
03BRL-CAD:carlmoore * 58366
brlcad/trunk/src/adrt/slave/slave.c: implement ? for help; send
Usage to stderr; remove a set of braces |
20:05.20 |
Notify |
03BRL-CAD:carlmoore * 58367
brlcad/trunk/src/libbu/tests/bu_str_isprint.c: simplify some logic,
and send Usage to stderr |
20:09.54 |
Notify |
03BRL-CAD:carlmoore * 58368
(brlcad/trunk/src/adrt/master/master.c
brlcad/trunk/src/conv/conv-vg2g.c and 17 others): send Usage output
to stderr; some other changes (mostly or all of them involve remove
some braces around single statements) |
20:35.55 |
Notify |
03BRL-CAD:carlmoore * 58369
brlcad/trunk/src/proc-db/metaball.c: introduce local define
'countmax' so we don't hardwire 555 more than once; skip
initializing optc because it's set anyway in 'while' loop |
22:58.34 |
*** join/#brlcad mpictor
(~mark@c-67-177-102-131.hsd1.in.comcast.net) |