Bug: Sweep1 Align untrimmed Surface Edge

sweep1 - Align Surface Edge
gives unexpected / unintuitive result for untrimmed edges.

(left A)
untrimmed edge:
looks like surface normal + iso-parameter-direction define cross/shape orientation (?)
not very useful result

(right B)
trimmed edge:
edge tangent + surface normal (?)
as expected

sweep1_alignSrf_Bug.3dm (3.2 MB)

this is a bug-Report - (EDIT) find a workaround below.

kind regards -tom

1 Like

My guess is not a bug but an intentional choice when the code was written.

Very desirable when “Align with surface” is selected and the rail is an untrimmed edge or an isocurve would be options similar to MatchSrf for Isocurve direction:
image
“Preserve isocruve direction” is not included because it is not applicable to creating a surface using Sweep1.

1 Like

yes.
:+1:

and thanks for pointing to the perpendicular to edge option of matchsrf…
this gives the chance for a nice workaround … (i ll post this later)

Workaround:
(thanks for the hint @davidcockey )

how to get a sweep1 align Surface Edge for untrimmed Edges:

use
_fin to extend the Surface-Edge … the green stripe, “helper”.
match to a 10x higher tangent-accuracy then you need the sweep1 to be:
_matchSrf (tangent, none, by closest Point = yes, refine = yes, Tangent = 0.1 … 0.01 Degree, make perpendicular to target edge)

_sweep1 along the edge of the green surface stripe

(left with green “helper” - right without)

Hi Tom - I see this, thanks - I do not think there should be a difference here - the sweep sections should be aligned to the surface normal and edge in the same way.

-Pascal

Will you please create an issue for adding Isocurve direction adjustment to Sweep1 as shown below? It applies to all frame styles.

@pascal

any update on this - before those small papercuts get lost on the finish of V8
???

Hi Tom - hm… I am not even sure what this would mean in this context. What are we adjusting? What happens when the shape curves are not oriented according to the setting to begin with? I see what the idea is in general, and it may be a fine one but it looks to me like a significant rehashing of Sweep1, not a papercut. I am all for more interactive adjustability in all of these surfcing tools - something like this would take a good deal of thought and testing.

Within the current command I could see how a simple sweep could problably be made when an edge is untrimmed though…

-Pascal