6b1158c146
mistake in last commit
2007-11-09 16:05:04 +00:00
d1dbf41f6c
PyTuple_Pack dosnt work with python 2.3 - removed
2007-11-09 15:56:41 +00:00
2ad21e2286
==Python API==
...
Blender.Geometry.ClosestPointOnLine(pt, vec1, vec2) -> (pt, lambda)
This wraps lambda_cp_line_ex
Needed for experemental tree generator
2007-11-06 18:53:46 +00:00
39a526a963
Python PyMethodDef supports single argument methods (METH_O) but was using METH_VARARGS everywhere and getting the single args from the tuple.
...
Use METH_O where applicable.
2007-06-16 12:24:41 +00:00
a2000b53cd
Adding Blender.Geometry function PointInTriangle2D
2007-04-27 20:48:23 +00:00
ca94d97049
moved the boxpacker from PyAPI's Geometry to BLI_boxpack2d
...
made LSCM UV Unwrapper use boxpack2d
2007-03-21 17:06:02 +00:00
83a9a84498
BoxPack2D example in epydocs, small cleanup on Geometry.c
2007-03-20 12:07:02 +00:00
a51477093b
Geometry.c - rewrote my python box-packer algo in C,
...
packing 2400 rectanges is about 38x faster.
Use the C implimentation in uvcalc_lightmap and uvcalc_smart_project
Blender.c - filename returning None raises errors with existing scripts, just return "" so string functions on the filename dont raise an error.
2007-03-20 07:23:09 +00:00
585edac6d2
various warnings fixes - mostly casting and initialization issues
2007-03-01 21:30:48 +00:00
Stephen Swaney
e3b72755cc
clean up some warnings. no executable changes.
2006-12-01 17:53:04 +00:00
29daa64095
removed unusued vars from Geometry.c
...
uv_archimap still had python based line intersect
added plane2matrix function to BPyMathutils
added an optional arg to imageFromObjectsOrtho - camera_matrix
camera_matrix can be used to define a plane in 3d space where X and Y scale is used to set the width and height of the area to render.
2006-10-08 10:51:38 +00:00
30d207e650
Added python func Blender.Geometry.LineIntersect2D(v1,v2,v3,v4)
...
updated archimap and cookie cutter to use it, removed python version from BPyMathutils
archimap island merging is noticibly faster
2006-10-07 04:56:36 +00:00
da83509dca
fixed an error in DECREF'ing a variable that could have been null, also gave more helpfull error messages, thanks Theeth
2006-07-03 05:27:29 +00:00
aaf05a1d20
Made geometrys polyfill work with all iterators (not just lists) and updated bpymeshes ngon to ignore polylines with <3 verts.
2006-07-02 23:09:37 +00:00
df9c9e6caa
=== warnings cleanup ===
...
- removed obvious typo after #include
- put back include for using EXPP_check_sequence_consistency and EXPP_ReturnPyObjError
2006-07-02 18:59:40 +00:00
156f2030fd
Adding new geometry module, at the moment it only contains polyfill.. more commits to come, moving from mathutils.
2006-07-02 15:25:37 +00:00