trimmed-surface edges no uv-curve?
Created by: reiniervandijk
A trimmed-surface has edges, however they miss a uv-curve representation. Weird, because the on-surface argument should obviously be the basis-surface provided.
Imported comments:
By genworks on 2013-02-08 18:07:41 UTC
Try the face of the brep of the trimmed-surface. I'm not totally sure about this, not at computer at the moment, will look at it as soon as possible.
On Feb 8, 2013, at 11:01 AM, reiniervandijk notifications@github.com wrote:
A trimmed-surface has edges, however they miss a uv-curve representation. Weird, because the on-surface argument should obviously be the basis-surface provided.
— Reply to this email directly or view it on GitHub..
By reiniervandijk on 2013-02-08 18:21:00 UTC
nope, also hasn't. Replicate with surf::test-trimmed-surface-3.
By genworks on 2013-02-18 19:55:00 UTC
Edges of a brep (or of a brep face) do have a uv-curve message. Note that that is a function (not a slot) and (as documented) you have to pass in the surface relative to which you want the uv-curve. This is because an edge can be shared by two faces (in a manifold solid) or more than two faces (in a non-manifold brep), so it is ambiguous simply to ask for the uv-curve for an edge.
With that said, we should be able to enhance the uv-curve message for edges of face (as opposed to brep), because for each face, the basis-surface is not ambiguous. This Issue will remain open until this enhancement is complete.
By AliAbedian on 2013-03-14 15:11:25 UTC
I am trying to work with this uv-curve message, but I have some problems in visualizing the curve. I am getting a curve as a result of calling that function but when I try to visualize it on tasty, I get such an error: In # "trimmed-curve" (built-from #), u2 is not greater than u1. Cannot Trim. !!
Note that I am testing on a simple box-solid as follows:
(test-brep :type 'box-solid
:length 30
:width 30
:height 20)
and the way I am calling the function is:
(the test-brep (faces 0) (edges 1) (uv-curve (the test-brep (faces 0) basis-surface)))
or
(the test-brep (edges 1) (uv-curve (the test-brep (faces 0) basis-surface)))
Both of these give the same error! ONLY when visualizing. So I should make a new curve out of that to be able to visualize it.
By genworks on 2015-01-30 22:57:37 UTC
moved to internal tracking list.