Page MenuHome

Mesh: Bridge
Closed, ArchivedPublic

Description

Project: Blender Extensions
Tracker: Py Scripts Contrib
Blender: 2.56
Author(s): Bart Crouch
Script name: Mesh: Bevel
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Modeling/Bridge
Category: Mesh
SVN Download: https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/mesh_bridge.py
Status: Closed

This tool is now part of the LoopTools script.
More information: http://projects.blender.org/tracker/?func=detail&aid=26189&group_id=153&atid=469

Event Timeline

moved to contrib
I will move to trunk soon.

Major rewrite is done, it doesn't have to be held in Contrib anymore as far as I'm concerned.

New features in 1.4.0:
- Cubic interpolation with surface tangent preservation
- Multi-input for Bridge
- Improved twist detection
- Automatic segment calculation
- Many bugfixes

Version 1.4.3

- Fixes for change in API (#33029, vector*matrix)
- Removed registration duplication

Hi,

Was using the most recent version of Bridge and while playing with it I noticed that it generated the following error sometimes in console:

Traceback (most recent call last):
File "/home/terry/Blender-2.55-SVN/Binaries/Blender-2.55-SVN33192-I386-LINUX/2.55/scripts/addons/mesh_bridge.py", line 996, in execute
vertex_normals = calculate_virtual_vertex_normals(mesh, lines, loops[i-1:i+1], edge_faces, edgekey_to_edge) # only necessary for cubic interpolation
File "/home/terry/Blender-2.55-SVN/Binaries/Blender-2.55-SVN33192-I386-LINUX/2.55/scripts/addons/mesh_bridge.py", line 577, in calculate_virtual_vertex_normals
connection_vectors = dict([[vertex, vector[0]] for vertex, vector in connection_vectors.items()])
File "/home/terry/Blender-2.55-SVN/Binaries/Blender-2.55-SVN33192-I386-LINUX/2.55/scripts/addons/mesh_bridge.py", line 577, in <listcomp>
connection_vectors = dict([[vertex, vector[0]] for vertex, vector in connection_vectors.items()])
IndexError: list index out of range

I can't get it to happen consistantly but it usually happen when im trying to loft a surface which has doubles.

An example I had where it happened is I had a circle that i spin with alt+r using the dulicate option (so i had a ring of circles (spin 360 degrees that would form a torus if the otter edges were lofted. Though sometimes when i tried to loft the resulting circles I got the error above and the object that was trying to be lofted also switched itself into object mode from edit mode.

If i managed to get a repeatable error il post it to a blend file.


Version 1.4.4
Minor fix in calculating rotation_matrix, which improves twist detection.

Version 1.4.5
Fix for crash when vertices in both loops have identical locations (reported by Terry Wallwork).

hi im always getting errors when i use bridge or loft.

build: r34254
OS: windows7 pro 64bit

error:
Traceback (most recent call last):
File "C:\BLENDE~1\install\BLENDE~1\2.56\scripts\addons\mesh_bridge.py", line 9
94, in execute
lines = calculate_lines(mesh, loops[i-1:i+1], self.mode, self.twist, self.re
verse)
File "C:\BLENDE~1\install\BLENDE~1\2.56\scripts\addons\mesh_bridge.py", line 2
96, in calculate_lines
mat = mathutils.Matrix([0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0])
TypeError: mathutils.Matrix(): expects no args or 2-4 numeric sequences

location:<unknown location>:-1

location:<unknown location>:-1


http://www.pasteall.org/pic/show.php?id=7981

fix for that.
http://www.pasteall.org/18223/diff

patch rev.2.
this is more strict.
http://www.pasteall.org/18230/diff

Version 1.4.6

Updated for api change in Matrix()
Thanks go to Dan Grauer and Filiciss Muhgue

i tried rev 2 and it works again without any problems so far:D thanks for the quick fix

fix for commit 34647.
http://www.pasteall.org/18971/diff

I got a bug
while I treing to loft some edges

File "e:\graphic prog\......\mesh_bridge.py" line 329, in calculate_lines
vec2 + (vec*mat)/(vec*mat).length
ZeroDivisionError: Vector divsion: divide by zero error

ve 1.4.6

rafek yosuef:
Could you check if it also occurs with the latest version of the script (1.4.7)?
If so, it would be great if you could post a .blend that gives this error. (you can also privately e-mail it to me, if you don't want to share it publicly)

Hi,
This script is currently broken.

More importantly it has been merged with the Loop Tools Addon script & is in Blender Extensions Release & SVN..

Congrats to Crouch & thenks for the hard work :)

Hi!
Since your script is now in bf-extensions\' svn (contrib|trunk) we have deleted the current attachments to avoid that end-users could reach this page and get the wrong version of your script.
Note that your script may have api changes or small maintenence changes applied in SVN.
Please retrieve your script from SVN before updating SVN to avoid mis-versioned scripts.
Thanks!

script is merged with loop tools, closing tracker page

This task was automatically closed as archived as part of migration, because it was determined to be no longer active.

The authoritative list of addons is on the wiki, we no longer have a report for each addon to track bugs and updates. Bugs can be reported individually and assigned to the addon developers. See the Add-ons project page for more information on the workflow.